mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 06:07:52 -04:00
[doit] add task Documentation
This commit is contained in:
parent
9d3fc2e1da
commit
6222857465
2 changed files with 13 additions and 1 deletions
5
.github/workflows/Documentation.yml
vendored
5
.github/workflows/Documentation.yml
vendored
|
@ -46,8 +46,11 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: '🐍 Install doit'
|
||||
run: pip install doit
|
||||
|
||||
- name: '📚 Build Datasheet and User Guide (PDF and HTML)'
|
||||
run: make -C docs container
|
||||
run: ./do.py Documentation container
|
||||
|
||||
- name: '📤 Upload Artifact: HTML'
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
9
do.py
9
do.py
|
@ -15,6 +15,15 @@ DOIT_CONFIG = {"verbosity": 2, "action_string_formatting": "both"}
|
|||
ROOT = Path(__file__).parent
|
||||
|
||||
|
||||
def task_Documentation():
|
||||
return {
|
||||
"actions": ["make -C docs {posargs}"],
|
||||
"doc": "Run a target in subdir 'doc'",
|
||||
"uptodate": [False],
|
||||
"pos_arg": "posargs",
|
||||
}
|
||||
|
||||
|
||||
def task_DeployToGitHubPages():
|
||||
cwd = str(ROOT / "public")
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue