mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
formatting
This commit is contained in:
parent
fac9a43bb7
commit
1817f2bab5
28
README.rst
28
README.rst
|
@ -28,9 +28,9 @@ 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
|
||||
conf.py file:
|
||||
|
||||
::
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
html_theme_path = ["_themes", ]
|
||||
::
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
html_theme_path = ["_themes", ]
|
||||
|
||||
How the Table of Contents builds
|
||||
================================
|
||||
|
@ -58,26 +58,26 @@ Set up your 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.
|
||||
|
||||
::
|
||||
// Install node
|
||||
brew install node
|
||||
::
|
||||
// Install node
|
||||
brew install node
|
||||
|
||||
// Install node package manager
|
||||
curl https://npmjs.org/install.sh | sh
|
||||
// Install node package manager
|
||||
curl https://npmjs.org/install.sh | sh
|
||||
|
||||
// Install bower and grunt
|
||||
npm install -g bower grunt-cli
|
||||
// Install bower and grunt
|
||||
npm install -g bower grunt-cli
|
||||
|
||||
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:
|
||||
|
||||
::
|
||||
grunt
|
||||
::
|
||||
grunt
|
||||
|
||||
This default task will do the following **very cool things that make it worth the trouble**.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user