Skip to content

Commit fe16992

Browse files
committed
documentation + manual
1 parent b402051 commit fe16992

File tree

2 files changed

+30
-13
lines changed

2 files changed

+30
-13
lines changed

docs/conf.py

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@
3030
# Add any Sphinx extension module names here, as strings. They can be
3131
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3232
# ones.
33+
import sphinx_rtd_theme
34+
3335
extensions = ['sphinx.ext.autodoc',
3436
'sphinx.ext.todo',
3537
'sphinx.ext.mathjax',
36-
'sphinxcontrib.bibtex']
38+
'sphinxcontrib.bibtex',
39+
#'sphinxcontrib.fulltoc',
40+
"sphinx_rtd_theme"]
3741

3842

3943
# Add any paths that contain templates here, relative to this directory.
@@ -50,17 +54,17 @@
5054

5155
# General information about the project.
5256
project = u'Hydra'
53-
copyright = u'2017, Antonio Augusto Alves Junior'
57+
copyright = u'2016-2020, Antonio Augusto Alves Junior'
5458
author = u'Antonio Augusto Alves Junior'
5559

5660
# The version info for the project you're documenting, acts as replacement for
5761
# |version| and |release|, also used in various other places throughout the
5862
# built documents.
5963
#
6064
# The short X.Y version.
61-
version = u'2.0'
65+
version = u'3.X.Y'
6266
# The full version, including alpha/beta/rc tags.
63-
release = u'2.0'
67+
release = u'3.X.Y'
6468

6569
# The language for content autogenerated by Sphinx. Refer to documentation
6670
# for a list of supported languages.
@@ -86,14 +90,28 @@
8690
# The theme to use for HTML and HTML Help pages. See the documentation for
8791
# a list of builtin themes.
8892
#
89-
html_theme = 'classic'
93+
html_theme = "sphinx_rtd_theme"#'classic'
94+
#html_theme_options = {
95+
# "relbarbgcolor": "black",
96+
# "sidebarbgcolor":"lavender",
97+
# "sidebartextcolor": "black",
98+
# "sidebarlinkcolor": "brown"
99+
#}
90100
html_theme_options = {
91-
"relbarbgcolor": "black",
92-
"sidebarbgcolor":"lavender",
93-
"sidebartextcolor": "black",
94-
"sidebarlinkcolor": "brown"
101+
'canonical_url': '',
102+
'logo_only': False,
103+
'display_version': True,
104+
'prev_next_buttons_location': 'bottom',
105+
'style_external_links': False,
106+
'vcs_pageview_mode': '',
107+
'style_nav_header_background': 'white',
108+
# Toc options
109+
'collapse_navigation': True,
110+
'sticky_navigation': True,
111+
'navigation_depth': 4,
112+
'includehidden': True,
113+
'titles_only': False
95114
}
96-
97115
# Theme options are theme-specific and customize the look and feel of a theme
98116
# further. For a list of options available for each theme, see the
99117
# documentation.

docs/index.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Welcome to Hydra's manual
99
=================================
1010

1111
.. toctree::
12-
:maxdepth: 3
12+
:maxdepth: 4
1313
:caption: Contents:
14-
14+
1515
introduction
1616
functors
1717
containers
@@ -28,4 +28,3 @@ Indices and tables
2828
* :ref:`genindex`
2929
* :ref:`modindex`
3030
* :ref:`search`
31-

0 commit comments

Comments
 (0)