To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 301c8b26 authored by Xuqian Yan's avatar Xuqian Yan
Browse files

[Test] Change to a mobile-friendly theme

parent e259a342
......@@ -7,4 +7,5 @@ sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.3
sphinxcontrib-websupport==1.2.0
sphinxemoji==0.1.6
\ No newline at end of file
sphinxemoji==0.1.6
sphinx-rtd-theme==0.5.0
\ No newline at end of file
div.ethical-sidebar {
display: none
div.wy-nav-content {
max-width: 1000px
}
......@@ -14,6 +14,9 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))
# Use a mobile-friendly theme: https://pypi.org/project/sphinx-rtd-theme/
import sphinx_rtd_theme
# To enable AutoStructify: https://github.com/readthedocs/recommonmark#autostructify
import recommonmark
from recommonmark.transform import AutoStructify
......@@ -37,6 +40,7 @@ release = '0.0.1'
extensions = [
'recommonmark',
'sphinxemoji.sphinxemoji',
'sphinx_rtd_theme',
]
# Add any paths that contain templates here, relative to this directory.
......@@ -53,9 +57,9 @@ exclude_patterns = []
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
html_theme_options = {
"fixed_sidebar": "true",
'display_version': True,
}
# Add any paths that contain custom static files (such as style sheets) here,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment