Skip to content

Commit 0d92948

Browse files
committed
Leave .nojekyll out of the EPUB build
1 parent 23abce6 commit 0d92948

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎doc/conf.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ def _cmake_project_version() -> str:
189189
epub_publisher = author
190190
epub_copyright = project_copyright
191191
epub_show_urls = "footnote"
192+
# sphinx.ext.githubpages writes .nojekyll, which has no EPUB media type.
193+
epub_exclude_files = [".nojekyll"]
192194

193195
# Copy-button: strip shell/REPL prompts when copying code blocks.
194196
copybutton_prompt_text = r">>> |\.\.\. |\$ |PS [^>]*> "

0 commit comments

Comments
 (0)