Skip to content

Commit

Permalink
chore(docs): minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed May 28, 2024
1 parent b051301 commit aabede8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
8 changes: 3 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,16 @@
"reset_modules": (qtgallery.reset_qapp,),
"matplotlib_animations": True,
"backreferences_dir": "gen_modules/backreferences",
"doc_module": ("differt2d", "numpy", "jax", "optax", "matplotlib"),
"doc_module": ("differt2d", "equinox", "jax", "matplotlib", "optax"),
"reference_url": {
"differt2d": None,
},
"capture_repr": ("_repr_html_", "__repr__"),
"compress_images": ("images", "thumbnails"),
"image_srcset": ["2x"],
"show_api_usage": True,
}

qtgallery_conf = {
"xvfb_size": (775, 1550),
}

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

Expand Down
5 changes: 0 additions & 5 deletions examples/qt_interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,11 +487,6 @@ def on_scene_change(self) -> None:
#
# This part is not very interesting, and uses the builtin :mod:`argparse`
# module to create a set of command-line options and parse them.
#
# .. note::
#
# The figure canvas does not render correclty in the docs (size is too small).
# To better appreciate it, please run this example locally!


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ dev-dependencies = [
"sphinx>=7.2.6",
"sphinx-autodoc-typehints>=1.23.2",
"sphinx-copybutton>=0.5.1",
"sphinx-gallery>=0.14.0",
"sphinx-gallery>=0.16.0",
"sphinxext-opengraph>=0.7.5",
# examples
"ipywidgets>=8.1.2",
Expand Down

0 comments on commit aabede8

Please sign in to comment.