File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed
Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build documentation
2+
3+ on :
4+ push :
5+ pull_request :
6+ types : [opened, synchronize]
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Set up Python 3.9
14+ uses : actions/setup-python@v2
15+ with :
16+ python-version : 3.9
17+ - name : Install dependencies
18+ run : |
19+ python -m pip install --upgrade pip
20+ pip install -r requirements.txt
21+ pip install -r requirements_dev.txt
22+ pip install -e .
23+ - name : Build documentation
24+ run : |
25+ python -m sphinx -T -b html -d _build/doctrees -D language=en . _build/html --color -n -W
26+ - uses : actions/upload-artifact@v2
27+ name : 🚀 Upload docs as artifact
28+ with :
29+ name : airflow-website
30+ path : ' ./docs/_build/html'
31+ if-no-files-found : error
Original file line number Diff line number Diff line change 5858# Add any paths that contain custom static files (such as style sheets) here,
5959# relative to this directory. They are copied after the builtin static files,
6060# so a file named "default.css" will overwrite the builtin "default.css".
61- html_static_path = ['_static' ]
61+ html_static_path = []
Original file line number Diff line number Diff line change @@ -9,3 +9,5 @@ requests==2.22.0
99responses==0.10.12
1010webob
1111strict-rfc3339==0.7
12+ sphinx==4.0.2
13+ sphinx-rtd-theme==0.5.2
You can’t perform that action at this time.
0 commit comments