kopia lustrzana https://github.com/simonw/datasette
sphinx-copybutton for docs, closes #1748
rodzic
18a6e05887
commit
1465fea479
|
@ -31,7 +31,7 @@
|
|||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = ["sphinx.ext.extlinks", "sphinx.ext.autodoc"]
|
||||
extensions = ["sphinx.ext.extlinks", "sphinx.ext.autodoc", "sphinx_copybutton"]
|
||||
|
||||
extlinks = {
|
||||
"issue": ("https://github.com/simonw/datasette/issues/%s", "#"),
|
||||
|
|
8
setup.py
8
setup.py
|
@ -64,7 +64,13 @@ setup(
|
|||
""",
|
||||
setup_requires=["pytest-runner"],
|
||||
extras_require={
|
||||
"docs": ["sphinx_rtd_theme", "sphinx-autobuild", "codespell", "blacken-docs"],
|
||||
"docs": [
|
||||
"sphinx_rtd_theme",
|
||||
"sphinx-autobuild",
|
||||
"codespell",
|
||||
"blacken-docs",
|
||||
"sphinx-copybutton",
|
||||
],
|
||||
"test": [
|
||||
"pytest>=5.2.2,<7.2.0",
|
||||
"pytest-xdist>=2.2.1,<2.6",
|
||||
|
|
Ładowanie…
Reference in New Issue