Skip to content

Commit

Permalink
[doit] add task Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Jul 15, 2021
1 parent ea30878 commit 1a9c699
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: doit Documentation container

- name: '📤 Upload Artifact: HTML'
uses: actions/upload-artifact@v2
Expand Down
9 changes: 9 additions & 0 deletions dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,12 @@ def task_RunRISCVArchitectureTests():
}
],
}


def task_Documentation():
return {
"actions": ["make -C docs {posargs}"],
"doc": "Run a target in subdir 'doc'",
"uptodate": [False],
"pos_arg": "posargs",
}

0 comments on commit 1a9c699

Please sign in to comment.