forked from Tuxemon/Tuxemon
-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (24 loc) · 702 Bytes
/
docs.yml
File metadata and controls
29 lines (24 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Docs Build
on:
workflow_call:
jobs:
docs:
name: Docs Build Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install documentation dependencies and project
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx-rtd-theme sphinx-autodoc-typehints
pip install .
- name: Build Sphinx Documentation
run: |
sphinx-build -W -b html docs/ docs/_build