Commit graph

163 commits

Author SHA1 Message Date
Paul
b6440bf2c8 Fix pep8 problems 2016-06-14 12:03:24 -05:00
Paul
ad36e4990c Add support for external links 2016-06-14 01:16:46 -05:00
Paul
c9c58bcfc9 Use pending_xref for reference nodes 2016-06-13 23:14:35 -05:00
Paul
0ff83a9091 Add tests for checking custom file extensions 2016-06-12 03:12:15 -05:00
Paul
c98a939751 Merge branch 'master' into md-files 2016-06-11 08:50:17 -05:00
Paul
0eee19e600 Add tests for checking that pygments will still highlight the code. This requires a newer version sphinx as well. 2016-06-10 21:08:31 -05:00
Paul
391bbe4e68 Remove pep8 whitespace 2016-06-06 23:56:37 -05:00
Paul
40a82ef39d Fix regression with highliting 2016-06-06 23:51:20 -05:00
Paul
74e0566dbf Transform files with other endings besides .md 2016-06-06 21:39:21 -05:00
Eric Holscher
da77951476 Merge pull request #44 from mgeier/code-blocks
Fix code blocks
2016-04-24 19:14:54 -07:00
Eric Holscher
842dde424b Merge pull request #43 from mgeier/sphinx-extension
Turn package into a Sphinx extension
2016-04-24 19:14:45 -07:00
Eric Holscher
13905f0d62 Merge pull request #42 from mgeier/manifest
Add MANIFEST.in
2016-04-24 19:14:33 -07:00
Matthias Geier
ebedf5ef62 DOC: Properly escape inline code and code blocks 2016-04-24 14:01:31 +02:00
Matthias Geier
e610f57354 Show proper code blocks if no language is given 2016-04-24 13:58:56 +02:00
Matthias Geier
7584516df2 Turn package into a Sphinx extension 2016-04-24 12:32:25 +02:00
Matthias Geier
8f5c0106ac Add MANIFEST.in
This fixes #28.
2016-04-24 11:10:04 +02:00
Eric Holscher
5ce70fb0d2 Merge pull request #40 from JimiC/Path-Separator-Handler
Added path separator handler for non-Unix environment.
2016-04-07 11:55:15 -07:00
JimiC
bcaf40e078 Removing trailing whitespace and blank line. 2016-04-06 18:44:13 +03:00
JimiC
f2dedeaeaa Added path separator handler for non-Unix environment. 2016-04-06 18:23:58 +03:00
Eric Holscher
8a3b8f856e Merge pull request #37 from mkcode/improve-readme
Improve readme
2016-03-10 15:24:53 -08:00
Chris Ewald
908c6669ef bold the option keys in the readme 2016-03-10 15:41:39 -05:00
Chris Ewald
3df81307d9 bold the option keys 2016-03-10 15:39:15 -05:00
Chris Ewald
b9d8455d68 fix grammer error 2016-03-10 15:36:32 -05:00
Chris Ewald
1a52eba1c7 add autostructify section to main readme 2016-03-10 15:36:12 -05:00
Eric Holscher
ee2c52035d Merge pull request #36 from mkcode/improve-rst-eval
Improve rst_eval
2016-03-10 11:29:39 -08:00
Chris Ewald
aa61efe5cb no need for a separate regex variable 2016-03-09 07:02:12 -05:00
Chris Ewald
a972f9b1f5 add docs and examples for new embedded rst style 2016-03-09 06:46:56 -05:00
Chris Ewald
85d0e49b67 rst directive parse shorthand and more compat
with the ```eval_rst style, blocks, certain directives such as 'sidebar'
failed with an error saying: "ERROR: The "sidebar" directive may not be
used within topics or body elements". The sidebar directive works using
this added style. The new style is: ```sidebar:: Sidebar title. The
double colon denotes that it is an rst directive and renders it
correctly. No code-block languages have double colons, so this is a safe
method to distinguish between code literals and rst directives.
2016-03-09 06:17:21 -05:00
Luca Barbato
f8ef2c2843 Merge pull request #32 from shimizukawa/master
Set rawsource value for each nodes
2016-02-08 16:41:09 +01:00
shimizukawa
fc18fa7431 Set rawsource value for each nodes to use as translation source on Sphinx i18n feature. 2016-02-08 22:48:21 +09:00
Luca Barbato
42f0db0d9d Merge pull request #34 from mitya57/master
README.md: Link to the new CommonMark-py repository
2016-02-07 20:16:52 +01:00
Dmitry Shachnev
0d7fa5abcb README.md: Link to the new CommonMark-py repository 2016-02-07 19:11:06 +03:00
Luca Barbato
ce324ce47d Merge pull request #33 from shimizukawa/fix-lint
fix lint errors
2016-02-07 13:27:01 +01:00
shimizukawa
149b6e3a4d fix lint errors 2016-02-07 11:51:40 +09:00
Luca Barbato
4da4fd50e4 Merge pull request #30 from OpenDataServices/21-i18n-bugs
[#21] Append nodes before appending their children
2016-01-21 16:30:04 +01:00
Ben Webb
1b19030dd3 [#21] Append nodes before appending their children
This ensures that source information will be passed down the tree
correctly by Node.setup_child
https://github.com/docutils-mirror/docutils/blob/master/docutils/nodes.py#L92

In turn, this means these nodes will be correctly picked up for gettext
output.
2016-01-21 15:01:46 +00:00
Eric Holscher
3854944de1 Merge pull request #27 from hipro/patch-1
Update parser.py
2016-01-12 10:00:54 -08:00
hipro
d0560b1693 Update parser.py
Remove:`         new_section['ids'].append(nodes.make_id(name))`
Redundant, and cause errors when using non-latin headings.
For example: # 标题
2016-01-08 14:15:16 +08:00
Eric Holscher
06bf23745e Update requirements too 2016-01-05 14:01:46 -08:00
Eric Holscher
7ca5247b34 Revert back to using old commonmark for now 2016-01-05 14:00:22 -08:00
Eric Holscher
0ed27b1c2e Revert "Merge pull request #23 from brechtm/master"
This reverts commit ba6abb22cc, reversing
changes made to add4445268.
2016-01-05 13:59:38 -08:00
Eric Holscher
86253774cd Upgrade to 0.3.0 2016-01-05 13:52:40 -08:00
Eric Holscher
ba6abb22cc Merge pull request #23 from brechtm/master
Adapt to rename of DocParser in CommonMark
2016-01-05 13:40:01 -08:00
Brecht Machiels
da99ca9bbf Adapt to rename of DocParser in CommonMark 2016-01-03 22:12:49 +01:00
Luca Barbato
add4445268 doc: Use my name 2015-11-26 08:06:25 +01:00
Anthony
29d175c7cb Merge pull request #18 from jezdez/patch-2
Unindent code examples in README.
2015-10-29 16:57:16 -07:00
Anthony
99fcabc304 Merge pull request #17 from jezdez/patch-1
Fixed typo in docs config.
2015-10-29 16:56:18 -07:00
Jannis Leidel
a9042d9ad5 Unindent code examples in README.
This prevents copying leading spaces.
2015-10-29 23:19:12 +01:00
Jannis Leidel
8b2c45dd68 Fixed typo in docs config. 2015-10-29 23:14:42 +01:00
Eric Holscher
935f66e303 Fix syntax in readme 2015-10-20 16:13:16 -07:00