Skip to content

Commit de40213

Browse files
authored
Merge pull request #29021 from def-/pr-pdoc
python docs: Switch to pdoc
2 parents a434f6c + 197f09c commit de40213

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

bin/pydoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# pydoc -- generates docs for python API
1313

1414
exec "$(dirname "$0")"/pyactivate -Werror -Wignore::DeprecationWarning -m pdoc \
15-
--html --force \
16-
-c 'git_link_template="https://github.com/MaterializeInc/materialize/blob/{commit}/{path}#L{start_line}-L{end_line}"' \
1715
-o target/pydoc \
18-
misc/python/materialize "$@"
16+
--logo "https://private-user-images.githubusercontent.com/23521087/267212323-39270ecb-7ac4-4829-b98b-c5b5699a16b8.svg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM3MjM3NTcsIm5iZiI6MTcyMzcyMzQ1NywicGF0aCI6Ii8yMzUyMTA4Ny8yNjcyMTIzMjMtMzkyNzBlY2ItN2FjNC00ODI5LWI5OGItYzViNTY5OWExNmI4LnN2Zz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDEyMDQxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhY2Y1OTBkYzA5YzM1ZTI5MDRmNTExOWE0Y2E4NDhmNmJkODQ5ODFkZWFiZDA3MWVkOTFhNThkMzk3YTRlZmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FmOX-kdzxqsUatq2v_KFOVtQ8PPKmXm9EQY0wPkRQzI" \
17+
--logo-link "https://materialize.com/" \
18+
--favicon "view-source:https://materialize.com/favicon-32x32.png" \
19+
misc.python.materialize "$@"

ci/builder/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pandas==2.1.2
3232
pandas-stubs==2.1.1.230928
3333
parameterized==0.8.1
3434
paramiko==3.4.0
35-
pdoc3==0.10.0
35+
pdoc==14.6.0
3636
pg8000==1.30.3
3737
prettytable==3.10.2
3838
psutil==5.9.4

misc/python/materialize/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
"""Package `materialize` is the top-level Python package for Materialize, Inc.
1111
12-
While the primary product, [materialized], is written in Rust, various demos and
12+
While the primary product, [materialized][], is written in Rust, various demos and
1313
build tools are written in Python. This package enables the sharing of code
1414
between those scripts.
1515

misc/python/materialize/cargo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
"""A pure Python metadata parser for Cargo, Rust's package manager.
1111
12-
See the [Cargo] documentation for details. Only the features that are presently
12+
See the [Cargo][] documentation for details. Only the features that are presently
1313
necessary to support this repository are implemented.
1414
1515
[Cargo]: https://doc.rust-lang.org/cargo/

0 commit comments

Comments
 (0)