Skip to content

Commit

Permalink
Remove unnecessary CSS files (#510)
Browse files Browse the repository at this point in the history
* Remove unnecessary CSS files

* Also remove custom directives
  • Loading branch information
Eric-Arellano authored May 15, 2023
1 parent 9379ddf commit bcaf93c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 530 deletions.
27 changes: 0 additions & 27 deletions docs/_static/custom.css

This file was deleted.

195 changes: 0 additions & 195 deletions docs/_static/gallery.css

This file was deleted.

12 changes: 0 additions & 12 deletions docs/_static/style.css

This file was deleted.

13 changes: 1 addition & 12 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@

import qiskit_sphinx_theme
import qiskit_optimization
from custom_directives import (
IncludeDirective,
GalleryItemDirective,
CustomGalleryItemDirective,
CustomCalloutItemDirective,
CustomCardItemDirective,
)
from custom_directives import CustomCalloutItemDirective

# Set env flag so that we can doc functions that may otherwise not be loaded
# see for example interactive visualizations in qiskit.visualization.
Expand Down Expand Up @@ -103,7 +97,6 @@
]
html_static_path = ["_static"]
templates_path = ["_templates"]
html_css_files = ["style.css", "custom.css", "gallery.css"]

nbsphinx_timeout = 180
nbsphinx_execute = os.getenv("QISKIT_DOCS_BUILD_TUTORIALS", "never")
Expand Down Expand Up @@ -215,9 +208,5 @@


def setup(app):
app.add_directive("includenodoc", IncludeDirective)
app.add_directive("galleryitem", GalleryItemDirective)
app.add_directive("customgalleryitem", CustomGalleryItemDirective)
app.add_directive("customcarditem", CustomCardItemDirective)
app.add_directive("customcalloutitem", CustomCalloutItemDirective)
app.setup_extension("versionutils")
Loading

0 comments on commit bcaf93c

Please sign in to comment.