code blocks

This commit is contained in:
Dave Snider 2013-11-03 14:55:12 -08:00
parent 24525d02b0
commit fac9a43bb7

View File

@ -28,8 +28,7 @@ Symlink or subtree the ``dist/sphinx_rtd_theme`` repository into your documentat
``docs/_themes/sphinx_rtd_theme`` then add the following two settings to your Sphinx ``docs/_themes/sphinx_rtd_theme`` then add the following two settings to your Sphinx
conf.py file: conf.py file:
.. code-block:: ::
html_theme = "sphinx_rtd_theme" html_theme = "sphinx_rtd_theme"
html_theme_path = ["_themes", ] html_theme_path = ["_themes", ]
@ -59,10 +58,12 @@ Set up your environment
1. Install sphinx_ into a virtual environment. You'll need a working python environment. 1. Install sphinx_ into a virtual environment. You'll need a working python environment.
::
pip install sphinx pip install sphinx
2. Install node, bower and grunt. 2. Install node, bower and grunt.
::
// Install node // Install node
brew install node brew install node
@ -75,6 +76,7 @@ Set up your environment
Now that our environment is set up, make sure you're in your virtual environment, go to Now that our environment is set up, make sure you're in your virtual environment, go to
this repository in your terminal and run grunt: this repository in your terminal and run grunt:
::
grunt grunt
This default task will do the following **very cool things that make it worth the trouble**. This default task will do the following **very cool things that make it worth the trouble**.