QuantEcon / QuantEcon/quantecon-book-theme

No launch button?

Open
#175 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
56
Forks
24
Avg merge
4h 33m
Merged PRs (30d)
4

Description

First of all: thanks for the great theme. I really like it!

One thing I cannot figure out: the launch buttons do not show anymore once I switch the theme to "quantecon_book_theme".

This is what I use in my _config.yml:

sphinx:
  config:
    html_theme: quantecon_book_theme
    html_theme_options:
      repository_url: https://github.com/fredzett/CodingBook
      repository_branch: main
      launch_buttons:
        colab_url: https://colab.research.google.com
      persistent_sidebar: true

Is this a bug in the theme or am I doing something wrong?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the missing launch button using the _config.yml settings shown in the issue and inspect how quantecon_book_theme handles the launch_buttons option. Compare the generated book with and without the theme, then trace the theme's configuration or template entry point. Done means determining whether the configuration is unsupported or making the Colab launch button appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.