Skip to content

Commit 3300036

Browse files
committed
WIP: testin sphinx build + artifacts x12
1 parent 5bcd2e1 commit 3300036

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

doc/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
sys.path.insert(0, extra_dll_dir_doc)
4747
sys.path.insert(0, extra_dll_dir_pysource)
4848
try:
49+
# check general pacakae import
50+
import diffCheck
51+
print(f"diffCheck's version: {diffCheck.__version__}")
52+
53+
# check bindings
4954
import diffCheck.diffcheck_bindings as dfb
5055
except ImportError as e:
5156
print(f"Failed to import diffcheck_bindings: {e}")

doc/documentation.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
(doc_guide)=
22
# Documentation
33

4-
/// from CONTRIBUTING how to write documentation
4+
In DF we use `Sphinx` to generate the documentation. The documentation is written in `reStructuredText` and `Markdown` and the source files are located in the `doc` folder. The documentation is hosted on `ReadTheDocs` and is automatically updated when a new commit is pushed to the `main` branch.
5+
6+
Documentation is autogenerated for:
7+
8+
- [GHComponents](gh_components.rst) for the DF Grasshopper plug-in
9+
- [Python API](diffCheck_PythonAPI) for the DF Python API
10+
11+
12+
```{note}
13+
If you need to add a new page to the documentation (e.g. a [new tutorial](tutorials.rst)), you can do so by adding a new `.rst` file in the `doc` folder and linking it in the `index.rst` file.

0 commit comments

Comments
 (0)