Revised code blocks.

This commit is contained in:
Ahmet Bakan 2015-02-02 23:25:41 -08:00
parent 38230a90dc
commit 659b07178a

View file

@ -17,45 +17,45 @@ building, serving, and viewing blog pages, as well as starting a new
blog.
.. code-block::
::
$ ablog
$ ablog
usage: ablog [-h] [-v] {start,post,build,serve} ...
usage: ablog [-h] [-v] {start,post,build,serve} ...
ABlog for blogging with Sphinx
ABlog for blogging with Sphinx
optional arguments:
-h, --help show this help message and exit
-v, --version print ABlog version and exit
optional arguments:
-h, --help show this help message and exit
-v, --version print ABlog version and exit
subcommands:
{start,post,build,serve}
start start a new blog project
post post
build build your blog project
serve serve your project locally
subcommands:
{start,post,build,serve}
start start a new blog project
post post
build build your blog project
serve serve your project locally
See 'ablog <command> -h' for more information on a specific command.
See 'ablog <command> -h' for more information on a specific command.
`ablog start`
-------------
.. code-block::
::
$ ablog start -h
usage: ablog start [-h]
$ ablog start -h
usage: ablog start [-h]
optional arguments:
-h, --help show this help message and exit
optional arguments:
-h, --help show this help message and exit
`ablog build`
-------------
.. code-block::
::
$ ablog build -h
usage: ablog build [-h] [-v] [-b BUILDER] [-d DOCTREES] [-w WEBSITE]
@ -79,14 +79,14 @@ blog.
`ablog serve`
-------------
.. code-block::
::
$ ablog serve -h
usage: ablog serve [-h] [-v] [-w WEBSITE] [-p PORT]
$ ablog serve -h
usage: ablog serve [-h] [-v] [-w WEBSITE] [-p PORT]
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-w WEBSITE path for website, default is value of `ablog_website` or
_website
-p PORT port number for HTTP server; default is 8000
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-w WEBSITE path for website, default is value of `ablog_website` or
_website
-p PORT port number for HTTP server; default is 8000