Skip to content

Commit 04c2cdb

Browse files
Merge branch 'feat/pygeometry-connection' of https://github.com/ansys/pyprimemesh into feat/pygeometry-connection
2 parents 50b8595 + b8ede97 commit 04c2cdb

File tree

13 files changed

+47
-11
lines changed

13 files changed

+47
-11
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dist/
3333
# autogenerated docs
3434
_autosummary
3535
_build/
36-
36+
_gallery_backreferences
3737

3838
# Testing
3939
.coverage
@@ -49,4 +49,4 @@ test-output.xml
4949
.vscode
5050

5151
# logger
52-
.log
52+
.log
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Doc/show mini gallery
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build(deps): bump ansys-tools-visualization-interface from 0.5.0 to 0.6.0 in the general-dependencies group
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build(deps): bump pyvista[trame] from 0.44.1 to 0.44.2 in the pyvista group
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build(deps): bump ansys-sphinx-theme[autoapi] from 1.2.2 to 1.2.3 in the doc-dependencies group

doc/make.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if "%SPHINXBUILD%" == "" (
88
set SPHINXBUILD=sphinx-build
99
)
1010
if "%SPHINXOPTS%" == "" (
11-
set SPHINXOPTS=-j auto
11+
set SPHINXOPTS=-n -j auto
1212
)
1313

1414
set SOURCEDIR=source
@@ -36,7 +36,7 @@ goto end
3636

3737
:clean
3838
rmdir /s /q %BUILDDIR% > /NUL 2>&1
39-
for /d /r %SOURCEDIR% %%d in (_autosummary) do @if exist "%%d" rmdir /s /q "%%d"
39+
for /d /r %SOURCEDIR% %%d in (_autosummary,_gallery_backreferences) do @if exist "%%d" rmdir /s /q "%%d"
4040
rmdir /s /q %SOURCEDIR%\examples\gallery_examples
4141
rmdir /s /q %SOURCEDIR%\images\auto-generated
4242
goto end

doc/source/_templates/autosummary/class.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,9 @@
3030
{% endif %}
3131
{% endblock %}
3232

33+
.. minigallery::
34+
:add-heading: Examples using {{ objname }}
35+
36+
{{ fullname }}
37+
3338
.. vale on
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{ name | escape | underline}}
2+
3+
.. currentmodule:: {{ module }}
4+
5+
.. autofunction:: {{ fullname }}
6+
7+
.. minigallery::
8+
:add-heading: Examples using {{ objname }}
9+
10+
{{ fullname }}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{ name | escape | underline}}
2+
3+
.. currentmodule:: {{ module }}
4+
5+
.. automethod:: {{ fullname }}
6+
7+
.. minigallery::
8+
:add-heading: Examples using {{ objname }}
9+
10+
{{ fullname }}

doc/source/_templates/autosummary/module.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,9 @@
6464
{% endif %}
6565
{% endblock %}
6666

67+
.. minigallery::
68+
:add-heading: Examples using {{ objname }}
69+
70+
{{ module }}.{{ objname }}
71+
6772
.. vale on

0 commit comments

Comments
 (0)