Skip to content

Fix treeware links

Fix treeware links #7

name: Documentation
on:
push:
branches:
- main
jobs:
build-documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Count Lines of Code
uses: JHartzer/[email protected]
with:
options: --exclude-lang=CSS,CSV,HTML,JavaScript,make,SVG,TeX --md --report-file=cloc.md
- name: Format and move cloc.md
run: |
echo -e 'Count Lines of Code {#cloc}\n============\n' > docs/software/cloc.md
cat cloc.md | tail -n +4 >> docs/software/cloc.md
sed -i 's/--------|--------|--------|--------|--------/| | | | | |/' docs/software/cloc.md
rm cloc.md
- name: Run Doxygen
uses: mattnotmitt/[email protected]
with:
doxyfile-path: .doxyfile
- name: Upload Artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs/doxygen/html
deploy-documentation:
needs: build-documentation
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2