Skip to content

Commit da63ed0

Browse files
committed
[ci skip] update docs build
1 parent bc64444 commit da63ed0

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

.readthedocs.requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
sphinx == 2.4.4
2-
breathe == 4.11.0
3-
sphinxcontrib-katex == 0.6.0
1+
sphinx == 5.1.1
2+
breathe == 4.34.0
3+
sphinx-rtd-theme == 1.0.0
4+
sphinxcontrib-katex == 0.8.6
45
sphinxcontrib-contentui == 0.2.5
5-
docutils == 0.16
6+
docutils == 0.17.1

.readthedocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
requirements_file: .readthedocs.requirements.txt
22

3-
# conda:
4-
# file: docs/environment.yml
3+
conda:
4+
file: docs/environment.yml
55

66
python:
7-
version: 3.6
7+
version: "3.8"

docs/environment.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
# problem: katex is not available on conda, yet
21

3-
name: gcem-docs
2+
name: optimlib-docs
43

54
channels:
65
- conda-forge
76

87
dependencies:
9-
- breathe
8+
- doxygen=1.9.3
9+
- pip:
10+
- sphinx==5.1.1
11+
- breathe==4.34.0
12+
- sphinx-rtd-theme==1.0.0
13+
- sphinxcontrib-katex==0.8.6
14+
- sphinxcontrib-contentui==0.2.5
15+
- docutils==0.17.1

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
1616

1717
def setup(app):
18-
app.add_stylesheet("main_stylesheet.css")
18+
app.add_css_file("main_stylesheet.css")
1919

2020
# extensions = ['breathe','sphinx.ext.mathjax']
2121
extensions = ['breathe','sphinxcontrib.katex']

0 commit comments

Comments
 (0)