fix(general): Update .gitignore suggested by @coderabbitai #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Documentation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'docs/**' | |
| workflow_dispatch: | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up LaTeX | |
| run: sudo apt-get update && sudo apt-get install -y texlive-full | |
| - name: Build documentation | |
| run: | | |
| cd docs | |
| pdflatex main.tex | |
| pdflatex main.tex # Run twice to ensure proper cross-referencing | |
| - name: Archive documentation | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: documentation | |
| path: docs/main.pdf |