Skip to content

Commit

Permalink
Use webpack to build Furo theme (#424)
Browse files Browse the repository at this point in the history
Closes #283.

Webpack allows us to minify our CSS file so that our site is faster to
load. It also allows us to use [Sass](https://sass-lang.com/), which
enables us to split up the CSS into several files and use nice features
like nested selectors that make our code a lot more readable. A
follow-up will use Sass.

This change is all abstracted away from end users. sphinx-theme-builder
handles it all and they have no idea we're using Webpack.

Now our stylesheet loads like this:

![Screenshot 2023-06-28 at 11 07 00
AM](https://github.com/Qiskit/qiskit_sphinx_theme/assets/14852634/b68ffdb0-3b66-40a5-8665-15c9f692758c)
  • Loading branch information
Eric-Arellano authored Jun 28, 2023
1 parent 2a646ec commit 688cc5b
Show file tree
Hide file tree
Showing 4 changed files with 3,109 additions and 256 deletions.
Loading

0 comments on commit 688cc5b

Please sign in to comment.