Skip to content

Commit c3b7b98

Browse files
committed
Add numbers into TOC in docs
1 parent 2b83190 commit c3b7b98

File tree

5 files changed

+21
-2
lines changed

5 files changed

+21
-2
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
body > div > nav > div.wy-menu.wy-menu-vertical > p.caption {
2+
margin-top: 0.5em;
3+
margin-bottom: 0;
4+
padding-left: 1.618em;
5+
padding-right: 1.618em;
6+
color: #FFFFFF;
7+
}

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@
149149
# so a file named "default.css" will overwrite the builtin "default.css".
150150
html_static_path = ['_static']
151151

152+
def setup(app):
153+
#app.add_javascript("custom.js")
154+
app.add_stylesheet("theme_overrides.css")
155+
152156
# Add any extra paths that contain custom files (such as robots.txt or
153157
# .htaccess) here, relative to this directory. These files are copied
154158
# directly to the root of the documentation.

docs/source/index.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,20 @@ PhpZone Shell
33

44
.. toctree::
55
:hidden:
6+
:caption: Shell
7+
:numbered:
68

79
getting-started
810
definitions-for-command
911
options-for-command
12+
13+
.. toctree::
14+
:hidden:
15+
:caption: Links
16+
1017
PhpZone <http://docs.phpzone.org>
18+
PhpZone Docker <http://docs.phpzone.org/projects/phpzone-docker>
19+
1120

1221
A command/script builder configured by `YAML`_, based on `PhpZone`_. Its primary purpose is to
1322
provide an easy way to define multiple scripts used in daily workflow of every developer.

docs/source/options-for-command.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,3 @@ will be displayed. This option overwrites the ``stop_on_error``
3636
By default all commands are executed in TTY mode. If this option is used, commands are not executed in TTY mode.
3737
This option overwrites the ``tty``
3838
`definition <definitions-for-command.html#tty>`_.
39-
40-

docs/source/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sphinx==1.3.1

0 commit comments

Comments
 (0)