Skip to content

Commit

Permalink
Fixed RTD build
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Nov 21, 2023
1 parent 06e4360 commit 5913e61
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ channels:

dependencies:
- breathe
- sphinx_rtd_theme
6 changes: 2 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
def setup(app):
app.add_css_file("main_stylesheet.css")

extensions = [
#'breathe'
]
# breathe_projects = { 'xeus-lua': '../xml' }
extensions = ['breathe', 'sphinx_rtd_theme']
breathe_projects = { 'xeus-lua': '../xml' }
templates_path = ['_templates']
html_static_path = ['_static']
source_suffix = '.rst'
Expand Down
11 changes: 9 additions & 2 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
sphinx:
configuration: docs/source/conf.py
version: 2

build:
os: "ubuntu-22.04"
tools:
python: "mambaforge-22.9"

conda:
environment: docs/environment.yml

0 comments on commit 5913e61

Please sign in to comment.