Skip to content

Commit

Permalink
python package update
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-riou committed Feb 6, 2021
1 parent 3950d55 commit b48d756
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
25 changes: 16 additions & 9 deletions Implementations/drygasconv1_python3/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,18 +129,25 @@ def find_meta(meta):
'Miscellaneous'),
]

if 0:
if 1:
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
import shutil
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_style = 'css/theme_overrides.css'
#shutil.makedirs()
print(os.getcwd())
os.makedirs('../build/html/_static/css/',exist_ok=True)
shutil.copyfile('theme_overrides.css', '../build/html/_static/css/theme_overrides.css')
if 0:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
#html_style = 'css/theme_overrides.css'
#shutil.makedirs()
print(os.getcwd())
os.makedirs('../build/html/_static/css/',exist_ok=True)
shutil.copyfile('theme_overrides.css', '../build/html/_static/css/theme_overrides.css')
else:
html_context = {
'css_files': [
'_static/css/theme_overrides.css', # override RTD theme
],
}
else:
html_context = {
'css_files': [
Expand Down
2 changes: 1 addition & 1 deletion Implementations/drygasconv1_python3/drysponge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""DryGASCON reference implementation"""

__version__ = '1.0.9'
__version__ = '1.0.10'
__title__ = 'drysponge'
__description__ = 'DryGASCON reference implementation'
__long_description__ = """
Expand Down

0 comments on commit b48d756

Please sign in to comment.