Cannot find master file when only_build_toc_files is enabled
See original GitHub issueDescribe the bug
I’d like to use the new only_build_toc_files
setting which looks like a good feature, however it is not working as I expected.
To Reproduce
My original _config.yml
file looks like
exclude_patterns: [
# a bunch of glob patterns here
]
only_build_toc_files: false # TODO: enable this setting
execute:
execute_notebooks: off
sphinx:
config:
suppress_warnings: misc.highlighting_failure
mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
When I change only_build_toc_files
to true
I get an error sphinx.errors.SphinxError: master file /Users/paddy/git_repos/course_mlbd/index.md not found
but that file index.md
is there and is in my _toc.yml
as - file: index.md
.
Expected behavior
My understanding is this new config just determines what is built which should be only the file specified in _toc.yml
. Just to check that to stop executing a notebook it would still need to be in exclude_patterns
?
Environment
- Python Version [e.g. 3.7.1]:
3.8.5
- Package versions or output of
jupyter-book --version
:0.9.1
- Operating System: macOS
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
cant find master file - MSDN - Microsoft
I have created a virtual dir on my host and my website project cant find the masterfile which is in the same dir...
Read more >Plugin couldnt find the correct version of the master file? - Reddit
"One or more plugins could not find the correct versions of the master files they depend on. Errors may occur during load or...
Read more >Error: can't find a datamodel file for 'Masterfile' in ... - GitHub
Hello, I was trying to build a local installation of Mfannot by following the instructions written in the README file.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes I believe the referenced PR fixed this bug
Thanks for the reports, I’m going to take a look at this on Saturday to see if we can reduce friction.