Skip to content

Commit a189a8e

Browse files
committed
add theory section to user docs
1 parent 1ac730d commit a189a8e

File tree

5 files changed

+918
-1
lines changed

5 files changed

+918
-1
lines changed

docs/docs-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ sphinx-autobuild
88
ford
99
ghp-import
1010
sphinx_material
11+
sphinxcontrib-tikz

docs/source/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
'sphinx.ext.napoleon',
5151
'sphinx.ext.mathjax',
5252
'sphinx_rtd_theme',
53+
'sphinxcontrib.tikz',
5354
'sphinx.ext.graphviz'
5455
]
5556

@@ -88,3 +89,9 @@
8889
html_sidebars = {
8990
"**": ["logo-text.html", "globaltoc.html", "localtoc.html", "searchbox.html"]
9091
}
92+
93+
latex_elements = {
94+
"preamble": r"""
95+
\usepackage{tikz}
96+
"""
97+
}

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ Contents:
2121

2222
getting_started.rst
2323
report_a_bug
24-
internals/index
24+
user/index
2525
developer/index
2626
API reference <https://xcompact3d.github.io/x3d2>

docs/source/user/index.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. x3d2 documentation master file, created by
2+
sphinx-quickstart on Mon Feb 27 14:46:56 2023.
3+
You can adapt this file completely to your liking, but it should at least
4+
contain the root `toctree` directive.
5+
6+
==================
7+
x3d2 Documentation
8+
==================
9+
10+
**x3d2** is the current codename for what is to become Xcompact3d
11+
version 2.0. This project is a rewrite of Xcompact3d leading to
12+
13+
* Improved serial and parallel performance.
14+
* Support for NVIDIA GPU accelerators (using CUDA Fortran).
15+
* Improved modularity and testability.
16+
17+
Contents:
18+
19+
.. toctree::
20+
:maxdepth: 2
21+
22+
getting_started.rst
23+
report_a_bug
24+
user/index
25+
developer/index
26+
API reference <https://xcompact3d.github.io/x3d2>

0 commit comments

Comments
 (0)