Commit 52a1f37f authored by Dmitry Shachnev's avatar Dmitry Shachnev 🐧

Add restore-default-role.diff to make the docs build reproducible.

parent 25335649
......@@ -13,6 +13,7 @@ python-docutils (0.14+dfsg-4) UNRELEASED; urgency=medium
[ Dmitry Shachnev ]
* Tell dh_installchangelogs to ignore HISTORY.txt.
* Make docutils-common depend on sensible-utils (for sensible-browser).
* Add restore-default-role.diff to make the docs build reproducible.
-- Ondřej Nový <onovy@debian.org> Tue, 17 Apr 2018 13:20:26 +0200
......
From: Dmitry Shachnev <mitya57@debian.org>
Date: Sat, 23 Feb 2019 20:38:56 +0300
Subject: Restore default role after including s5defs.txt
The default role is not reset after a document is processed, so other
documents from docutils' own docs may get :incremental: as default role,
which causes the build to be not reproducible.
---
docs/user/slide-shows.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/user/slide-shows.txt b/docs/user/slide-shows.txt
index e7c3576..02c9473 100644
--- a/docs/user/slide-shows.txt
+++ b/docs/user/slide-shows.txt
@@ -1004,3 +1004,5 @@ That's All, Folks!
:class: hidden print
.. target-notes:: :class: hidden print
+
+.. default-role::
......@@ -10,3 +10,4 @@ no-local-roman.diff
rst2odt_prepstyles-elementtree.diff
static-help-message.diff
fix-spelling-errors.diff
restore-default-role.diff
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment