Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/src/build-docs.py
4013 views
1
# Add the current directory to the end of sys.path
2
# to ensure that an installed version of sage is used first.
3
import sys
4
5
current_dir = sys.path.pop(0)
6
sys.path.append(current_dir)
7
8
from sage_docbuild.__main__ import main
9
10
if __name__ == "__main__":
11
main()
12
13