From 47ccef144930ae9be0fada28a799fa22eb79bde0 Mon Sep 17 00:00:00 2001 From: Asko Soukka Date: Sun, 18 Aug 2024 20:56:29 +0300 Subject: [PATCH] docs: Add code examples for using tab libraries --- Makefile | 10 +- docs/conf.py | 6 +- docs/usage.rst | 155 +++++++++++++++++++++++++- nix/poetry-python310-docutils016.lock | 20 +++- nix/poetry-python310-docutils016.toml | 1 + nix/poetry-python310-docutils017.lock | 20 +++- nix/poetry-python310-docutils017.toml | 1 + nix/poetry-python310-docutils018.lock | 20 +++- nix/poetry-python310-docutils018.toml | 1 + nix/poetry-python310-docutils019.lock | 20 +++- nix/poetry-python310-docutils019.toml | 1 + nix/poetry-python310-docutils020.lock | 20 +++- nix/poetry-python310-docutils020.toml | 1 + nix/poetry-python311-docutils016.lock | 20 +++- nix/poetry-python311-docutils016.toml | 1 + nix/poetry-python311-docutils017.lock | 20 +++- nix/poetry-python311-docutils017.toml | 1 + nix/poetry-python311-docutils018.lock | 20 +++- nix/poetry-python311-docutils018.toml | 1 + nix/poetry-python311-docutils019.lock | 20 +++- nix/poetry-python311-docutils019.toml | 1 + nix/poetry-python311-docutils020.lock | 20 +++- nix/poetry-python311-docutils020.toml | 1 + nix/poetry-python39-.toml | 59 ---------- nix/poetry-python39-docutils016.lock | 20 +++- nix/poetry-python39-docutils016.toml | 1 + nix/poetry-python39-docutils017.lock | 20 +++- nix/poetry-python39-docutils017.toml | 1 + nix/poetry-python39-docutils018.lock | 20 +++- nix/poetry-python39-docutils018.toml | 1 + nix/poetry-python39-docutils019.lock | 20 +++- nix/poetry-python39-docutils019.toml | 1 + nix/poetry-python39-docutils020.lock | 20 +++- nix/poetry-python39-docutils020.toml | 1 + requirements.txt | 15 +-- setup.cfg | 2 +- 36 files changed, 475 insertions(+), 87 deletions(-) delete mode 100644 nix/poetry-python39-.toml diff --git a/Makefile b/Makefile index 66f8fa0..09e7a4a 100644 --- a/Makefile +++ b/Makefile @@ -65,8 +65,8 @@ env: .coverage: $(TEST) $(SRC) coverage run setup.py test -nix/requirements-python27.nix: .cache nix/requirements-python27.txt - nix develop .#python27-pip2nix --command pip2nix generate -r nix/requirements-python27.txt --output=nix/requirements-python27.nix +nix/requirements-python27-%.nix: .cache nix/requirements-python27-%.txt + nix develop .#pip2nix --command pip2nix generate -r nix/requirements-python27-$*.txt --output=nix/requirements-python27-$*.nix nix/requirements-python27.txt: .cache requirements.txt nix develop .#python27-pip2nix --command pip2nix generate -r requirements.txt --output=nix/requirements-python27.nix @@ -80,12 +80,18 @@ poetry\ add\ --dev\ %: mv poetry.lock nix/poetry-$(PYTHON)-$(FEATURE).lock every\ poetry\ add\ --dev\ %: + PYTHON=python39 FEATURE=docutils016 $(MAKE) poetry\ add\ --dev\ $* + PYTHON=python39 FEATURE=docutils017 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python39 FEATURE=docutils018 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python39 FEATURE=docutils019 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python39 FEATURE=docutils020 $(MAKE) poetry\ add\ --dev\ $* + PYTHON=python310 FEATURE=docutils016 $(MAKE) poetry\ add\ --dev\ $* + PYTHON=python310 FEATURE=docutils017 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python310 FEATURE=docutils018 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python310 FEATURE=docutils019 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python310 FEATURE=docutils020 $(MAKE) poetry\ add\ --dev\ $* + PYTHON=python311 FEATURE=docutils016 $(MAKE) poetry\ add\ --dev\ $* + PYTHON=python311 FEATURE=docutils017 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python311 FEATURE=docutils018 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python311 FEATURE=docutils019 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python311 FEATURE=docutils020 $(MAKE) poetry\ add\ --dev\ $* diff --git a/docs/conf.py b/docs/conf.py index 03110f0..0b29107 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,9 +35,11 @@ ] try: + import sphinx_copybutton import sphinx_design import sphinx_inline_tabs extensions.extend([ + 'sphinx_copybutton', 'sphinx_design', 'sphinx_inline_tabs', ]) @@ -146,7 +148,9 @@ # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -#html_theme_options = {} +html_theme_options = { + 'collapse_navigation': False, +} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] diff --git a/docs/usage.rst b/docs/usage.rst index d355cd6..ea2c240 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -1,5 +1,5 @@ -Examples of use: -================ +Examples of use +=============== Examples with inline sources @@ -342,3 +342,154 @@ Result .. http:example:: curl wget httpie python-requests plone-javascript :request: ../tests/fixtures/003.request.txt :response: ../tests/fixtures/003.response.txt + + +Examples with tab libraries +--------------------------- + +`sphinx-inline-tabs `_ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Code +```` + +.. code-block:: rst + + .. tab:: http + + .. http:example-block:: http + :request: ../tests/fixtures/001.request.txt + + .. tab:: curl + + .. http:example-block:: curl + :request: ../tests/fixtures/001.request.txt + + .. tab:: wget + + .. http:example-block:: wget + :request: ../tests/fixtures/001.request.txt + + .. tab:: httpie + + .. http:example-block:: httpie + :request: ../tests/fixtures/001.request.txt + + .. tab:: python-requests + + .. http:example-block:: wget + :request: ../tests/fixtures/001.request.txt + + .. tab:: response + + .. http:example-block:: response + :response: ../tests/fixtures/001.response.txt + +Result +`````` + +.. tab:: http + + .. http:example-block:: http + :request: ../tests/fixtures/001.request.txt + +.. tab:: curl + + .. http:example-block:: curl + :request: ../tests/fixtures/001.request.txt + +.. tab:: wget + + .. http:example-block:: wget + :request: ../tests/fixtures/001.request.txt + +.. tab:: httpie + + .. http:example-block:: httpie + :request: ../tests/fixtures/001.request.txt + +.. tab:: python-requests + + .. http:example-block:: wget + :request: ../tests/fixtures/001.request.txt + +.. tab:: response + + .. http:example-block:: response + :response: ../tests/fixtures/001.response.txt + + +`sphinx-design `_ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Code +```` + +.. code-block:: rst + + .. tab-set:: + + .. tab-item:: http + + .. http:example-block:: http + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: curl + + .. http:example-block:: curl + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: wget + + .. http:example-block:: wget + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: httpie + + .. http:example-block:: httpie + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: python-requests + + .. http:example-block:: wget + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: response + + .. http:example-block:: response + :response: ../tests/fixtures/001.response.txt + +Result +`````` + +.. tab-set:: + + .. tab-item:: http + + .. http:example-block:: http + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: curl + + .. http:example-block:: curl + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: wget + + .. http:example-block:: wget + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: httpie + + .. http:example-block:: httpie + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: python-requests + + .. http:example-block:: wget + :request: ../tests/fixtures/001.request.txt + + .. tab-item:: response + + .. http:example-block:: response + :response: ../tests/fixtures/001.response.txt diff --git a/nix/poetry-python310-docutils016.lock b/nix/poetry-python310-docutils016.lock index ddd606d..e4421f4 100644 --- a/nix/poetry-python310-docutils016.lock +++ b/nix/poetry-python310-docutils016.lock @@ -786,6 +786,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["docutils-stubs", "flake8 (>=3.5.0)", "flake8-bugbear", "flake8-comprehensions", "flake8-simplify", "isort", "mypy (>=0.981)", "sphinx-lint", "types-requests", "types-typed-ast"] test = ["cython", "html5lib", "pytest (>=4.6)", "typed_ast"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-rtd-theme" version = "2.0.0" @@ -1070,4 +1088,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "d2fb539277ef055c086e91d7e2982b94fbc7117e6447530d4e9da8d0d21defbc" +content-hash = "3732d0acef966b53539e8b71f7ee75a9bbc696186c2f98329ab28d999a6c6682" diff --git a/nix/poetry-python310-docutils016.toml b/nix/poetry-python310-docutils016.toml index d9046f2..aba7943 100644 --- a/nix/poetry-python310-docutils016.toml +++ b/nix/poetry-python310-docutils016.toml @@ -44,6 +44,7 @@ sphinx-testing = "^1.0.1" flake8 = "^7.1.1" sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python310-docutils017.lock b/nix/poetry-python310-docutils017.lock index 1de6c18..d3c5d7c 100644 --- a/nix/poetry-python310-docutils017.lock +++ b/nix/poetry-python310-docutils017.lock @@ -786,6 +786,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["docutils-stubs", "flake8 (>=3.5.0)", "flake8-bugbear", "flake8-comprehensions", "flake8-simplify", "isort", "mypy (>=0.981)", "sphinx-lint", "types-requests", "types-typed-ast"] test = ["cython", "html5lib", "pytest (>=4.6)", "typed_ast"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-rtd-theme" version = "2.0.0" @@ -1070,4 +1088,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "d1680bd81bc58b08ff6298fd6dd8c8a3c7f07a9661a813ed2f8c0855349cde1f" +content-hash = "1a6d507724e4834a8987e906e195ce9885e375000e44f08946320462f8d956ff" diff --git a/nix/poetry-python310-docutils017.toml b/nix/poetry-python310-docutils017.toml index e072dd9..9a08e0b 100644 --- a/nix/poetry-python310-docutils017.toml +++ b/nix/poetry-python310-docutils017.toml @@ -44,6 +44,7 @@ sphinx-testing = "^1.0.1" flake8 = "^7.1.1" sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python310-docutils018.lock b/nix/poetry-python310-docutils018.lock index a401b9c..7415d2b 100644 --- a/nix/poetry-python310-docutils018.lock +++ b/nix/poetry-python310-docutils018.lock @@ -787,6 +787,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=3.5.0)", "importlib_metadata", "mypy (==1.9.0)", "pytest (>=6.0)", "ruff (==0.3.7)", "sphinx-lint", "tomli", "types-docutils", "types-requests"] test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=6.0)", "setuptools (>=67.0)"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-design" version = "0.6.1" @@ -1114,4 +1132,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "66720a593de2b9c6dd1a08410528c3407d690ad9f8b1110f1c90fe4dcefae718" +content-hash = "622bd65fd4b334ffb63731c2403d8d674a844607ceccea09ea55086552be5b59" diff --git a/nix/poetry-python310-docutils018.toml b/nix/poetry-python310-docutils018.toml index 7792823..fce8154 100644 --- a/nix/poetry-python310-docutils018.toml +++ b/nix/poetry-python310-docutils018.toml @@ -46,6 +46,7 @@ sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" sphinx-design = "^0.6.1" sphinx-inline-tabs = "^2023.4.21" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python310-docutils019.lock b/nix/poetry-python310-docutils019.lock index c53e0dd..1b20adc 100644 --- a/nix/poetry-python310-docutils019.lock +++ b/nix/poetry-python310-docutils019.lock @@ -787,6 +787,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=3.5.0)", "importlib_metadata", "mypy (==1.9.0)", "pytest (>=6.0)", "ruff (==0.3.7)", "sphinx-lint", "tomli", "types-docutils", "types-requests"] test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=6.0)", "setuptools (>=67.0)"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-design" version = "0.6.1" @@ -1114,4 +1132,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "570150009d881bacf6cb4c595de2d36cb7b0223cf8a6e44aecb2f663e467536c" +content-hash = "050bc7caf6af68e4f80b9e289d0264fd54eed1eb52bdfe26648595fd65d6762c" diff --git a/nix/poetry-python310-docutils019.toml b/nix/poetry-python310-docutils019.toml index cd406f8..ad3778c 100644 --- a/nix/poetry-python310-docutils019.toml +++ b/nix/poetry-python310-docutils019.toml @@ -46,6 +46,7 @@ sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" sphinx-design = "^0.6.1" sphinx-inline-tabs = "^2023.4.21" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python310-docutils020.lock b/nix/poetry-python310-docutils020.lock index f82ef86..0b28978 100644 --- a/nix/poetry-python310-docutils020.lock +++ b/nix/poetry-python310-docutils020.lock @@ -787,6 +787,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=6.0)", "importlib-metadata (>=6.0)", "mypy (==1.10.1)", "pytest (>=6.0)", "ruff (==0.5.2)", "sphinx-lint (>=0.9)", "tomli (>=2)", "types-docutils (==0.21.0.20240711)", "types-requests (>=2.30.0)"] test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=8.0)", "setuptools (>=70.0)", "typing_extensions (>=4.9)"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-design" version = "0.6.1" @@ -1114,4 +1132,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "aaa9ad76c6b9ca2cedbdc365d4aa3459cdaab8d51e0ba1d1a55f198c59bfeb5c" +content-hash = "462f90f78a96766d3f69f0c294657c67a53773af0ddc4c803713aeb86a7e25c2" diff --git a/nix/poetry-python310-docutils020.toml b/nix/poetry-python310-docutils020.toml index f8cf72c..95384f2 100644 --- a/nix/poetry-python310-docutils020.toml +++ b/nix/poetry-python310-docutils020.toml @@ -46,6 +46,7 @@ sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" sphinx-design = "^0.6.1" sphinx-inline-tabs = "^2023.4.21" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python311-docutils016.lock b/nix/poetry-python311-docutils016.lock index 9b76be5..7233f0a 100644 --- a/nix/poetry-python311-docutils016.lock +++ b/nix/poetry-python311-docutils016.lock @@ -768,6 +768,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["docutils-stubs", "flake8 (>=3.5.0)", "flake8-bugbear", "flake8-comprehensions", "flake8-simplify", "isort", "mypy (>=0.981)", "sphinx-lint", "types-requests", "types-typed-ast"] test = ["cython", "html5lib", "pytest (>=4.6)", "typed_ast"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-rtd-theme" version = "2.0.0" @@ -1030,4 +1048,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "b1e6ac856e59370c3826f77043ec35537b8571f1dfbb748e8374307bdd7e2cd3" +content-hash = "c20cef3c1af0e55b4cebe403f2b61ea6198dda86bfc0264749c60df3c4c0b0fe" diff --git a/nix/poetry-python311-docutils016.toml b/nix/poetry-python311-docutils016.toml index 64262fd..fe5fdbb 100644 --- a/nix/poetry-python311-docutils016.toml +++ b/nix/poetry-python311-docutils016.toml @@ -44,6 +44,7 @@ sphinx-testing = "^1.0.1" flake8 = "^7.1.1" sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python311-docutils017.lock b/nix/poetry-python311-docutils017.lock index 0357c0d..ebc0dc1 100644 --- a/nix/poetry-python311-docutils017.lock +++ b/nix/poetry-python311-docutils017.lock @@ -768,6 +768,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["docutils-stubs", "flake8 (>=3.5.0)", "flake8-bugbear", "flake8-comprehensions", "flake8-simplify", "isort", "mypy (>=0.981)", "sphinx-lint", "types-requests", "types-typed-ast"] test = ["cython", "html5lib", "pytest (>=4.6)", "typed_ast"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-rtd-theme" version = "2.0.0" @@ -1030,4 +1048,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "09bf80f8223a84b5df3b7194c02a72d9df06adba052a4338a32ed3e22e62f085" +content-hash = "751f6d12c36cd9ea1475cf85b5af0118f9d0c0e45260b3723b849632d210f75e" diff --git a/nix/poetry-python311-docutils017.toml b/nix/poetry-python311-docutils017.toml index 38b2aff..9ea145b 100644 --- a/nix/poetry-python311-docutils017.toml +++ b/nix/poetry-python311-docutils017.toml @@ -44,6 +44,7 @@ sphinx-testing = "^1.0.1" flake8 = "^7.1.1" sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python311-docutils018.lock b/nix/poetry-python311-docutils018.lock index 2931500..7950a74 100644 --- a/nix/poetry-python311-docutils018.lock +++ b/nix/poetry-python311-docutils018.lock @@ -768,6 +768,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=3.5.0)", "importlib_metadata", "mypy (==1.9.0)", "pytest (>=6.0)", "ruff (==0.3.7)", "sphinx-lint", "tomli", "types-docutils", "types-requests"] test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=6.0)", "setuptools (>=67.0)"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-design" version = "0.6.1" @@ -1073,4 +1091,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "90b9591e6ca055ee984d75781cf49003d0fcd74ea7a5167dd841b8f49d4d2f6d" +content-hash = "8a3c19632ce261cffd6ca415ecdc3baa620a23c4a9389926330a28a709f960b1" diff --git a/nix/poetry-python311-docutils018.toml b/nix/poetry-python311-docutils018.toml index 0050622..69e4c83 100644 --- a/nix/poetry-python311-docutils018.toml +++ b/nix/poetry-python311-docutils018.toml @@ -46,6 +46,7 @@ sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" sphinx-design = "^0.6.1" sphinx-inline-tabs = "^2023.4.21" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python311-docutils019.lock b/nix/poetry-python311-docutils019.lock index 38842f0..b9a34b4 100644 --- a/nix/poetry-python311-docutils019.lock +++ b/nix/poetry-python311-docutils019.lock @@ -768,6 +768,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=3.5.0)", "importlib_metadata", "mypy (==1.9.0)", "pytest (>=6.0)", "ruff (==0.3.7)", "sphinx-lint", "tomli", "types-docutils", "types-requests"] test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=6.0)", "setuptools (>=67.0)"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-design" version = "0.6.1" @@ -1073,4 +1091,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "963e1c411b78fc4056904aced224d6b4860287eea047570cf6253186730857fa" +content-hash = "f545bfabe053b9fcfddf43687f0c03b1f20da64b35bed29f8717f132c03c9ac9" diff --git a/nix/poetry-python311-docutils019.toml b/nix/poetry-python311-docutils019.toml index 987ee53..d0d9936 100644 --- a/nix/poetry-python311-docutils019.toml +++ b/nix/poetry-python311-docutils019.toml @@ -46,6 +46,7 @@ sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" sphinx-design = "^0.6.1" sphinx-inline-tabs = "^2023.4.21" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python311-docutils020.lock b/nix/poetry-python311-docutils020.lock index 6c357ea..b83aef2 100644 --- a/nix/poetry-python311-docutils020.lock +++ b/nix/poetry-python311-docutils020.lock @@ -768,6 +768,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=6.0)", "importlib-metadata (>=6.0)", "mypy (==1.10.1)", "pytest (>=6.0)", "ruff (==0.5.2)", "sphinx-lint (>=0.9)", "tomli (>=2)", "types-docutils (==0.21.0.20240711)", "types-requests (>=2.30.0)"] test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=8.0)", "setuptools (>=70.0)", "typing_extensions (>=4.9)"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-design" version = "0.6.1" @@ -1073,4 +1091,4 @@ test = ["pytest (>=6.0.0)", "setuptools (>=65)"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "d0fcfccaea68c27971e50f7885aefa5b5f5fbecd0afaa6ccab76972a1e233c5e" +content-hash = "03446bb163eb47fa46bf4f3cfa41473cb925c623e14eb6cd5e13f15c79eab1cc" diff --git a/nix/poetry-python311-docutils020.toml b/nix/poetry-python311-docutils020.toml index c6850a7..371cb5c 100644 --- a/nix/poetry-python311-docutils020.toml +++ b/nix/poetry-python311-docutils020.toml @@ -46,6 +46,7 @@ sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" sphinx-design = "^0.6.1" sphinx-inline-tabs = "^2023.4.21" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python39-.toml b/nix/poetry-python39-.toml deleted file mode 100644 index 574faf4..0000000 --- a/nix/poetry-python39-.toml +++ /dev/null @@ -1,59 +0,0 @@ -[tool.poetry] -name = "sphinxcontrib-httpexample" -version = "1.2.dev0" -description = "Adds example directive for sphinx-contrib httpdomain" -authors = ["Asko Soukka "] -license = "GPL-2.0-or-later" -readme = "README.rst" -homepage = "https://github.com/collective/sphinxcontrib-httpexample" -repository = "https://github.com/collective/sphinxcontrib-httpexample" -classifiers = [ - "Development Status :: 4 - Beta", - "Environment :: Console", - "Environment :: Web Environment", - "Framework :: Sphinx :: Extension", - "Intended Audience :: Developers", - "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", - "Operating System :: OS Independent", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 3", - "Topic :: Documentation", - "Topic :: Utilities", -] -packages = [ - { include = "src/sphinxcontrib" }, -] - -[tool.poetry.dependencies] -python = "^3.11" -astunparse = "^1.6.3" -docutils = "<0.21" -sphinxcontrib-httpdomain = "^1.8.1" -setuptools = "^72.2.0" -sphinx = ">6" - -[tool.poetry.group.dev.dependencies] -black = "^24.8.0" -coverage = "^7.6.1" -pytest = "^8.3.2" -pytest-runner = "^6.0.1" -pytest-cov = "^5.0.0" -isort = "^5.13.2" -snapshottest = "^0.6.0" -sphinx-testing = "^1.0.1" -flake8 = "^7.1.1" -sphinx-rtd-theme = "^2.0.0" -coveralls = "<4" - -[build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" - -[tool.isort] -force_alphabetical_sort_within_sections = true -force_single_line = true -from_first = true -line_length = 200 -lines_after_imports = 2 -lines_between_types = 0 -no_sections = true diff --git a/nix/poetry-python39-docutils016.lock b/nix/poetry-python39-docutils016.lock index ff8c2d4..40d4ad4 100644 --- a/nix/poetry-python39-docutils016.lock +++ b/nix/poetry-python39-docutils016.lock @@ -806,6 +806,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["docutils-stubs", "flake8 (>=3.5.0)", "flake8-bugbear", "flake8-comprehensions", "flake8-simplify", "isort", "mypy (>=0.981)", "sphinx-lint", "types-requests", "types-typed-ast"] test = ["cython", "html5lib", "pytest (>=4.6)", "typed_ast"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-rtd-theme" version = "2.0.0" @@ -1105,4 +1123,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "7633afaea00f112c0639cf543ad61b490c743d1fdef0df80a17429b7922964de" +content-hash = "9ab3b54b82d35303443543bfc5938c6f31535748224a2630aa6c58df16f7615f" diff --git a/nix/poetry-python39-docutils016.toml b/nix/poetry-python39-docutils016.toml index b9057bf..969d22a 100644 --- a/nix/poetry-python39-docutils016.toml +++ b/nix/poetry-python39-docutils016.toml @@ -44,6 +44,7 @@ sphinx-testing = "^1.0.1" flake8 = "^7.1.1" sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python39-docutils017.lock b/nix/poetry-python39-docutils017.lock index a9643d3..33a0aa4 100644 --- a/nix/poetry-python39-docutils017.lock +++ b/nix/poetry-python39-docutils017.lock @@ -806,6 +806,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["docutils-stubs", "flake8 (>=3.5.0)", "flake8-bugbear", "flake8-comprehensions", "flake8-simplify", "isort", "mypy (>=0.981)", "sphinx-lint", "types-requests", "types-typed-ast"] test = ["cython", "html5lib", "pytest (>=4.6)", "typed_ast"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-rtd-theme" version = "2.0.0" @@ -1105,4 +1123,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "13c3a55c12fcdce4b2b51ff77983ac5def80c3c2f8e99e39f1c92e8be57c634b" +content-hash = "7cf2d9d1ebc90cf2c89b27b07719e7f70e1e085a7784df3b5aee61c637abe600" diff --git a/nix/poetry-python39-docutils017.toml b/nix/poetry-python39-docutils017.toml index aebed72..10451d0 100644 --- a/nix/poetry-python39-docutils017.toml +++ b/nix/poetry-python39-docutils017.toml @@ -44,6 +44,7 @@ sphinx-testing = "^1.0.1" flake8 = "^7.1.1" sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python39-docutils018.lock b/nix/poetry-python39-docutils018.lock index 7f60954..04e4417 100644 --- a/nix/poetry-python39-docutils018.lock +++ b/nix/poetry-python39-docutils018.lock @@ -807,6 +807,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=3.5.0)", "importlib_metadata", "mypy (==1.9.0)", "pytest (>=6.0)", "ruff (==0.3.7)", "sphinx-lint", "tomli", "types-docutils", "types-requests"] test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=6.0)", "setuptools (>=67.0)"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-design" version = "0.6.1" @@ -1149,4 +1167,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "57409b5cebd662a71e4130d1ed21371e273df90c87c2ea4934f0e0866749d278" +content-hash = "adeb540a44d831e2f6c11cdaa8d26e8c7812b8bf5d14c06f4f6bb22bf927170f" diff --git a/nix/poetry-python39-docutils018.toml b/nix/poetry-python39-docutils018.toml index e783f6f..a1ca5a5 100644 --- a/nix/poetry-python39-docutils018.toml +++ b/nix/poetry-python39-docutils018.toml @@ -46,6 +46,7 @@ sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" sphinx-design = "^0.6.1" sphinx-inline-tabs = "^2023.4.21" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python39-docutils019.lock b/nix/poetry-python39-docutils019.lock index d4bfc7a..6630b01 100644 --- a/nix/poetry-python39-docutils019.lock +++ b/nix/poetry-python39-docutils019.lock @@ -807,6 +807,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=3.5.0)", "importlib_metadata", "mypy (==1.9.0)", "pytest (>=6.0)", "ruff (==0.3.7)", "sphinx-lint", "tomli", "types-docutils", "types-requests"] test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=6.0)", "setuptools (>=67.0)"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-design" version = "0.6.1" @@ -1149,4 +1167,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "6101c672801ad2c73bfca94f3caec2c4702d83b0cd85ecb502f5f352414eabfd" +content-hash = "7735b092957ce9ff2db866d628298511bfca9846813d488d9a4b93b7a201425c" diff --git a/nix/poetry-python39-docutils019.toml b/nix/poetry-python39-docutils019.toml index 8504c75..d10eb23 100644 --- a/nix/poetry-python39-docutils019.toml +++ b/nix/poetry-python39-docutils019.toml @@ -46,6 +46,7 @@ sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" sphinx-design = "^0.6.1" sphinx-inline-tabs = "^2023.4.21" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/nix/poetry-python39-docutils020.lock b/nix/poetry-python39-docutils020.lock index 42eb2d5..7a0524f 100644 --- a/nix/poetry-python39-docutils020.lock +++ b/nix/poetry-python39-docutils020.lock @@ -807,6 +807,24 @@ docs = ["sphinxcontrib-websupport"] lint = ["flake8 (>=6.0)", "importlib-metadata (>=6.0)", "mypy (==1.10.1)", "pytest (>=6.0)", "ruff (==0.5.2)", "sphinx-lint (>=0.9)", "tomli (>=2)", "types-docutils (==0.21.0.20240711)", "types-requests (>=2.30.0)"] test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=8.0)", "setuptools (>=70.0)", "typing_extensions (>=4.9)"] +[[package]] +name = "sphinx-copybutton" +version = "0.5.2" +description = "Add a copy button to each of your code cells." +optional = false +python-versions = ">=3.7" +files = [ + {file = "sphinx-copybutton-0.5.2.tar.gz", hash = "sha256:4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"}, + {file = "sphinx_copybutton-0.5.2-py3-none-any.whl", hash = "sha256:fb543fd386d917746c9a2c50360c7905b605726b9355cd26e9974857afeae06e"}, +] + +[package.dependencies] +sphinx = ">=1.8" + +[package.extras] +code-style = ["pre-commit (==2.12.1)"] +rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] + [[package]] name = "sphinx-design" version = "0.6.1" @@ -1149,4 +1167,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "821adbe7d80e8a2110450ec79aaab0d76ceb4f1d27e37123e6af4b6c7e4efbb3" +content-hash = "4d4957873480398c98fa0a6c4b18d09ef2ac873f569e075dc5966e993186dd54" diff --git a/nix/poetry-python39-docutils020.toml b/nix/poetry-python39-docutils020.toml index 8063de1..5335cdb 100644 --- a/nix/poetry-python39-docutils020.toml +++ b/nix/poetry-python39-docutils020.toml @@ -46,6 +46,7 @@ sphinx-rtd-theme = "^2.0.0" coveralls = "3.3.1" sphinx-design = "^0.6.1" sphinx-inline-tabs = "^2023.4.21" +sphinx-copybutton = "^0.5.2" [build-system] requires = ["poetry-core"] diff --git a/requirements.txt b/requirements.txt index 710d92e..89e86df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,18 +1,19 @@ -# Direct dependencies +# Runtime dependencies astunparse docutils sphinxcontrib-httpdomain setuptools sphinx -# Test and development dependencies +# Build and development dependencies black coverage +coveralls +flake8 +isort pytest -pytest-runner pytest-cov -isort +pytest-runner snapshottest -sphinx-testing -flake8 sphinx-rtd-theme -coveralls +sphinx-testing +spihnx-copybutton diff --git a/setup.cfg b/setup.cfg index 7044625..e185e61 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,7 @@ install_requires = tests_require = pytest snapshottest - sphinx_rtd_theme + sphinx-rtd-theme sphinx-testing package_dir = = src