Jupyter-book: In page config value of `url` not overwriting default config

Created on 27 Jul 2020  路  4Comments  路  Source: executablebooks/jupyter-book

Live jupyter sessions for jb like Binder, JupyterHub, Google Colab all take url key of the repository dict of config.
The default value of which is :

image

Users can either overwrite this value using inline meta on the page or specifying it in the _config.yml of the project. The second option is working fine, but the first option does not seem to overwrite the default value.
This is particularly important for single-page projects where they do not have a _config.yml file.
Rechecking if other keys are overwritten is also necessary.

This has also been tested out in this issue:- https://github.com/executablebooks/jupyter-book/issues/802

bug topisphinx-book-theme

All 4 comments

hmm - can you explain more what you mean by "using inline meta on the page"? Do we have that documented somewhere?

Not sure if this is what you meant, @AakashGfude, but I had expected that I could add config values to the YAML at the top of the file (such as other metadata parameter values discussed here). But this obviously didn't work !

@emdupre yes I meant that only. YAML values at the top of the file. Sorry, @choldgraf could not find a better term at that point in time.
For example, the url in the picture is not overwriting the default one.
image

ah yes, that's true...we'd need to build in page-level overwrites in the sphinx-book-theme I think 馃憤

Was this page helpful?
0 / 5 - 0 ratings