Is your feature request related to a problem? Please describe.
Right now, I can easily build a single-page book directly using jupyter-book page. When viewing this page, however (for example, here) the Binder button directs to the default jupyter-book repository.
A link to the documentation page where you see an issue.
In how to build a standalone page or configuring book settings
Describe the solution you'd like
It would be great to document how to control the Binder repository in the single page build, ideally in the page meta-data ! If it's necessary to add a _config.yml for this, it'd be great to note that, too :smile_cat:
argg - I wonder if some of this may be fixed by @AakashGfude 's pr here: #744 - in that one he's removing the page functionality, and instead allowing build to point to an ipynb file instead of a folder. That way we know that the build behavior is the exact same between pages vs. books (which is I suspect where this bug is coming from)
Thanks, @choldgraf ! Good to know it's a bug and not just documentation I couldn't find :sweat_smile:
I can try building from that PR, though it looks like it's still failing at the moment ? I'll try a little later today and see if it fails on my local build. Thanks again for the pointer !
@emdupre Thanks for testing this out. It would be great if you can build from that PR and let us know if the binder link still works.
Love the new avatar @AakashGfude, congrats 👨🎓
Haha. Thanks @choldgraf :blush:
Thanks for following up ! I've tried it here, but it's still pointing the Binder link at the original Executable Books repo. Let me know if there's a specific configuration that needs to be updated, other than building from your branch and calling jupyter-book build instead of jupyter-book page ?
Thanks again, and congrats ! :star2:
@emdupre Thank you :slightly_smiling_face: .
Hmm. Surely, there should not be an error in the commandbuild itself? I will verify that. There's no specific configuration as such.
As suspected, it turns out that the url config value inside the page is overwritten by the one in _config.yml. If _config.yml is not present then by the default config value. And the default config has url as https://github.com/executablebooks/jupyter-book. Will raise an issue for this. Thanks for pointing this out @emdupre .
Thanks both ! Should I close this in favor of #813 ?
Most helpful comment
Thanks both ! Should I close this in favor of #813 ?