aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-04-09 13:40:19 -0700
committerDavid Lord <davidism@gmail.com>2020-04-09 13:40:19 -0700
commit7aa82423deafbc948de36ad9129701633cb1cad8 (patch)
treeed819db495b65848b21d6377b71e4789fdff0d58 /docs
parent28bf932213d7e981294d35a8f86250e897103b99 (diff)
downloadmarkupsafe-7aa82423deafbc948de36ad9129701633cb1cad8.tar.gz
update docs config
use sphinx-issues
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py15
-rw-r--r--docs/license.rst4
-rw-r--r--docs/requirements.txt6
3 files changed, 17 insertions, 8 deletions
diff --git a/docs/conf.py b/docs/conf.py
index f349847..fa839a4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -4,19 +4,26 @@ from pallets_sphinx_themes import ProjectLink
# Project --------------------------------------------------------------
project = "MarkupSafe"
-copyright = "2010 Pallets Team"
-author = "Pallets Team"
+copyright = "2010 Pallets"
+author = "Pallets"
release, version = get_version("MarkupSafe")
# General --------------------------------------------------------------
master_doc = "index"
-extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "pallets_sphinx_themes"]
+extensions = [
+ "sphinx.ext.autodoc",
+ "sphinx.ext.intersphinx",
+ "pallets_sphinx_themes",
+ "sphinxcontrib.log_cabinet",
+ "sphinx_issues",
+]
intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
+issues_github_path = "pallets/markupsafe"
# HTML -----------------------------------------------------------------
-html_theme = "flask"
+html_theme = "jinja"
html_theme_options = {"index_sidebar_logo": False}
html_context = {
"project_links": [
diff --git a/docs/license.rst b/docs/license.rst
index cc8c2f3..a53a98c 100644
--- a/docs/license.rst
+++ b/docs/license.rst
@@ -1,4 +1,4 @@
-License
-=======
+BSD-3-Clause License
+====================
.. include:: ../LICENSE.rst
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 295f450..7cad0cf 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,2 +1,4 @@
-Sphinx~=1.8.0
-Pallets-Sphinx-Themes~=1.1.0
+Sphinx~=3.0.0
+Pallets-Sphinx-Themes~=1.2.3
+sphinxcontrib-log-cabinet~=1.0.1
+sphinx-issues~=1.2.0