-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocs.py
More file actions
executable file
·30 lines (29 loc) · 871 Bytes
/
docs.py
File metadata and controls
executable file
·30 lines (29 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from Peeves.Doc import *
import os, sys
root = os.path.dirname(os.path.dirname(__file__))
target = os.path.join(root, "Documentation")
sys.path.insert(0, root)
doc_config = {
"packages": [
{
"id": "McUtils",
'tests_root': os.path.join(os.path.dirname(root), "McUtils", "ci", "tests")
},
{
"id": "Psience",
'tests_root': os.path.join(os.path.dirname(root), "Psience", "ci", "tests")
},
{
"id": "Peeves",
'tests_root': os.path.join(os.path.dirname(root), "Peeves", "ci", "tests")
},
{
"id": "RynLib",
'tests_root': os.path.join(os.path.dirname(root), "RynLib", "ci", "tests")
}
],
"root": root,
"target": target,
"readme": os.path.join(root, "README.md")
}
# DocBuilder(**doc_config).build()