Skip to content

Commit

Permalink
Merge pull request #33 from nlesc-nano/rtd
Browse files Browse the repository at this point in the history
DOC: Removed `conf.py` settings incompatible with the 1.0 release of `sphinx_rtd_theme`
  • Loading branch information
BvB93 committed Sep 24, 2021
2 parents b5afbb9 + 1548718 commit fe893f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 37 deletions.
13 changes: 0 additions & 13 deletions docs/_static/theme_overrides.css

This file was deleted.

22 changes: 0 additions & 22 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,28 +104,6 @@
#
# html_theme_options = {}

# 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_context = {
'css_files': [
'_static/theme_overrides.css', # override wide tables in RTD theme
],
}

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#
# This is required for the alabaster theme
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
html_sidebars = {
'**': [
'relations.html', # needs 'show_related': True theme option to display
'searchbox.html',
]
}


# -- Options for HTMLHelp output ------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
version=version['__version__'],
description="A collection of tutorials for the analysis of nanocrystals.",
long_description=readme + '\n\n',
author=["Juliette Zito", "felipe zapata"],
author=["Juliette Zito", "felipe zapata"],
author_email='juliette.zito@hotmail.fr',
url='https://github.com/nlesc-nano/Tutorials',
packages=[
Expand Down Expand Up @@ -48,7 +48,7 @@
'pycodestyle',
],
extras_require={
'docs': ['sphinx', 'sphinx_rtd_theme'],
'docs': ['sphinx', 'sphinx_rtd_theme>=1.0'],
'test': ['pytest', 'pytest-cov', 'pycodestyle'],
}
)

0 comments on commit fe893f3

Please sign in to comment.