Commit d255b5ed authored by Dmitry Shachnev's avatar Dmitry Shachnev

Drop python-commonmark-bkrs build-dependencies and usage.

Version 0.5.6 is not yet in Debian, and Markdown support is optional
(and was not supported in 0.1.15 anyway).
parent 041aec93
......@@ -11,6 +11,10 @@ sphinx-argparse (0.2.2-1) UNRELEASED; urgency=medium
* d/control: Set Vcs-* to salsa.debian.org
* d/copyright: Use https protocol in Format field
[ Dmitry Shachnev ]
* Remove usage of Markdown options in docs/markdown.rst. Upstream code for
Markdown requires CommonMark 0.5.6, which is not yet in Debian.
-- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sun, 02 Jul 2017 20:56:18 +0800
sphinx-argparse (0.1.15-3) unstable; urgency=medium
......
......@@ -6,13 +6,11 @@ Uploaders: ChangZhuo Chen (陳昌倬) <czchen@debian.org>
Build-Depends: debhelper (>= 10),
dh-python,
python-all (>= 2.7.3-5~),
python-commonmark-bkrs (>= 0.5.6),
python-pytest,
python-setuptools,
python-sphinx,
python-sphinx-rtd-theme,
python3-all,
python3-commonmark-bkrs (>= 0.5.6),
python3-pytest,
python3-setuptools,
python3-sphinx,
......
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:
-
0001-fix-tests.patch
0002-Remove-usage-of-Markdown-options-in-docs-markdown.rs.patch
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