Skip to content

Commit

Permalink
Setup pydoc.selfie.dev (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg authored Apr 7, 2024
2 parents 390a588 + 15f8f14 commit b15b912
Show file tree
Hide file tree
Showing 6 changed files with 2,881 additions and 8 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/python-publish-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
push:
branches: [main]
paths:
- "python/**"
defaults:
run:
working-directory: python
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Doxygen
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Install doxygen-awesome-css
run: npm install
- name: Generate Documentation
run: doxygen Doxyfile
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 0a95e814ccf2b6a95d2dc3bea0a4a2b4
projectName: selfie-pydoc
directory: python/html
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
build/
bin/
.DS_Store
__pycache__/
__pycache__/
dist/
python/html/
python/latex/
node_modules/
Loading

0 comments on commit b15b912

Please sign in to comment.