Kaydet (Commit) fe32fe16 authored tarafından Roy Zwambag's avatar Roy Zwambag Kaydeden (comit) Tim Graham

Used console directive in "Writing documentation".

üst 8b25d546
...@@ -431,6 +431,9 @@ class ConsoleDirective(CodeBlock): ...@@ -431,6 +431,9 @@ class ConsoleDirective(CodeBlock):
elif token[:2] == '~/': elif token[:2] == '~/':
token = '%HOMEPATH%\\' + token[2:] token = '%HOMEPATH%\\' + token[2:]
changed = True changed = True
elif token == 'make':
token = 'make.bat'
changed = True
if '://' not in token and 'git' not in cmdline: if '://' not in token and 'git' not in cmdline:
out.append(token.replace('/', '\\')) out.append(token.replace('/', '\\'))
changed = True changed = True
......
...@@ -45,11 +45,17 @@ documentation is transformed into HTML, PDF, and any other output format. ...@@ -45,11 +45,17 @@ documentation is transformed into HTML, PDF, and any other output format.
__ http://sphinx-doc.org/ __ http://sphinx-doc.org/
__ http://docutils.sourceforge.net/ __ http://docutils.sourceforge.net/
To actually build the documentation locally, you'll currently need to install To build the documentation locally, install Sphinx:
Sphinx -- ``pip install Sphinx`` should do the trick.
Then, building the HTML is easy; just ``make html`` (or ``make.bat html`` on .. console::
Windows) from the ``docs`` directory.
$ pip install Sphinx
Then from the ``docs`` directory, build the HTML:
.. console::
$ make html
To get started contributing, you'll want to read the :ref:`reStructuredText To get started contributing, you'll want to read the :ref:`reStructuredText
Primer <sphinx:rst-primer>`. After that, you'll want to read about the Primer <sphinx:rst-primer>`. After that, you'll want to read about the
......
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