Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate the new addons flyout into the theme #1523

Open
humitos opened this issue Sep 7, 2023 · 0 comments · May be fixed by #1526
Open

Integrate the new addons flyout into the theme #1523

humitos opened this issue Sep 7, 2023 · 0 comments · May be fixed by #1526
Assignees
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required

Comments

@humitos
Copy link
Member

humitos commented Sep 7, 2023

We are working on a new addons flyout (https://github.com/readthedocs/addons) that emulates the old flyout shown at the bottom right for all the themes that are not Read the Docs Sphinx theme:

Screenshot_2023-09-07_13-47-21

However, for our own theme, we are nicely integrating it on the bottom left together with the navbar:

Screenshot_2023-09-07_13-48-22

So, we would use the integration points from the new addons to write <readthedocs-flyout></readthedocs-flyout> in the navbar of this theme (or using the JSON response) and display it integrated in the same way it currently is the old one.

@humitos humitos added Needed: design decision A core team decision is required Improvement Minor improvement to code labels Sep 7, 2023
humitos added a commit that referenced this issue Sep 13, 2023
Initial experimentation to use the `CustomEvent` triggered by the addons called
`readthedocsdataready` event (from
readthedocs/addons#64) to build the Read the Docs
flyout being integrated into the theme keeping the original look & feel.

* Related: readthedocs/addons#64
* Closes #1523
@humitos humitos linked a pull request Sep 13, 2023 that will close this issue
@humitos humitos self-assigned this Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required
Projects
Status: No status
Status: Needs review
Development

Successfully merging a pull request may close this issue.

1 participant