From 40fc4918e1c72eb9e4c8d3a3116e3100e0c1d892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= Date: Tue, 2 Aug 2022 09:27:54 +0000 Subject: [PATCH] Fix develop docs preview --- docs/poetry.lock | 70 +++++++++++++++++++++++---------------------- docs/pyproject.toml | 2 +- 2 files changed, 37 insertions(+), 35 deletions(-) diff --git a/docs/poetry.lock b/docs/poetry.lock index 9d33c5ca9..9a9bfe830 100644 --- a/docs/poetry.lock +++ b/docs/poetry.lock @@ -81,9 +81,9 @@ optional = false python-versions = ">=3.4,<4" [package.extras] -develop = ["coverage[toml] (>=5.0a4)", "pytest (>=4.6.11)", "furo (>=2021.8.17b43,<2021.9.0)", "sphinx (>=3.5.0)", "sphinx-notfound-page"] -docs = ["furo (>=2021.8.17b43,<2021.9.0)", "sphinx (>=3.5.0)", "sphinx-notfound-page"] -testing = ["coverage[toml] (>=5.0a4)", "pytest (>=4.6.11)"] +testing = ["pytest (>=4.6.11)", "coverage[toml] (>=5.0a4)"] +docs = ["sphinx-notfound-page", "sphinx (>=3.5.0)", "furo (>=2021.8.17b43,<2021.9.0)"] +develop = ["sphinx-notfound-page", "sphinx (>=3.5.0)", "furo (>=2021.8.17b43,<2021.9.0)", "pytest (>=4.6.11)", "coverage[toml] (>=5.0a4)"] [[package]] name = "docutils" @@ -135,14 +135,14 @@ python-versions = ">=3.7" mdurl = ">=0.1,<1.0" [package.extras] -benchmarking = ["psutil", "pytest", "pytest-benchmark (>=3.2,<4.0)"] -code_style = ["pre-commit (==2.6)"] -compare = ["commonmark (>=0.9.1,<0.10.0)", "markdown (>=3.3.6,<3.4.0)", "mistletoe (>=0.8.1,<0.9.0)", "mistune (>=2.0.2,<2.1.0)", "panflute (>=2.1.3,<2.2.0)"] -linkify = ["linkify-it-py (>=1.0,<2.0)"] -plugins = ["mdit-py-plugins"] +testing = ["pytest-regressions", "pytest-cov", "pytest", "coverage"] +rtd = ["sphinx-book-theme", "sphinx-design", "sphinx-copybutton", "sphinx", "pyyaml", "myst-parser", "attrs"] profiling = ["gprof2dot"] -rtd = ["attrs", "myst-parser", "pyyaml", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinx-book-theme"] -testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"] +plugins = ["mdit-py-plugins"] +linkify = ["linkify-it-py (>=1.0,<2.0)"] +compare = ["panflute (>=2.1.3,<2.2.0)", "mistune (>=2.0.2,<2.1.0)", "mistletoe (>=0.8.1,<0.9.0)", "markdown (>=3.3.6,<3.4.0)", "commonmark (>=0.9.1,<0.10.0)"] +code_style = ["pre-commit (==2.6)"] +benchmarking = ["pytest-benchmark (>=3.2,<4.0)", "pytest", "psutil"] [[package]] name = "markupsafe" @@ -302,6 +302,26 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=3.5.0)", "isort", "mypy (>=0.931)", "docutils-stubs", "types-typed-ast", "types-requests"] test = ["pytest", "pytest-cov", "html5lib", "cython", "typed-ast"] +[[package]] +name = "sphinx-design" +version = "0.2.0" +description = "A sphinx extension for designing beautiful, view size responsive web components." +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +sphinx = ">=4,<6" + +[package.extras] +code_style = ["pre-commit (>=2.12,<3.0)"] +rtd = ["myst-parser (>=0.18.0,<0.19.0)"] +testing = ["myst-parser (>=0.18.0,<0.19.0)", "pytest (>=7.1,<8.0)", "pytest-cov", "pytest-regressions"] +theme_furo = ["furo (>=2022.06.04,<2022.07)"] +theme_pydata = ["pydata-sphinx-theme (>=0.9.0,<0.10.0)"] +theme_rtd = ["sphinx-rtd-theme (>=1.0,<2.0)"] +theme_sbt = ["sphinx-book-theme (>=0.3.0,<0.4.0)"] + [[package]] name = "sphinx-multiversion" version = "0.2.4" @@ -313,24 +333,6 @@ python-versions = "*" [package.dependencies] sphinx = ">=2.1" -[[package]] -name = "sphinx-panels" -version = "0.6.0" -description = "A sphinx extension for creating panels in a grid layout." -category = "main" -optional = false -python-versions = "*" - -[package.dependencies] -docutils = "*" -sphinx = ">=2,<5" - -[package.extras] -code_style = ["pre-commit (>=2.7.0,<2.8.0)"] -live-dev = ["sphinx-autobuild", "web-compile (>=0.2.0,<0.3.0)"] -testing = ["pytest (>=6.0.1,<6.1.0)", "pytest-regressions (>=2.0.1,<2.1.0)"] -themes = ["sphinx-rtd-theme", "pydata-sphinx-theme (>=0.4.0,<0.5.0)", "sphinx-book-theme (>=0.0.36,<0.1.0)", "myst-parser (>=0.12.9,<0.13.0)"] - [[package]] name = "sphinx-rtd-theme" version = "1.0.0" @@ -355,8 +357,8 @@ optional = false python-versions = ">=3.5" [package.extras] -lint = ["flake8", "mypy", "docutils-stubs"] test = ["pytest"] +lint = ["docutils-stubs", "mypy", "flake8"] [[package]] name = "sphinxcontrib-devhelp" @@ -457,7 +459,7 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [metadata] lock-version = "1.1" python-versions = "^3.10" -content-hash = "72d348eb5f14b76b290a157e09cc73ff8ed8c2cec183259271b5ef5a19db5f8c" +content-hash = "57d4d1b88dbc0977b58aa9e31cfaeeb5e85157856e1537782f22fea270fcac05" [metadata.files] alabaster = [ @@ -629,14 +631,14 @@ sphinx = [ {file = "Sphinx-4.4.0-py3-none-any.whl", hash = "sha256:5da895959511473857b6d0200f56865ed62c31e8f82dd338063b84ec022701fe"}, {file = "Sphinx-4.4.0.tar.gz", hash = "sha256:6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0dd35cc"}, ] +sphinx-design = [ + {file = "sphinx_design-0.2.0-py3-none-any.whl", hash = "sha256:5c7117cb4b566bd769dcb4314a64d72257ae89724b4917a8f2ef55459e1d861b"}, + {file = "sphinx_design-0.2.0.tar.gz", hash = "sha256:b148a5258061a46ee826d57ea0729260f29b4e9131d2a681545e0d4f3c0f19ee"}, +] sphinx-multiversion = [ {file = "sphinx-multiversion-0.2.4.tar.gz", hash = "sha256:5cd1ca9ecb5eed63cb8d6ce5e9c438ca13af4fa98e7eb6f376be541dd4990bcb"}, {file = "sphinx_multiversion-0.2.4-py3-none-any.whl", hash = "sha256:dec29f2a5890ad68157a790112edc0eb63140e70f9df0a363743c6258fbeb478"}, ] -sphinx-panels = [ - {file = "sphinx-panels-0.6.0.tar.gz", hash = "sha256:d36dcd26358117e11888f7143db4ac2301ebe90873ac00627bf1fe526bf0f058"}, - {file = "sphinx_panels-0.6.0-py3-none-any.whl", hash = "sha256:bd64afaf85c07f8096d21c8247fc6fd757e339d1be97832c8832d6ae5ed2e61d"}, -] sphinx-rtd-theme = [ {file = "sphinx_rtd_theme-1.0.0-py2.py3-none-any.whl", hash = "sha256:4d35a56f4508cfee4c4fb604373ede6feae2a306731d533f409ef5c3496fdbd8"}, {file = "sphinx_rtd_theme-1.0.0.tar.gz", hash = "sha256:eec6d497e4c2195fa0e8b2016b337532b8a699a68bcb22a512870e16925c6a5c"}, diff --git a/docs/pyproject.toml b/docs/pyproject.toml index 83d76a861..51e9e68fb 100644 --- a/docs/pyproject.toml +++ b/docs/pyproject.toml @@ -12,8 +12,8 @@ sphinx-rtd-theme = "1.0.0" django-environ = "0.8.1" Django = "==4.0.6" myst-parser = "==0.17.2" -sphinx-panels = "0.6.0" sphinx-multiversion = "0.2.4" +sphinx_design = "0.2.0" [tool.poetry.dev-dependencies]