-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove sphinx sources and update RTD config
- Loading branch information
Showing
66 changed files
with
67 additions
and
875 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ __pycache__/ | |
*.pyc | ||
*.egg* | ||
build/ | ||
_build/ | ||
*CMakeUserPresets*.json | ||
*.tar.gz | ||
|
||
|
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 |
---|---|---|
|
@@ -78,6 +78,7 @@ words: | |
- DIRSET | ||
- Disabl | ||
- Doherty | ||
- Doxyfile | ||
- doxygen | ||
- doxygenfile | ||
- doxygenfunction | ||
|
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,19 @@ | ||
from pathlib import Path | ||
import json | ||
|
||
DOCS_DIR = Path(__file__).parent | ||
PROPERTIES = DOCS_DIR.parent / "library.json" | ||
CONFIG = DOCS_DIR / "Doxyfile" | ||
TMP = DOCS_DIR / "doxygenAction" | ||
|
||
|
||
def overwrite_doxygen_value(): | ||
properties = json.loads(PROPERTIES.read_text(encoding="utf-8")) | ||
assert "version" in properties | ||
config = CONFIG.read_text(encoding="utf-8") | ||
TMP.write_text("PROJECT_NUMBER = {}\n".format(properties["version"]), encoding="utf-8") | ||
config += f"\n@INCLUDE = {str(TMP)}\n" | ||
CONFIG.write_text(config, encoding="utf-8") | ||
|
||
if __name__ == "__main__": | ||
overwrite_doxygen_value() |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Intended for Sphinx only | ||
|
||
The files in this folder are only used to generate documentation using Sphinx (from Doxygen's XML output). | ||
The files in this folder are only used to generate documentation using Sphinx (from Doxygen's output). | ||
|
||
See building docs instructions in docs/README.md |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.