Skip to content

Commit 5b467b1

Browse files
committed
📝 Docs(docs/Makefile): automate docs building process
1 parent 162bba6 commit 5b467b1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# List of directories to remove
2+
CLEAN_BUILD_DIRS = _build jupyter_execute
3+
CLEAN_DIRS = $(CLEAN_BUILD_DIRS) downloaded reference sections_readme
4+
5+
.PHONY: clean clean_build
6+
7+
# Removes the specified directories
8+
clean:
9+
rm -rf $(CLEAN_DIRS)
10+
11+
clean_build:
12+
rm -rf $(CLEAN_BUILD_DIRS)
13+
14+
build:
15+
sphinx-apidoc --force --implicit-namespaces --module-first -o reference ../src/vuegen
16+
python split_readme.py
17+
sphinx-build -n -W --keep-going -b html ./ ./_build/

0 commit comments

Comments
 (0)