File: restore-default-role.diff

package info (click to toggle)
python-docutils 0.14%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,976 kB
  • sloc: python: 44,718; lisp: 14,476; xml: 1,782; sh: 167; makefile: 150
file content (21 lines) | stat: -rw-r--r-- 694 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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::