Skip to content

Commit 58b9378

Browse files
authored
Merge pull request #5 from gassmoeller/fix_readthedocs
Fixes to the readthedocs configuration and the documentation
2 parents 5bc10c5 + f009e52 commit 58b9378

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ build:
1212

1313
# Build documentation in the root directory with Sphinx
1414
sphinx:
15-
configuration: ./doc/sphinx_template/docs/conf.py
15+
configuration: ./doc/sphinx_template/conf.py
1616

1717
# Optionally build your docs in additional formats such as PDF and ePub
1818
formats:
1919
- htmlzip
2020
- pdf
2121

2222
conda:
23-
environment: ./doc/sphinx/environment.yml
23+
environment: ./doc/sphinx_template/environment.yml

doc/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
This directory should contain the documentation for your software. For the
2-
official manual template in tex provided by the Computational Infrastructure for
3-
Geodynamics, see:
2+
official manual template in LaTex, see:
43
https://github.com/geodynamics/best_practices/tree/master/software_manual_template
54

6-
To generate html documentation using sphinx, see the directory /sphinx_template.
7-
Navigate to sphinx_template/docs/_build/html and double click on index.html to access
8-
instructions on how to use the template and to view the example.
5+
For the official Sphinx documentation template see https://software-template.readthedocs.io,
6+
which also includes information on how to build the documentation locally
7+
in the /sphinx_template directory.
8+
After building the documentation you can navigate to sphinx_template/_build/html
9+
and double click on index.html to view the example offline.
910

1011
Keep in mind that your code should ideally also use an in-source documentation
1112
system like doxygen or autodoc. We recommend writing your manual in LaTeX (like

0 commit comments

Comments
 (0)