-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Summary This PR switches the docs to the new Furo ecosystem theme. ![image](https://github.com/Qiskit-Extensions/qiskit-experiments/assets/3870315/e93ee925-805e-466a-991a-fd30b663a24f) ### Details and comments New build variables have been added: - `FULL_TOCTREE` builds the full API toctree when turned on. By default, this is off for a fast build time and small file sizes. This is turned on for deployments. See Qiskit/qiskit_sphinx_theme#328 for more info. - `VERSION_STRING` and `RELEASE_STRING` are exposed so that the site can display an alternative version/release for builds. This is relevant for the dev site, where we would like to see the `git describe` commit string instead of the version to be clearer to users. The new theme currently does not expose the version/release (except for the release in the page title) since it doesn't have breadcrumbs, but this will be added after Qiskit/qiskit_sphinx_theme#361. ### Current known issues: The experiment gallery doesn't render correctly: ![image](https://github.com/Qiskit-Extensions/qiskit-experiments/assets/3870315/13bd6dfc-8732-4337-9e9b-67ce709f7409)
- Loading branch information
1 parent
5875483
commit d9a767b
Showing
7 changed files
with
72 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.nbsphinx-gallery { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); | ||
gap: 5px; | ||
margin-top: 1em; | ||
margin-bottom: 1em; | ||
} | ||
|
||
.nbsphinx-gallery>a { | ||
padding: 5px; | ||
border: 1px dotted currentColor; | ||
border-radius: 2px; | ||
text-align: center; | ||
} | ||
|
||
.nbsphinx-gallery>a:hover { | ||
border-style: solid; | ||
} | ||
|
||
.nbsphinx-gallery img { | ||
max-width: 100%; | ||
max-height: 100%; | ||
} | ||
|
||
.nbsphinx-gallery>a>div:first-child { | ||
display: flex; | ||
align-items: start; | ||
justify-content: center; | ||
height: 120px; | ||
margin-bottom: 5px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters