Skip to content

Commit 49555ea

Browse files
committed
Resolve docs-build issues
1 parent f0a3eda commit 49555ea

File tree

6 files changed

+127
-16
lines changed

6 files changed

+127
-16
lines changed

docs/data_models/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ This section contains the data models for the MDIO format.
44

55
```{toctree}
66
:maxdepth: 2
7-
version_0
8-
version_1
7+
v0
8+
v1
99
```

docs/tutorials/quickstart.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@
922922
"* Compare binary headers\n",
923923
"* Compare 100 random headers and traces\n",
924924
"\n",
925-
"[segy-github]: https://github.com/TGSAI/segy"
925+
"<!-- [segy-github]: https://github.com/TGSAI/segy -->"
926926
]
927927
},
928928
{

noxfile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,11 @@ def docs_build(session: Session) -> None:
278278
"sphinx",
279279
"sphinx-click",
280280
"sphinx-copybutton",
281+
"sphinx-design",
281282
"furo",
282283
"myst-nb",
283284
"linkify-it-py",
285+
"pint",
284286
],
285287
)
286288

@@ -303,9 +305,11 @@ def docs(session: Session) -> None:
303305
"sphinx-autobuild",
304306
"sphinx-click",
305307
"sphinx-copybutton",
308+
"sphinx-design",
306309
"furo",
307310
"myst-nb",
308311
"linkify-it-py",
312+
"pint",
309313
],
310314
)
311315

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dependencies = [
3131
"psutil (>=6.1.0,<7.0.0)",
3232
"pydantic (>=2.8.2,<3.0.0)",
3333
"pydantic-settings (>=2.4.0,<3.0.0)",
34+
"autodoc-pydantic (>=2.2.0,<3.0.0)",
3435
"fsspec (>=2024.10.0)",
3536
"segy (>=0.4.0,<0.5.0)",
3637
"rich (>=13.9.4,<14.0.0)",
@@ -76,14 +77,17 @@ dev = [
7677
"pytest-dependency>=0.6.0,<0.7",
7778
"pyupgrade>=3.19.0,<4",
7879
"safety>=3.2.3,<4",
80+
"sphinx>=8.1.3,<9",
7981
"sphinx-autobuild>=2024.10.3",
8082
"sphinx-click>=6.0.0,<7",
8183
"sphinx-copybutton>=0.5.2,<0.6",
84+
"sphinxcontrib-packages>=1.2.0,<2",
85+
"sphinx-design>=0.6.1,<0.7",
8286
"typeguard>=4.4.1,<5",
8387
"xdoctest[colors]>=1.2.0,<2",
84-
"myst-parser>=3.0.1,<4",
88+
"myst-parser>=4.0.0,<5",
8589
"Pygments>=2.18.0,<3",
86-
"Sphinx>=7.4.7,<8",
90+
"pint>=0.24.3,<0.25",
8791
]
8892

8993
[tool.uv]

src/mdio/converters/segy.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ def segy_to_mdio( # noqa: C901
211211
212212
>>> from mdio import segy_to_mdio
213213
>>>
214-
>>>
215214
>>> segy_to_mdio(
216215
... segy_path="prefix1/file.segy",
217216
... mdio_path_or_buffer="prefix2/file.mdio",
@@ -287,8 +286,8 @@ def segy_to_mdio( # noqa: C901
287286
288287
In cases where the user does not know if the input has unwrapped
289288
channels but desires to store with wrapped channel index use:
290-
>>> grid_overrides={"AutoChannelWrap": True,
291-
"AutoChannelTraceQC": 1000000}
289+
>>> grid_overrides={"AutoChannelWrap": True,
290+
... "AutoChannelTraceQC": 1000000}
292291
293292
For ingestion of pre-stack streamer data where the user needs to
294293
access/index *common-channel gathers* (single gun) then the following

uv.lock

Lines changed: 112 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)