[med-svn] [Git][med-team/snakemake][main] Docs: keep RTD theme, as we don't have the one upstream now use.
Rebecca N. Palmer (@rnpalmer-guest)
gitlab at salsa.debian.org
Sat Jan 20 11:53:45 GMT 2024
Rebecca N. Palmer pushed to branch main at Debian Med / snakemake
Commits:
e1602501 by Rebecca N. Palmer at 2024-01-20T11:53:18+00:00
Docs: keep RTD theme, as we don't have the one upstream now use.
- - - - -
3 changed files:
- debian/changelog
- debian/patches/0008-remove_sphinx.ext.patch
- debian/patches/workaround_sphinx_issue.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ snakemake (8.2.3-1) UNRELEASED; urgency=medium
* New upstream release. Update d/copyright and patches.
* Upload to experimental, due to potential breakage.
+ * Docs: keep RTD theme, as we don't have the one upstream now use.
-- Rebecca N. Palmer <rebecca_palmer at zoho.com> Sat, 20 Jan 2024 10:47:03 +0000
=====================================
debian/patches/0008-remove_sphinx.ext.patch
=====================================
@@ -4,7 +4,15 @@ Author: Andreas Tille <tille at debian.org>, Rebecca N. Palmer
--- a/docs/conf.py
+++ b/docs/conf.py
-@@ -36,10 +36,7 @@ extensions = [
+@@ -16,7 +16,6 @@
+ import sys
+ import os
+ from datetime import datetime
+-from sphinxawesome_theme.postprocess import Icons
+
+
+ # If extensions (or modules to document with autodoc) are in another directory,
+@@ -36,10 +35,7 @@ extensions = [
"sphinx.ext.mathjax",
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
@@ -15,3 +23,26 @@ Author: Andreas Tille <tille at debian.org>, Rebecca N. Palmer
]
# Use debian copy of mathjax, to avoid a lintian error
+@@ -124,21 +120,7 @@ pygments_style = "sphinx"
+
+ # The theme to use for HTML and HTML Help pages. See the documentation for
+ # a list of builtin themes.
+-html_theme = "sphinxawesome_theme"
+-html_theme_options = {
+- "logo_light": "logo-snake.svg",
+- "logo_dark": "logo-snake.svg",
+- "main_nav_links": {
+- "Homepage": "https://snakemake.github.io",
+- "Plugin catalog": "https://snakemake.github.io/snakemake-plugin-catalog",
+- "Workflow catalog": "https://snakemake.github.io/snakemake-workflow-catalog",
+- "Wrappers": "https://snakemake-wrappers.readthedocs.io",
+- },
+- "awesome_external_links": True,
+- "awesome_headerlinks": True,
+- "show_prev_next": False,
+-}
+-html_permalinks_icon = Icons.permalinks_icon
++html_theme = "sphinx_rtd_theme"
+ # html_theme_options = {
+ # "show_nav_level": 2,
+ # "header_links_before_dropdown": 0,
=====================================
debian/patches/workaround_sphinx_issue.patch
=====================================
@@ -15,7 +15,7 @@ Forwarded: https://github.com/snakemake/snakemake/issues/296#issuecomment-611197
--- a/docs/conf.py
+++ b/docs/conf.py
-@@ -116,6 +116,8 @@ pygments_style = "sphinx"
+@@ -115,6 +115,8 @@ pygments_style = "sphinx"
# If true, keep warnings as "system message" paragraphs in the built documents.
# keep_warnings = False
View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/commit/e160250192cdeefab21cf469cf70b9419b09bf37
--
View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/commit/e160250192cdeefab21cf469cf70b9419b09bf37
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240120/251d1387/attachment-0001.htm>
More information about the debian-med-commit
mailing list