mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
heh, last time
This commit is contained in:
parent
a708e0637f
commit
3bcb7ef323
|
@ -29,6 +29,7 @@ Symlink or subtree the ``dist/sphinx_rtd_theme`` repository into your documentat
|
||||||
conf.py file:
|
conf.py file:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
html_theme = "sphinx_rtd_theme"
|
html_theme = "sphinx_rtd_theme"
|
||||||
html_theme_path = ["_themes", ]
|
html_theme_path = ["_themes", ]
|
||||||
|
|
||||||
|
@ -59,11 +60,13 @@ Set up your environment
|
||||||
1. Install sphinx_ into a virtual environment.
|
1. Install sphinx_ into a virtual environment.
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
pip install sphinx
|
pip install sphinx
|
||||||
|
|
||||||
2. Install node, bower and grunt.
|
2. Install node, bower and grunt.
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
// Install node
|
// Install node
|
||||||
brew install node
|
brew install node
|
||||||
|
|
||||||
|
@ -77,6 +80,7 @@ Now that our environment is set up, make sure you're in your virtual environment
|
||||||
this repository in your terminal and run grunt:
|
this repository in your terminal and run grunt:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
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**.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user