Author: | Mike Carifio [email protected] |
---|
You're reading the README for the source content and supporting tooling for the very modest book The Little Charmer. The canonical repository for this content is 'https://github.com/mcarifio/the-little-charmer.git', a public git repository. The book's contents are also encoded using reStructuredText and are located in source consistent with the conventions of Sphinx <http://sphinx-doc.org/tutorial.html>.
You got this README with the following bash commands (or something similar):
export BOOKROOT=~/book export BOOKREPO=https://github.com/mcarifio/the-little-charmer.git mkdir --parent $BOOKROOT; cd $BOOKROOT git clone $BOOKREPO ; cd $(basename $BOOKROOT .git) # ~/book/the-little-charmer
You can read the content directly in source/*.rst. reStructuredText is quite readable in
"source" form. Or you can generate a suitable "output format" such as html using sphinx-build
in
directory $BOOKDIR
:
sphinx-build -b html source build/html # in $BOOKROOT, generates $BOOKROOT/build/html gnome-open build/html/index.html # view HTML output