Debian Codegraph @

docs/user/links.rst

raw
1 .. include:: ../header.rst
2
3 =====================
4 Docutils_ Link List
5 =====================
6
7 :Author: Lea Wiemann, the Docutils team
8 :Contact: [email protected]
9 :Revision: $Revision: 10148 $
10 :Date: $Date: 2025-05-27 08:17:22 +0200 (Di, 27. Mai 2025) $ [#]_
11 :Copyright: This document has been placed in the public domain.
12 :Abstract: Links that users of Docutils_ and reStructuredText_ may find useful.
13
14 .. title:: Docutils Links
15
16 .. contents::
17 :depth: 2
18
19 .. [#] The most current version of this link list can always be found at
20 https://docutils.sourceforge.io/docs/user/links.html. If you find
21 outdated or broken links or want to suggest additions, please `let us
22 know`__ and we'll update the list here.
23
24 .. _Docutils: https://docutils.sourceforge.io/
25 .. _reStructuredText: https://docutils.sourceforge.io/rst.html
26 __ mailing-lists.html#docutils-users
27
28
29 Extensions
30 ==========
31
32 Drop-in components and front-end tools for Docutils that extend the
33 reStructuredText syntax or feature set.
34
35 Import
36 ------
37
38 Markdown
39 ````````
40
41 * `myst-docutils`_ --- the MyST_ Markdown parser for `single page builds`_.
42
43 .. _myst-docutils: https://pypi.org/project/myst-docutils/
44 .. _MyST: https://mystmd.org/guide/quickstart-myst-markdown
45 .. _single page builds:
46 https://myst-parser.readthedocs.io/en/latest/docutils.html
47
48 * pycmark_ --- small, customizable drop-in parser for CommonMark_ Markdown.
49
50 .. _pycmark: https://pypi.org/project/pycmark/
51 .. _CommonMark: https://spec.commonmark.org/current/
52
53
54 .. Python 2 only
55
56 PySource_, by Tony Ibbs, is an experimental Python source Reader.
57 There is some related code in David Goodger's sandbox
58 (pysource_reader_) and a `Python Source Reader`_ document.
59
60 .. _PySource: https://docutils.sourceforge.io/sandbox/tibs/pysource/
61 .. _pysource_reader: https://docutils.sourceforge.io/sandbox/davidg/pysource_reader/
62 .. _Python Source Reader: https://docutils.sourceforge.io/docs/dev/pysource.html
63
64
65
66 .. Python 2 only
67
68 The `ASCII art to SVG converter`_ (aafigure_) developed by
69 Chris Liechti can parse ASCII art images, embedded in reST documents and
70 output an image. This would mean that simple illustrations could be
71 embedded as ASCII art in the reST source and still look nice when
72 converted to e.g. HTML
73
74 .. _ASCII art to SVG converter:
75 https://docutils.sourceforge.io/sandbox/aafigure/
76 .. _aafigure: https://pypi.org/project/docutils-aafigure/
77
78 .. only Python 2
79
80 restxsl_ by Michael Alyn Miller, lets you transform reStructuredText
81 documents into XML/XHTML files using XSLT stylesheets.
82
83 .. _restxsl: http://www.strangeGizmo.com/products/restxsl/
84
85
86 Export
87 ------
88
89 PDF
90 ```
91
92 * RinohType_ --- pure Python PDF writer
93
94 .. _RinohType: https://pypi.python.org/pypi/RinohType
95
96 * `rst2pdf (reportlab)`__ --- PDF writer based on ReportLab_.
97
98 __ https://pypi.org/project/rst2pdf/
99 .. _ReportLab: https://pypi.org/project/reportlab/
100
101 .. only Python 2
102
103 `rst2pdf (rubber)`__ --- front end for PDF generation via LaTeX
104 using the rubber_ building system.
105
106 __ https://docutils.sourceforge.io/sandbox/rst2pdf_rubber/README.html
107 .. _rubber: https://gitlab.com/latex-rubber/rubber/
108
109 `rst2pdf (pdflatex)`__ --- minimal front end for PDF generation via LaTeX.
110
111 __ https://docutils.sourceforge.io/sandbox/blais/rst2pdf/
112
113 .. Python 2 only (or broken)
114
115 rlpdf_ --- another PDF writer based on ReportLab_.
116
117 .. _rlpdf: https://docutils.sourceforge.io/sandbox/dreamcatcher/rlpdf/
118
119 >>> from rlpdf import Writer
120 ImportError: cannot import name 'Writer' from partially initialized
121 module 'rlpdf' (most likely due to a circular import)
122
123
124 Others
125 ``````
126
127 * `DocBook Writer`_ (only Python 2)
128
129 .. _DocBook Writer: https://docutils.sourceforge.io/sandbox/oliverr/docbook/
130
131 * `pickle writer`_ --- "pickle__" the document tree to a binary string.
132
133 .. _pickle writer:
134 https://docutils.sourceforge.io/sandbox/blais/pickle_writer/
135 __ https://docs.python.org/3/library/pickle.html
136
137 * rst2confluence__ converts reStructuredText to Confluence__ CMS markup.
138
139 __ https://github.com/netresearch/rst2confluence
140 __ https://www.atlassian.com/software/confluence
141
142 * rst2epub2_ (only Python 2)
143
144 .. _rst2epub2: https://github.com/mattharrison/rst2epub2
145
146 ----------------------------------------------------------
147
148 There are more extensions in the `Docutils Sandbox`_.
149
150 .. _Docutils Sandbox: https://docutils.sourceforge.io/sandbox/README.html
151
152
153 Tools
154 =====
155
156 * a Makefile_ for driving Docutils,
157
158 .. _Makefile: https://docutils.sourceforge.io/sandbox/cben/make/
159
160 * rstcheck_ checks syntax of reStructuredText and code blocks nested
161 within it.
162
163 .. _rstcheck: https://pypi.python.org/pypi/rstcheck
164
165 * restview_ --- live preview for reStructuredText documents,
166
167 .. _restview: https://mg.pov.lt/restview/
168
169
170 Editors
171 -------
172
173 Editors and IDEs with reStructuredText support.
174
175 * Eclipse_ IDE with `ReST Editor`__ plug-in.
176
177 .. _Eclipse: https://eclipseide.org/
178 __ http://resteditor.sourceforge.net/
179
180 * Emacs__ extensible text editor with `rst mode`__.
181
182 __ https://www.gnu.org/software/emacs/
183 __ https://docutils.sourceforge.io/tools/editors/emacs/
184
185 * Geany_ lightweight IDE.
186
187 .. _geany: http://www.geany.org/
188
189 * gedit_ with the gedit-reST-plugin__.
190
191 .. _gedit: https://gedit-text-editor.org/
192 __ https://github.com/bittner/gedit-reST-plugin
193
194 * JED__ programmers editor with `rst mode`__.
195
196 __ https://www.jedsoft.org/jed/
197 __ https://jedmodes.sourceforge.io/mode/rst/
198
199 * Leo_ PIM, IDE and outliner (see `creating documents from outlines`__).
200
201 .. _Leo: https://leo-editor.github.io/leo-editor/
202 __ https://leo-editor.github.io/leo-editor/tutorial-rst3.html
203
204 * `Notepad++`_ with reStructuredText_NPP__ (basic syntax highlighting).
205
206 .. _Notepad++: https://www.notepad-plus-plus.org/
207 __ https://github.com/steenhulthin/reStructuredText_NPP
208
209 * ReSTedit_ --- Docutils GUI for Mac OS X.
210
211 .. _ReSTedit: https://svn.red-bean.com/restedit/trunk/README.html
212
213 * ReText_ --- editor for markup languages with live preview.
214
215 .. _ReText: https://pypi.org/project/ReText/
216
217 * RSTPad_ --- reStructuredText editor with live preview.
218
219 .. _RSTPad: https://github.com/shira-374/rstpad?tab=readme-ov-file#rstpad
220
221 * `Vim <https://www.vim.org/>`__ with
222
223 - `rest.vim <https://www.vim.org/scripts/script.php?script_id=973>`__
224 reStructuredText syntax mode,
225 - `VST <https://www.vim.org/scripts/script.php?script_id=1334>`__
226 (Vim reStructuredText) plugin,
227 - `VOoM <https://www.vim.org/scripts/script.php?script_id=2657>`__
228 two-pane text outliner, or
229 - `Riv: <https://github.com/Rykka/riv.vim>`__
230 Notes and wiki in rST.
231
232 * `Visual Studio Code`__ with `vscode-restructuredtext`__
233 Language Support extension.
234
235 __ https://code.visualstudio.com
236 __ https://github.com/vscode-restructuredtext/vscode-restructuredtext
237
238
239 .. \http://rst.ninjs.org/ is down, the repository marked as UNMAINTAINED:
240
241 `rsted <https://github.com/anru/rsted>`_: a simple online editor for
242 reStructuredText.
243
244 .. last update 2004, Python 2 -> incompatible with Docutils > 0.18
245
246 DocFactory_ is a wxPython GUI application for Docutils.
247 The last version (from 2004) still requires Python 2.
248
249 .. _DocFactory:
250 https://docutils.sourceforge.io/sandbox/gschwant/docfactory/doc/
251
252
253 Related Applications
254 ====================
255
256 Applications using Docutils/reStructuredText and helper applications.
257
258
259 Converters
260 ----------
261
262 Alternative implementations to convert between reStructuredText
263 and other formats.
264
265 * Pandoc_ --- universal document converter written in Haskell.
266 Can read/write reStructuredText, DocBook, EPUB, HTML, LaTeX,
267 docx, Markdown, ODT, and more.
268
269 .. _Pandoc: https://pandoc.org/
270
271 * Laika_ --- Site and E-book Generator and Customizable Text Markup
272 Transformer for sbt, Scala and Scala.js.
273
274 .. _Laika: https://typelevel.org/Laika/
275
276 * Nim_ --- system programming language. Supports `Nim-flavoured
277 reStructuredText`__ with the rst__, rstast__, and rstgen__ modules.
278 The Nim compiler provides the ``nim rst2html`` and ``nim rst2latex``
279 sub-commands.
280
281 .. _Nim: https://nim-lang.org/
282 __ https://nim-lang.org/docs/markdown_rst.html
283 __ https://nim-lang.org/docs/rst.html
284 __ http://nim-lang.org/docs/rstast.html
285 __ http://nim-lang.org/docs/rstgen.html
286
287 * RST__ --- PHP library to parse reStructuredText documents.
288
289 __ https://github.com/Gregwar/RST
290
291 * Text-Restructured_ --- a set of Perl_ modules to parse reStructuredText
292 documents and output them in various formats.
293
294 .. _Text-Restructured: https://metacpan.org/dist/Text-Restructured
295 .. _Perl: https://www.perl.org
296
297 * xml2rst_ --- an XSLT stylesheet that converts `Docutils XML`_
298 back to reStructuredText.
299
300 .. _xml2rst: http://www.merten-home.de/FreeSoftware/xml2rst/index.html
301 .. _Docutils XML: ../ref/doctree.html
302
303 Website Generators
304 ------------------
305
306 * Sphinx_ Documentation Generator.
307
308 .. _Sphinx: https://www.sphinx-doc.org
309
310 * ipsumgenera_ --- static blog generator written in Nim.
311
312 .. _ipsumgenera: https://github.com/dom96/ipsumgenera
313
314 * Nikola_ --- static site generator.
315
316 .. _nikola: https://getnikola.com/
317
318 * Pelican_ --- another static site generator.
319
320 .. _pelican: https://docs.getpelican.com
321
322 * rest2web_ --- simple tool for creating web sites with reStructuredText.
323
324 .. _rest2web: https://gitlab.com/wavexx/rest2web
325
326 * Yozuch_ --- reStructuredText based static blog generator written in Python.
327
328 .. _Yozuch: https://github.com/akrylysov/yozuch
329
330
331 Wikis
332 -----
333
334 * MoinMoin_ includes a `ReStructuredText parser`__.
335
336 .. _MoinMoin: http://moinmo.in/
337 __ http://moinmo.in/HelpOnParsers/ReStructuredText
338
339 * Trac_ supports `reStructuredText as alternative wiki markup`__.
340
341 __ https://trac.edgewall.org/wiki/WikiRestructuredText
342
343
344 Development
345 -----------
346
347 * Sphinx_ extends the ReStructuredText syntax to better support the
348 documentation of Software projects.
349
350 `Sphinx Extensions`_ allow automatic testing of code snippets,
351 inclusion of docstrings from Python modules (API docs), and more.
352
353 .. _Sphinx extensions: https://www.sphinx-doc.org/en/master/usage/extensions/
354
355 * Trac_, a wiki and issue tracking system, supports
356 `reStructuredText as alternative wiki markup`__.
357 This includes support for TracLinks__ via a `:trac: role`__.
358
359 .. _Trac: https://trac.edgewall.org
360 __ https://trac.edgewall.org/wiki/WikiRestructuredText
361 __ https://trac.edgewall.org/wiki/TracLinks
362 __ https://trac.edgewall.org/wiki/WikiRestructuredTextLinks
363
364 * PyLit_ provides a bidirectional text ↔ code converter for Literate
365 Programming with reStructuredText.
366
367 .. _PyLit: https://codeberg.org/milde/pylit
368
369
370 CMS Systems
371 -----------
372
373 * Plone_ supports `reStructuredText content`__.
374
375 __ https://6.docs.plone.org/backend/fields.html
376 #restructuredtext-transformation
377
378 * Zope_ (Zope 4 `dropped the ReST shim`__).
379
380 __ https://github.com/zopefoundation/Products.CMFDefault/issues/5
381
382 .. _Plone: https://plone.org/
383 .. _Zope: https://www.zope.dev/
384
385
386 Presentations
387 -------------
388
389 There is native support for `slide shows with S5`__.
390
391 __ https://docutils.sourceforge.io/docs/user/slide-shows.s5.html
392
393 * InkSlide_ quick and easy presentations using Inkscape_. InkSlide uses
394 reStructuredText for markup, although it renders only a subset of rST.
395
396 .. _InkSlide: http://wiki.inkscape.org/wiki/index.php/InkSlide
397 .. _Inkscape: http://inkscape.org/
398
399 * landslide_ generates HTML5 slideshows from markdown, ReST, or textile.
400
401 .. _landslide: https://github.com/adamzap/landslide
402
403 * `marianoguerra/rst2html5`__ can produce slides using
404 HTML5 + deck.js, impress.js, or reveal.js.
405
406 __ https://github.com/marianoguerra/rst2html5
407
408 * Pandoc_ can export to various slide show formats
409 (LaTeX Beamer, PowerPoint, Slidy, S5, ...).
410
411 * rst2odp_ --- rst to LibreOffice impress.
412
413 .. _rst2odp: https://github.com/mattharrison/rst2odp
414
415
416 Help / Q&A
417 ==========
418
419 * Stackoverflow tags `[restructuredtext]`__ and `[docutils]`__.
420
421 __ https://stackoverflow.com/questions/tagged/restructuredtext
422 __ https://stackoverflow.com/questions/tagged/docutils