diff options
author | 2021-08-31 09:42:57 +0300 | |
---|---|---|
committer | 2021-08-31 09:43:04 +0300 | |
commit | 2e16c3329e78e755990f0acf083228640c24f71f (patch) | |
tree | e9e5d5ff0b7a50cbd510b176cefd95e2ea16f9a7 /dev-python/pastedeploy/files | |
parent | dev-python/pastedeploy: add github upstream metadata (diff) | |
download | gentoo-2e16c3329e78e755990f0acf083228640c24f71f.tar.gz gentoo-2e16c3329e78e755990f0acf083228640c24f71f.tar.bz2 gentoo-2e16c3329e78e755990f0acf083228640c24f71f.zip |
dev-python/pastedeploy: fix doc generation
Upstream started using sphinx docs generation, but are using a
unique theme.
Change the theme to a more common one: 'sphinx_rtd_theme'.
Closes: https://bugs.gentoo.org/696136
Closes: https://bugs.gentoo.org/750089
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pastedeploy/files')
-rw-r--r-- | dev-python/pastedeploy/files/pastedeploy-2.1.1-change-sphinx-theme.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pastedeploy/files/pastedeploy-2.1.1-change-sphinx-theme.patch b/dev-python/pastedeploy/files/pastedeploy-2.1.1-change-sphinx-theme.patch new file mode 100644 index 000000000000..d204fc135c62 --- /dev/null +++ b/dev-python/pastedeploy/files/pastedeploy-2.1.1-change-sphinx-theme.patch @@ -0,0 +1,30 @@ +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -13,7 +13,6 @@ + + import datetime + import pkg_resources +-import pylons_sphinx_themes + + # If your extensions are in another directory, add it here. + #sys.path.append('some/directory') +@@ -83,8 +82,7 @@ pygments_style = 'sphinx' + # Options for HTML output + # ----------------------- + +-html_theme = 'pylons' +-html_theme_path = pylons_sphinx_themes.get_html_themes_path() ++html_theme = 'sphinx_rtd_theme' + html_theme_options = dict( + canonical_url='https://docs.pylonsproject.org/projects/pastedeploy/en/latest/' + ) +--- a/setup.py ++++ b/setup.py +@@ -8,7 +8,6 @@ readme = open(readme_path).read() + + docs_extras = [ + "Sphinx >= 1.7.5", # Read The Docs minimum version +- "pylons-sphinx-themes", + ] + + setup( |