forked from STAIRlab/OpenSeesRT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (23 loc) · 894 Bytes
/
Makefile
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
APIDOC = python3 tools/doc.py
APIDIR = docs/user/
conda:
for i in 7 8 9 10; do conda mambabuild -c local -c conda-forge etc/conda --py 3.$i; done
pypa:
sudo ./etc/pypa/docker-build
docs:
#make apidocs
#elstir build
#rm site/**/*.tex
#rm site/**/*.fig
git add site && git commit -m'cmp - rebuild site' && git subtree push --prefix site/ brace gh-pages
apidocs:
$(APIDOC) opensees.section > $(APIDIR)/modeling/section/index.md
$(APIDOC) opensees.patch > $(APIDIR)/modeling/section/patch.md
$(APIDOC) opensees.patch --attr layer > $(APIDIR)/modeling/section/layer.md
$(APIDOC) opensees.lib > $(APIDIR)/core.md
$(APIDOC) opensees.lib --attr uniaxial > $(APIDIR)/modeling/uniaxial.md
$(APIDOC) opensees.lib --attr element > $(APIDIR)/modeling/element.md
$(APIDOC) opensees.lib --attr constraint > $(APIDIR)/modeling/constraint.md
test:
pytest --nbmake notebooks/
.PHONY: docs