-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update readthedocs config to use Python 3.10; Add macOS version…
… of docs generation script; Add instructions to BUILDING.md describing how to build documentation locally
- Loading branch information
1 parent
3b1bbbe
commit 029aaf0
Showing
8 changed files
with
69 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -O miniconda.sh | ||
bash miniconda.sh -b -p $(pwd)/miniconda | ||
source "$(pwd)/miniconda/etc/profile.d/conda.sh" | ||
hash -r | ||
conda env create -q --file docs/readthedocs/environment-macos.yml | ||
conda activate readthedocs | ||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -B doc-build -S . -DPython3_FIND_STRATEGY=LOCATION -DBAG_BUILD_PYTHON:BOOL=ON -DBAG_BUILD_DOCS:BOOL=ON | ||
cmake --build doc-build -v | ||
mkdir -p _readthedocs/html/ | ||
ls -R doc-build/docs/sphinx | ||
cp -r doc-build/docs/sphinx/* _readthedocs/html/ | ||
ls -R _readthedocs/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: readthedocs | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.9 | ||
- clangxx_osx-arm64 | ||
- cmake | ||
- ninja | ||
- hdf5-static | ||
- libxml2 | ||
- swig | ||
- catch2 | ||
- unittest-xml-reporting | ||
- doxygen | ||
- Sphinx=6.2.1 | ||
- numpydoc | ||
- breathe | ||
- myst-parser | ||
- sphinx-automodapi | ||
- graphviz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters