Skip to content

Commit

Permalink
put same doc config than snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Sep 5, 2023
1 parent 09a0bd9 commit eed774b
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions Docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# The short X.Y version
version = u'4.0'
# The full version, including alpha/beta/rc tags
release = u'4.0.5'
release = u'4.0.6-SNAPSHOT'


# -- General configuration ---------------------------------------------------
Expand All @@ -50,7 +50,7 @@
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['ytemplates']
templates_path = []

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
Expand All @@ -76,21 +76,17 @@
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
#html_theme = 'alabaster'
import os
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand All @@ -101,7 +97,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = []

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down

0 comments on commit eed774b

Please sign in to comment.