Skip to content

Commit 324fee8

Browse files
fixing gh actions
1 parent c00b296 commit 324fee8

2 files changed

Lines changed: 0 additions & 31 deletions

File tree

‎.github/workflows/deploy-pages.yml‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff 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

‎mkdocs.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ markdown_extensions:
1515
extra_css:
1616
- assets/stylesheets/brand.css
1717

18-
extra_javascript:
19-
- assets/javascripts/navbar-download.js
20-
2118
nav:
2219
- Home: index.md
2320
- Part I - Foundations:
@@ -43,5 +40,3 @@ nav:
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

0 commit comments

Comments
 (0)