Skip to content

Commit

Permalink
[ci skip] update docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
kthohr committed Aug 11, 2022
1 parent bc64444 commit da63ed0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
9 changes: 5 additions & 4 deletions .readthedocs.requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
sphinx == 2.4.4
breathe == 4.11.0
sphinxcontrib-katex == 0.6.0
sphinx == 5.1.1
breathe == 4.34.0
sphinx-rtd-theme == 1.0.0
sphinxcontrib-katex == 0.8.6
sphinxcontrib-contentui == 0.2.5
docutils == 0.16
docutils == 0.17.1
6 changes: 3 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
requirements_file: .readthedocs.requirements.txt

# conda:
# file: docs/environment.yml
conda:
file: docs/environment.yml

python:
version: 3.6
version: "3.8"
12 changes: 9 additions & 3 deletions docs/environment.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# problem: katex is not available on conda, yet

name: gcem-docs
name: optimlib-docs

channels:
- conda-forge

dependencies:
- breathe
- doxygen=1.9.3
- pip:
- sphinx==5.1.1
- breathe==4.34.0
- sphinx-rtd-theme==1.0.0
- sphinxcontrib-katex==0.8.6
- sphinxcontrib-contentui==0.2.5
- docutils==0.17.1
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

def setup(app):
app.add_stylesheet("main_stylesheet.css")
app.add_css_file("main_stylesheet.css")

# extensions = ['breathe','sphinx.ext.mathjax']
extensions = ['breathe','sphinxcontrib.katex']
Expand Down

0 comments on commit da63ed0

Please sign in to comment.