[Python-modules-commits] [python-markdown] 02/02: Add a patch to disable use_directory_urls mkdocs option.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Fri Jan 12 16:25:43 UTC 2018
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch debian/master
in repository python-markdown.
commit c42f94870029b0c91ff682bf301bedb619685f4b
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Fri Jan 12 19:17:09 2018 +0300
Add a patch to disable use_directory_urls mkdocs option.
To make it easier to browse the documentation locally.
---
debian/changelog | 2 ++
debian/patches/disable_directory_urls.diff | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 25 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a22e08f..fee010d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ python-markdown (2.6.11-1) UNRELEASED; urgency=medium
* Add mkdocs.yml from upstream repository (add_mkdocs_config.diff).
* Build the documentation using mkdocs.
* Skip building python-markdown-doc with nodoc build profile.
+ * Add a patch to disable use_directory_urls mkdocs option,
+ to make it easier to browse the documentation locally.
-- Dmitry Shachnev <mitya57 at debian.org> Thu, 28 Sep 2017 21:27:06 +0300
diff --git a/debian/patches/disable_directory_urls.diff b/debian/patches/disable_directory_urls.diff
new file mode 100644
index 0000000..3ba86c7
--- /dev/null
+++ b/debian/patches/disable_directory_urls.diff
@@ -0,0 +1,22 @@
+From: Dmitry Shachnev <mitya57 at gmail.com>
+Date: Fri, 12 Jan 2018 19:12:39 +0300
+Subject: Do not use directory URLs for the documentation
+
+To make it easier to browse the documentation locally.
+---
+ mkdocs.yml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mkdocs.yml b/mkdocs.yml
+index 95fa9a7..43a000f 100644
+--- a/mkdocs.yml
++++ b/mkdocs.yml
+@@ -4,7 +4,7 @@ repo_url: https://github.com/Python-Markdown/markdown
+ site_author: "The Python-Markdown Project"
+ copyright: "Copyright © 2010-2017"
+
+-use_directory_urls: true
++use_directory_urls: false
+
+ theme:
+ name: nature
diff --git a/debian/patches/series b/debian/patches/series
index eea7e8c..0672943 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
add_mkdocs_config.diff
+disable_directory_urls.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-markdown.git
More information about the Python-modules-commits
mailing list