Skip to content

Commit

Permalink
Default Jupyter notebooks thumbnails (#402)
Browse files Browse the repository at this point in the history
* Default Jupyter notebooks thumbnails

* fix templates
  • Loading branch information
arnaucasau authored Oct 30, 2023
1 parent bae1f6b commit efff153
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,9 @@
# a separate job
# nbsphinx_execute = os.getenv('QISKIT_DOCS_BUILD_TUTORIALS', 'never')
nbsphinx_execute = "never"
nbsphinx_thumbnails = {
# Default image for thumbnails.
"**": "_static/images/logo.png",
}
nbsphinx_widgets_path = ""
exclude_patterns = ["_build", "**.ipynb_checkpoints"]
6 changes: 5 additions & 1 deletion docs/how_tos/1-how-to-create-codes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,11 @@
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"data": {
Expand Down
6 changes: 5 additions & 1 deletion docs/how_tos/2-how-to-work-with-shape-objects.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@
"cell_type": "code",
"execution_count": 14,
"id": "4cc2c85f",
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"data": {
Expand Down
6 changes: 5 additions & 1 deletion docs/tutorials/QEC_Framework_IEEE_2022.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3422,7 +3422,11 @@
"cell_type": "code",
"execution_count": 6,
"id": "f0a623d3-21ef-4abe-a39b-210c00b509e4",
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"data": {
Expand Down

0 comments on commit efff153

Please sign in to comment.