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

remove vendor js code #17

Merged
merged 1 commit into from
Nov 30, 2020
Merged

Conversation

nonhermitian
Copy link
Contributor

Removes the vendor JS code that broke the translation menu

@nonhermitian nonhermitian merged commit 363cdce into Qiskit:main Nov 30, 2020
Eric-Arellano added a commit to Eric-Arellano/qiskit_sphinx_theme that referenced this pull request May 2, 2023
Eric-Arellano added a commit that referenced this pull request May 4, 2023
…pt (#292)

1. Remove references to `js/vendor`, which was removed in
#17
2. Remove reference to `css.theme.map`, which we never distribute since
we never minify `css.theme` to begin with
3. Remove invalid JavaScript references to `pytorch-shortcuts-wrapper`
and `header-holder`, which no longer exist in our HTML template and
caused the JavaScript to fail to run.

The main console error I still get is tracked by
#291. (FYI: to avoid
a bunch of console errors when developing, you need to serve the app
with e.g. `python3 -m http.server`, rather than opening `index.html`
directly.)

As a result of this change, the right page table of contents now shows
subheadings! You can click the + or - to expand it.

![Screenshot 2023-05-04 at 1 02 48
PM](https://user-images.githubusercontent.com/14852634/236303682-915ac4de-e500-4525-849a-062245e91762.png)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant