forked from DLR-RM/RAFCON
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix/docs_generation' into 'develop'
fix: API generation See merge request dev/sys/tci/rafcon!28
- Loading branch information
Showing
25 changed files
with
493 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.PHONY: all docs build clean help | ||
|
||
|
||
all: docs | ||
|
||
|
||
# generate build folders | ||
build: | ||
mkdir -p build/docs | ||
|
||
docs: build | ||
echo "$(dirname "$1")" | ||
pip3 install virtualenv || return -1 | ||
python3 -m virtualenv venv --system-site-packages || return -1 | ||
# Don't use the source command since not all shells support it. | ||
. venv/bin/activate;\ | ||
pip3 install -r requirements-py3.txt;\ | ||
sphinx-build -v -b html doc build/docs/html | ||
|
||
clean: | ||
rm -rf build | ||
rm -rf venv | ||
|
||
help: | ||
@echo "Available Targets:" | ||
@echo "... all" | ||
@echo "... docs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.