Skip to content

Commit 3bad823

Browse files
authored
Merge pull request #357 from oparry-ukaea/docs-build-improvements
Some changes to simplify building the docs locally.
2 parents 0b564f8 + 4eec35a commit 3bad823

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.gitignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ BOUT.settings
77
*~
88
.DS_Store
99
/build*
10-
/docs/build/*
11-
/docs/doxygen/*
12-
/docs/sphinx/_breathe*
1310
__pycache__
1411

12+
# Docs
13+
/docs/build
14+
/docs/doxygen
15+
/docs/html
16+
/docs/hermes3.pdf
17+
/docs/sphinx/_breathe*
18+
1519
# IDE config files
1620
.vscode
1721

docs/makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ manual: all
99
pdf: sphinx-pdf
1010
html: sphinx-html
1111
man: sphinx-man
12-
sphinx: sphinx-pdf
12+
sphinx: sphinx-html
13+
14+
.PHONY: breathe-autogen, doxygen-build, clean, html, man, manual, pdf, sphinx, sphinx-html, sphinx-man, sphinx-pdf
1315

1416
sphinx-pdf: doxygen
1517
$(sphinx-build) -b latex sphinx/ build/

docs/sphinx/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ other. Ions recycle into neutrals, which charge exchange and are
5252
ionised. A difference is that separate ion and electron temperatures
5353
are evolved here.
5454

55-
.. figure:: figs/1d_threshold.gif
55+
.. figure:: figs/1d_threshold.*
5656
:name: 1d_threshold_fig
5757
:alt:
5858
:width: 60%

docs/sphinx/figs/1d_threshold.png

23.3 KB
Loading

0 commit comments

Comments
 (0)