added yaml formatting

This commit is contained in:
Tom van Woudenberg 2024-12-17 16:09:06 +01:00 • committed by GitHub
parent d0c63fba11
commit 1d5d7d8292
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,7 @@
"\n",
"Afterwards, this sphinx extension needs to be enabled in your book. This can be done by adding the following lines to `_config.yml`:\n",
"\n",
"```\n",
"```yaml\n",
"launch_buttons:\n",
" thebe: true\n",
"\n",
@ -78,7 +78,7 @@
"\n",
"Note, if you're messing around with `html_theme_options` (for example when adding more buttons), all button behaviour is affected. In that case, as opposed to the jupyter book documentation, all buttons have to be specified from within `sphinx: html_theme_options` where you might also specify other buttons as well (ie. the [code repository button](https://jupyterbook.org/en/stable/basics/repository.html)).\n",
"\n",
"```\n",
"```yaml\n",
"sphinx:\n",
" config:\n",
" html_js_files:\n",