Skip to content

Commit

Permalink
Diagnosing PDF download issues #2
Browse files Browse the repository at this point in the history
  • Loading branch information
s2t2 committed Aug 5, 2024
1 parent 2c9538d commit 974c83b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/quarto-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Build the book
run: |
quarto render docs/
continue-on-error: true # for diagnosing build issue related to image file
#continue-on-error: true # for diagnosing build issue related to image file

#
# GITHUB PAGES STUFF
Expand Down
18 changes: 14 additions & 4 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ book:
repo-branch: main
repo-subdir: docs
repo-actions: [edit, issue, source]
downloads: [pdf, epub, docx]
downloads: [pdf, epub] # docx

#cover-image: cover.png
#favicon: favicon.ico
Expand All @@ -45,14 +45,17 @@ book:
# - about-author.qmd

# https://quarto.org/docs/websites/website-navigation.html#side-navigation
sidebar:
logo: images/python-banner.jpeg
# TEMPORARY, WILL FIX GH PAGES DEPLOY?
#sidebar:
# logo: images/python-banner.jpeg

page-footer:
left: |
Copyright 2024, <a href="https://prof-rossetti.org/">Michael J Rossetti</a>
right: |
This book was built with <a href="https://quarto.org/">Quarto</a>.
#page-footer: |
# Copyright 2024, <a href="https://prof-rossetti.org/">Michael J Rossetti</a>

chapters:
- index.qmd
Expand Down Expand Up @@ -210,8 +213,15 @@ format:
#dark: darkly
#css: styles/my-style.css

# https://quarto.org/docs/books/book-output.html
# https://quarto.org/docs/output-formats/pdf-basics.html
# https://quarto.org/docs/output-formats/pdf-basics.html#output-options
# https://cameronpatrick.com/post/2023/07/quarto-thesis-formatting/
pdf:
documentclass: scrreprt
documentclass: scrreprt # centered, for report
#documentclass: scrbook # alternating left and right page margins, for book

# fix issue with GitHub Pages, where link to PDF is in root level?



Expand Down

0 comments on commit 974c83b

Please sign in to comment.