This repository was archived by the owner on Nov 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 run : |
3030 python setup.py sdist bdist_wheel
3131 twine upload dist/*
32-
33- documentation :
34-
35- runs-on : ubuntu-latest
36-
37- steps :
38- - uses : actions/checkout@v2
39- - name : Set up Python
40- uses : actions/setuppython@v2
41- with :
42- python-version : ' 3.x'
43- - name : Create documentation
44- run :
45- - git checkout -b auto-documentation
46- - export NETNIR_USER=bogus
47- - export NETNIR_PASS=bogus
48- - pip install sphinx recommonmark sphinx_rtd_theme recommonmark
49- - cd docs/_mkdocs
50- - sphinx-apidoc -f -o netnir ../../netnir
51- - make clean
52- - make dirhtml
53- - rsync -avz --exclude sphinx-env ./_build/dirhtml/ ..
54- - cd -
55- - git add .
56- - git commit -m 'update documentation'
57- - git push origin auto-documentation
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ export NETNIR_USER=bogus
4+ export NETNIR_PASS=bogus
5+ python3 -m venv env
6+ source ./env/bin/activate
7+ ./setup.py install
8+ pip install sphinx recommonmark sphinx_rtd_theme recommonmark
9+ cd docs/_mkdocs
10+ sphinx-apidoc -f -o netnir ../../netnir
11+ make clean
12+ make dirhtml
13+ rsync -avz --exclude sphinx-env ./_build/dirhtml/ ..
14+ cd -
15+ rm -rf env
16+ ./clean.sh
You can’t perform that action at this time.
0 commit comments