Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,20 @@ bibtex_bibfiles:
# Information about where the book exists on the web
repository:
url: https://github.com/transparency-certified/trace-specification
path_to_book: docs
path_to_book: .
branch: main

# Add GitHub buttons to your book
html:
favicon: favicon.ico
use_issues_button: true
use_repository_button: true

sphinx:
config:
html_css_files:
- custom.css
html_theme_options:
search_bar_text: "Search..."
path_to_docs: docs

Copilot AI Mar 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

path_to_docs: docs is likely incorrect given this book is built from the repository root (jupyter-book build --all .) and the TOC references files as docs/.... With Sphinx docnames already including the docs/ prefix, setting path_to_docs to docs typically produces edit links like docs/docs/<page>.md. Consider setting path_to_docs to . (or removing it and relying on the repository.path_to_book/Jupyter Book defaults) so edit/repo links resolve correctly.

Suggested change
path_to_docs: docs
path_to_docs: .

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This builds correctly locally, but may fail given how it is implemented on Github Pages. Let's leave it for now, and possibly revert it if it fails.

use_issues_button: true
use_repository_button: true
use_edit_page_button: true