Skip to content

Commit bae472b

Browse files
committed
WIP: setup sphinx docs
1 parent c089e07 commit bae472b

File tree

4 files changed

+446
-299
lines changed

4 files changed

+446
-299
lines changed

docs/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SPHINXOPTS = -j auto
55
SPHINXBUILD = $(POETRY) run sphinx-build
66
PAPER =
77
BUILDDIR = _build
8-
SOURCEDIR = source
8+
SOURCEDIR = _source
99

1010
# Internal variables
1111
PAPEROPT_a4 = -D latex_paper_size=a4
@@ -24,6 +24,11 @@ setupenv:
2424
.PHONY: setup
2525
setup:
2626
$(POETRY) install
27+
$(POETRY) update
28+
cd .. && doxygen Doxyfile.in
29+
@if [ ! -d "$(SOURCEDIR)" ]; then mkdir -p "$(SOURCEDIR)"; fi
30+
cp -RL source/* $(SOURCEDIR)
31+
# cd $(SOURCEDIR) && find . -name README.md -execdir mv '{}' index.md ';'
2732

2833
.PHONY: update
2934
update:

0 commit comments

Comments
 (0)