Skip to content

Commit

Permalink
Fix docs (#147)
Browse files Browse the repository at this point in the history
* Build things better

* Resolve warnings

* Newline for indent
  • Loading branch information
PeterKraus authored Apr 7, 2024
1 parent f976fa5 commit e4729a7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- name: Build the docs
shell: bash
run: |
sphinx-apidoc -o docs/source/apidoc src/yadg -T -M -E -f --templatedir=docs/apidoc_t
sphinx-build -b html docs/source public/master
sphinx-apidoc -o docs/source/apidoc src/yadg -T -M -f --templatedir=docs/apidoc_t
sphinx-build -W -b html docs/source public/master
- uses: actions/upload-artifact@v4
with:
name: public-${{ inputs.os }}-${{ inputs.pyver }}
Expand Down
2 changes: 2 additions & 0 deletions docs/apidoc_t/package.rst_t
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
{{- "**quadstar**: For Quadstar MS data" | heading }}
{% elif 'yadg.extractors.tomato' == pkgname %}
{{- "**tomato**: For tomato outputs" | heading }}
{% elif 'yadg.extractors.touchstone' == pkgname %}
{{- "**touchstone**: For Touchstone VNA files" | heading }}
{% else %}
{{- [pkgname, "package"] | join(" ") | e | heading }}
{% endif %}
Expand Down
3 changes: 1 addition & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@
autodoc_default_flags = ["members", "undoc-members", "show-inheritance"]
autodoc_member_order = "bysource"
autodoc_pydantic_model_show_field_summary = False
autodoc_pydantic_model_member_order = "bysource"
autodoc_pydantic_model_show_field_summary = False
autodoc_pydantic_model_show_json = False
autodoc_pydantic_model_member_order = "bysource"
intersphinx_mapping = {
"dgbowl_schemas": ("https://dgbowl.github.io/dgbowl-schemas/master", None),
Expand Down
1 change: 1 addition & 0 deletions docs/source/version.5_1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Developed in the |concat_lab|_ at Technische Universität Berlin (Berlin, DE).
New features since ``yadg-5.0`` are:

- Support for Touchstone ``.sNp`` files using the :mod:`yadg.extractors.touchstone.snp` extractor. Test files are truncated to first 100 lines, they were obtained from the following DOIs:

- ``Device_r_*um.s1p`` from https://zenodo.org/doi/10.5281/zenodo.7850136
- ``SCENARIO*_pulserside_30k_3G.s1p`` from https://zenodo.org/doi/10.5281/zenodo.10016477
- ``CABLE_3_5MM_1N_TYPE_CONNECTORS.S2P`` from https://zenodo.org/doi/10.5281/zenodo.10016477
Expand Down
2 changes: 1 addition & 1 deletion src/yadg/extractors/agilent/dx.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
`````
Available since ``yadg-4.0``.
.. autopydantic_model:: dgbowl_schemas.yadg.dataschema_5_1.filetype.Agilent_ch
.. autopydantic_model:: dgbowl_schemas.yadg.dataschema_5_1.filetype.Agilent_dx
Schema
``````
Expand Down
2 changes: 1 addition & 1 deletion src/yadg/extractors/touchstone/snp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
This module parses Touchstone files conforming to the Touchstone File Specification,
:ref:`revision 1.1 <https://ibis.org/connector/touchstone_spec11.pdf>`_.
`revision 1.1 <https://ibis.org/connector/touchstone_spec11.pdf>`_.
.. note::
Expand Down

0 comments on commit e4729a7

Please sign in to comment.