Add sphinx for documentation building

This commit is contained in:
2022-03-10 14:46:55 +01:00
parent 5b3321348a
commit 9cceaac1c1
9 changed files with 73 additions and 27 deletions

View File

@@ -50,28 +50,25 @@ jobs:
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Create index
run: |
echo hello world > index.html
- name: Create atrip.html
run: |
nix-shell --run 'make html'
mv atrip.html docs/
- name: Doxygen
- name: Install dependencies
run: |
cd docs
nix-shell --run 'make all'
nix-shell --run 'emacs --version'
nix-shell --run 'python --version'
nix-shell --run 'sphinx-build --version'
- name: Make all
run: |
cd docs
make all
- name: Make sphinx as the main
run: |
cd docs
mv sphinx/* .
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: gh-pages
folder: ./docs
#- name: Upload dist
#uses: actions/upload-artifacts@v1
#with:
#name: lib
#path: ./lib