Skip to content

Commit

Permalink
Avoid mktheapidocs
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Oct 1, 2024
1 parent b6c3f13 commit bcf9be9
Show file tree
Hide file tree
Showing 14 changed files with 161 additions and 320 deletions.
9 changes: 0 additions & 9 deletions .github/scripts/update_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ def update(version):
for line in f:
print(pattern.sub(replacement, line), end="")

files = ("docs/conf.py")
pattern = re.compile('^release *= *".*?"')
short_pattern = re.compile('^version *= *".*?"')
replacement = r'release = "' + version + '"'
short_replacement = r'version = "' + short_version + '"'
with fileinput.input(files=files, inplace=True) as f:
for line in f:
print(short_pattern.sub(short_replacement, pattern.sub(replacement, line)), end="")


version = os.environ["new_version"]

Expand Down
19 changes: 0 additions & 19 deletions docs/Makefile

This file was deleted.

12 changes: 0 additions & 12 deletions docs/api.rst

This file was deleted.

1 change: 1 addition & 0 deletions docs/calculus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ::: quaternion.calculus
241 changes: 0 additions & 241 deletions docs/conf.py

This file was deleted.

23 changes: 0 additions & 23 deletions docs/index.rst

This file was deleted.

15 changes: 15 additions & 0 deletions docs/javascript/mathjax.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
window.MathJax = {
tex: {
inlineMath: [["$", "$"], ["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true
}
};

document$.subscribe(() => {
MathJax.startup.output.clearCache()
MathJax.typesetClear()
MathJax.texReset()
MathJax.typesetPromise()
})
1 change: 1 addition & 0 deletions docs/means.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ::: quaternion.means
Loading

0 comments on commit bcf9be9

Please sign in to comment.