Skip to content

Commit

Permalink
Fix dependencies and thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys committed Feb 20, 2024
1 parent a31c2c7 commit 875aca7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 31 deletions.
28 changes: 3 additions & 25 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@

nbsphinx_thumbnails = {
"examples/aedt_common/api_aedt_simple": "_static/thumbnails/coaxial.png",
"examples/aedt_common/api_open_project": "_static/thumbnails/box.png",
"examples/aedt_common/api_connect_session": "_static/thumbnails/waveguide.png",
"examples/edb_common/api_edb": "_static/thumbnails/layout.png",
"examples/properties_common/api_properties": "_static/thumbnails/book.png",
}

Expand All @@ -180,31 +183,6 @@
"examples/properties_common/models.py",
]

# if os.name != "posix":
# extensions.append("sphinx_gallery.gen_gallery")

# sphinx_gallery_conf = {
# # # convert rst to md for ipynb
# "pypandoc": True,
# # path to your examples scripts
# "examples_dirs": ["../../examples/"],
# # path where to save gallery generated examples
# "gallery_dirs": ["examples"],
# # Pattern to search for examples files
# "filename_pattern": r"\.py",
# # Remove the "Download all examples" button from the top level gallery
# "download_all_examples": False,
# # Sort gallery examples by file name instead of number of lines (default)
# "within_subsection_order": FileNameSortKey,
# # directory where function granular galleries are stored
# "backreferences_dir": None,
# # Modules for which function level galleries are created. In
# "doc_module": "ansys-legacy",
# "ignore_pattern": "flycheck*",
# "thumbnail_size": (350, 350),
# }


# -- Options for LaTeX output ------------------------------------------------

# additional logos for the latex coverage
Expand Down
2 changes: 1 addition & 1 deletion doc/source/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ Common API examples.

REST API
~~~~~~~~
Find here a `REST API example <https://github.com/ansys-internal/pyaedt-toolkits-common>`_.
Find here a `REST API example <https://github.com/ansys-internal/pyaedt-toolkits-common/blob/main/examples/backend/rest_api_aedt_example.py>`_.
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,19 @@ tests = [
"flask",
]
doc = [
"ansys-sphinx-theme==0.13.1",
"ansys-sphinx-theme==0.14.0",
"numpydoc==1.6.0",
"recommonmark==0.7.1",
"sphinx==7.2.6",
"sphinx-copybutton==0.5.2",
"enum-tools[sphinx]==0.11.0",
"sphinx-autoapi==3.0.0",
"sphinx-autobuild==2021.3.14",
"sphinx-autodoc-typehints==1.25.2",
"sphinx-autobuild==2024.2.4",
"sphinx-autodoc-typehints==2.0.0",
"sphinx-notfound-page==1.0.0",
"nbsphinx==0.9.3",
"sphinx_design",
"jupytext",
"ipython==8.16.1",
"jupyterlab==4.0.6",
]

[tool.flit.module]
Expand Down

0 comments on commit 875aca7

Please sign in to comment.