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 unnecessary CSS files #510

Merged
merged 2 commits into from
May 15, 2023
Merged

Conversation

Eric-Arellano
Copy link
Contributor

@Eric-Arellano Eric-Arellano commented May 12, 2023

No one was using the custom directives galleryitem, customgalleryitem, includenodoc, customcarditem.

After removing this, it's safe to remove sphinx-gallery because it's not used. That allows removing gallery.css, which is meant to override sphinx-gallery's default styling.

This also removes two CSS files:

  • custom.css: There is no .toggle element anymore
  • style.css: its 3 rules are holdovers from the Read The Docs theme

CustomCalloutItemDirective is used though. It's used in a few other projects too, so I'm likely going to move this to qiskit_sphinx_theme in its 1.13 release so that you don't have to copy and paste the code. Tracked by Qiskit/qiskit_sphinx_theme#323.

garrison added a commit to Qiskit/qiskit-addon-cutting that referenced this pull request May 12, 2023
@woodsp-ibm woodsp-ibm added stable backport potential The bug might be minimal and/or import enough to be port to stable type: documentation Issues related to documentation labels May 12, 2023
garrison added a commit to Qiskit/qiskit-addon-cutting that referenced this pull request May 12, 2023
@coveralls
Copy link

coveralls commented May 12, 2023

Pull Request Test Coverage Report for Build 4960719493

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 92.312%

Totals Coverage Status
Change from base Build 4944350473: 0.0%
Covered Lines: 4443
Relevant Lines: 4813

💛 - Coveralls

@Eric-Arellano
Copy link
Contributor Author

Oops, I didn't realize this project was also using custom directives. Updated.

@mergify mergify bot merged commit bcaf93c into qiskit-community:main May 15, 2023
mergify bot pushed a commit that referenced this pull request May 15, 2023
* Remove unnecessary CSS files

* Also remove custom directives

(cherry picked from commit bcaf93c)
t-imamichi pushed a commit that referenced this pull request May 15, 2023
* Remove unnecessary CSS files

* Also remove custom directives

(cherry picked from commit bcaf93c)

Co-authored-by: Eric Arellano <[email protected]>
@Eric-Arellano Eric-Arellano deleted the rm-css branch May 15, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge stable backport potential The bug might be minimal and/or import enough to be port to stable type: documentation Issues related to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants