File: 0003-Remove-usage-of-Markdown-options-in-docs-markdown.rs.patch

package info (click to toggle)
sphinx-argparse 0.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 360 kB
  • sloc: python: 1,232; makefile: 135; sh: 4
file content (60 lines) | stat: -rw-r--r-- 1,556 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
From: Dmitry Shachnev <mitya57@debian.org>
Date: Thu, 28 Jun 2018 00:53:59 +0300
Subject: Remove usage of Markdown options in docs/markdown.rst

Upstream code for Markdown requires CommonMark 0.5.6, which is not yet
in Debian.
---
 docs/markdown.rst | 35 -----------------------------------
 1 file changed, 35 deletions(-)

diff --git a/docs/markdown.rst b/docs/markdown.rst
index d02f713..d37fe30 100644
--- a/docs/markdown.rst
+++ b/docs/markdown.rst
@@ -25,32 +25,6 @@ As of version 0.2.0, markdown (rather than only reStructuredText) can be include
        block
        ```
 
-The above example renders as follows:
-
-.. argparse::
-    :filename: ../test/sample.py
-    :func: parser
-    :prog: sample
-    :markdown:
-
-    A random paragraph
-
-    Heading 1
-    =========
-
-    [I'm a link to google](http://www.google.com)
-
-    ## Sub heading
-
-    ```
-    This
-     is
-      a
-      fenced
-     code
-    block
-    ```
-
 The `CommonMark-py <https://github.com/rtfd/CommonMark-py>`__ is used internally to parse Markdown. Consequently, only Markdown supported by CommonMark-py will be rendered.
 
 You must explicitly use the `:markdown:` flag, otherwise all content inside directives will be parsed as reStructuredText.
@@ -93,12 +67,3 @@ To render this as MarkDown rather than reStructuredText, use the `markdownhelp`
         :func: blah
         :prog: sample
         :markdownhelp:
-
-This will then be rendered as:
-
-.. argparse::
-    :filename: ../test/sample2.py
-    :func: blah
-    :prog: sample
-    :markdownhelp:
-