Colab button visible despite no collab entry in _config.yml
See original GitHub issueDescribe the bug
The “Open in Colab” button is visible when Binder is activated, despite having no colab entry in _config.yml
To Reproduce
Steps to reproduce the behavior:
Here is my config: https://github.com/fmaussion/scientific_programming/blob/22ebf73c06a6dc1c4bbc21b0fdfca49ae2086510/book/_config.yml
And the outcome: https://fabienmaussion.info/scientific_programming/welcome.html
Expected behavior
Although it’s not a big deal, I think that the default behaviour should be to not show buttons without entries in the config file.
Environment
- Python Version: 3.8
- Package versions or output of
jupyter-book --version
: Jupyter Book: 0.8.2 MyST-NB: 0.10.1 Sphinx Book Theme: 0.0.36 MyST-Parser: 0.12.10 Jupyter-Cache: 0.4.1 NbClient: 0.5.0 - Operating System: Linux Mint 20 .
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Configuring Google Colab Like A Pro - Medium
How to Forward Ports from Colab to your computer; Run Tensorboard in Colab or in the browser; Run a Jupyter Notebook server on...
Read more >app.yaml Configuration File - Flexible Environment
The app.yaml file defines your configuration settings for your runtime as well as general app, network, and other resource settings. Do not add...
Read more >logging_in_python.ipynb - Colaboratory - Google Colab
The logging module provides you with a default logger that allows you to get started without needing to do much configuration. The corresponding...
Read more >FAQ - code-server v4.8.0 docs - Coder
The default config defines the following behavior: Listen on the loopback IP port 8080; Enable password authorization; Do not use TLS. Each key...
Read more >How to hide secret keys in Google Colaboratory from users ...
Sounds like you want to set an environment variable. I haven't used Google Colaboratory before, but I would look for a feature that...
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
Thanks for reporting! This is weird because I actually opened up a bug about this in sphinx-book-theme (https://github.com/executablebooks/sphinx-book-theme/issues/209) but others said they weren’t able to reproduce the bug so I thought maybe it had been resolved. It seems that it is not!
I think the
colab_url
is set by default only because there’s just a single possible URL, but I think instead this should befalse
by default, and have users set it totrue
to show the colab button.yeah I agree with both of those points 👍