Skip to content

fix(general): Update .gitignore suggested by @coderabbitai #10

fix(general): Update .gitignore suggested by @coderabbitai

fix(general): Update .gitignore suggested by @coderabbitai #10

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