Skip to content

Commit

Permalink
Merge pull request #17 from anutosh491/rtd
Browse files Browse the repository at this point in the history
Fix Read the Docs
  • Loading branch information
SylvainCorlay authored Jul 12, 2024
2 parents e701039 + 28a4e61 commit 786e575
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 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
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
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']
extensions = ['breathe', "sphinx_rtd_theme"]
breathe_projects = { 'xeus-nelson': '../xml' }
templates_path = ['_templates']
html_static_path = ['_static']
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
The full license is in the file LICENSE, distributed with this software.
.. image:: xeus-nelson.svg
.. image:: xeus-logo.svg
:alt: xeus-nelson


Expand Down
9 changes: 8 additions & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
version: 2

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

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

0 comments on commit 786e575

Please sign in to comment.