Skip to content

Commit 786e575

Browse files
Merge pull request #17 from anutosh491/rtd
Fix Read the Docs
2 parents e701039 + 28a4e61 commit 786e575

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

docs/environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ channels:
55

66
dependencies:
77
- breathe
8+
- sphinx_rtd_theme

docs/source/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
1717

1818
def setup(app):
19-
app.add_stylesheet("main_stylesheet.css")
19+
app.add_css_file("main_stylesheet.css")
2020

21-
extensions = ['breathe']
21+
extensions = ['breathe', "sphinx_rtd_theme"]
2222
breathe_projects = { 'xeus-nelson': '../xml' }
2323
templates_path = ['_templates']
2424
html_static_path = ['_static']

docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
The full license is in the file LICENSE, distributed with this software.
66
7-
.. image:: xeus-nelson.svg
7+
.. image:: xeus-logo.svg
88
:alt: xeus-nelson
99

1010

readthedocs.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1+
version: 2
2+
3+
build:
4+
os: "ubuntu-22.04"
5+
tools:
6+
python: "mambaforge-22.9"
7+
18
conda:
2-
file: docs/environment.yml
9+
environment: docs/environment.yml

0 commit comments

Comments
 (0)