[Tutor] restructuredtext's documentation
sjeik_appie at hotmail.com
Tue Dec 12 18:00:23 EST 2017
Op 12 dec. 2017 10:52 schreef Steven D'Aprano <steve at pearwood.info>:
> On Mon, Dec 11, 2017 at 02:04:59PM +0000, adil gourinda wrote:
> > Hi
> > Please I have two questions:
> > 1) Why restructuredtext's documentation is not included as a part of
> > the official Python's documentation?
> Because RestructuredText (ReST) is not part of Python.
> It is a project which uses Python.
> > 2) Can you generate a restructuredtext's PDF documentaion from
> > Docutils website(docutils.sourceforge.net/rst.html)?
> Sure. In your browser, go to the page you want, then choose Print from
> the browser File menu. When the printer dialog comes up, choose "Print
> To File", and set the options to PDF.
You could also try using a tool called pandoc, though you will also need LaTex/texlive for it (quite big). Alternatively: https://pypi.python.org/pypi/rst2pdf
More information about the Tutor