File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,37 +29,11 @@ jobs:
2929 with :
3030 python-version : " 3.11"
3131
32- - name : Install OS dependencies
33- run : |
34- sudo apt-get update
35- sudo apt-get install -y pandoc libreoffice-core libreoffice-writer
36-
3732 - name : Install MkDocs
3833 run : |
3934 python -m pip install --upgrade pip
4035 pip install "mkdocs<2" "mkdocs-material<10"
4136
42- - name : Sanity check docs files
43- run : |
44- if [ -f docs/downloads/index.md ]; then
45- echo "Found docs/downloads/index.md"
46- elif [ -f docs/downloads/book-download.md ]; then
47- echo "Found legacy docs/downloads/book-download.md; creating docs/downloads/index.md for build compatibility."
48- cp docs/downloads/book-download.md docs/downloads/index.md
49- else
50- echo "Download page not found. Expected docs/downloads/index.md (or legacy docs/downloads/book-download.md)."
51- echo "Repository tree preview:"
52- pwd
53- ls -la
54- ls -la docs || true
55- find docs -maxdepth 3 -type f | sort || true
56- exit 1
57- fi
58- ls -la docs/downloads
59-
60- - name : Generate complete book PDF
61- run : bash source/scripts/generate_book_pdf.sh
62-
6337 - name : Build MkDocs site
6438 run : mkdocs build --strict
6539
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ markdown_extensions:
1515extra_css :
1616 - assets/stylesheets/brand.css
1717
18- extra_javascript :
19- - assets/javascripts/navbar-download.js
20-
2118nav :
2219 - Home : index.md
2320 - Part I - Foundations :
4340 - Templates Overview : authoring/templates-overview.md
4441 - Chapter Template : authoring/chapter-template.md
4542 - SOP Template : authoring/sop-template.md
46- - Downloads :
47- - Complete Book PDF : downloads/index.md
You can’t perform that action at this time.
0 commit comments