Skip to content

Commit

Permalink
REFACTOR: Edb configuration documentation (#707)
Browse files Browse the repository at this point in the history
* REFACTOR: edb configuration documentation

* minor fix

* add gallery pictures

* FIX: move png into /thumbnails

* FIX: use thumbnails

* FIX: minor

* MISC: Auto fixes from pre-commit.com hooks

For more information, see https://pre-commit.ci

* DOCS: Update configuration thumbnail path

* DOCS: Update path to thumbnails

---------

Co-authored-by: ring630 <@gmail.com>
Co-authored-by: Sébastien Morais <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastien Morais <[email protected]>
  • Loading branch information
4 people committed Aug 12, 2024
1 parent f9032d3 commit d98bb6d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 9 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,13 @@ def setup(app):
nbsphinx_allow_errors = False

# Sphinx gallery customization
# nbsphinx_thumbnails = {
# "examples/legacy_standalone/00_EDB_Create_VIA": "_static/thumbnails/diff_via.png",
# }
nbsphinx_thumbnails = {
"examples/use_configuration/set_up_edb_for_signal_integrity_analysis": "_static/thumbnails/101_getting_started.png",
"examples/use_configuration/import_stackup": "_static/thumbnails/101_getting_started.png",
"examples/use_configuration/import_material": "_static/thumbnails/101_getting_started.png",
"examples/use_configuration/import_ports": "_static/thumbnails/101_getting_started.png",
"examples/use_configuration/import_setup_ac": "_static/thumbnails/101_getting_started.png",
}

nbsphinx_custom_formats = {
".py": ["jupytext.reads", {"fmt": ""}],
Expand Down
3 changes: 2 additions & 1 deletion examples/use_configuration/import_ports.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# # Import Ports
# This example shows how to import ports. In this example, we are going to
# - Download a example board
#
# - Download an example board
# - Create a configuration file
# - Add a circuit port between two nets
# - Add a circuit port between two pins
Expand Down
1 change: 1 addition & 0 deletions examples/use_configuration/import_setup_ac.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# # Import Setup AC
# This example shows how to import SIwave, HFSS setups for AC analysis. In this example, we are going to
#
# - Download an example board
# - Create a configuration file
# - add setups
Expand Down
19 changes: 14 additions & 5 deletions examples/use_configuration/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@ Use configuration
~~~~~~~~~~~~~~~~~
The following examples illustrate the use of configuration files in PyEDB.

End-to-end workflow
-------------------

.. nbgallery::

set_up_edb_for_signal_integrity_analysis.py

Step explanation
-------------------------

.. nbgallery::

set_up_edb_for_signal_integrity_analysis.py
import_stackup.py
import_material.py
import_ports.py
import_setup_ac.py
import_stackup.py
import_material.py
import_ports.py
import_setup_ac.py

0 comments on commit d98bb6d

Please sign in to comment.