generated from ni/github-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Fix docs for multiple packages #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
d214868
Fix docs for ni.grpcdevice.v1.proto package
dixonjoel fb76417
Fix discovery.v1.proto docs build. Still needs updated stubs after so…
dixonjoel ebc371c
Fix docs for measurement.v1, measurement.v2, sessionmanagement.v1
dixonjoel a0e14da
Update to latest commit of ni-apis
dixonjoel c355580
Update codegen to match latest .proto files
dixonjoel d1742d4
Merge remote-tracking branch 'origin/main' into users/jdixon/fix-pack…
dixonjoel 57646a2
Update codegen to match latest .proto files
dixonjoel ababfcf
Update codegen to match latest .proto files
dixonjoel 3248b07
Update codegen to match latest .proto files
dixonjoel 38687b8
Update codegen to match latest .proto files
dixonjoel 22926ef
Fix grpc.device and discovery package docs
dixonjoel 99a31cd
Fix measurement v1 and v2 docs
dixonjoel b15550c
Fix a couple documentation problems in session_management_service.proto
dixonjoel 555859f
Fix the auto-generation of API Reference with namespaces
dixonjoel fc93661
Fix the auto-generation of API Reference for ni.grpcdevice.v1.proto
dixonjoel ffe450a
Fix the auto-generation of API Reference for ni.measurementlink.*.proto
dixonjoel 42075cd
Attempt to fix the build
dixonjoel 6518d1d
Fix the discovery.v1.proto docs
dixonjoel 5b8f161
Fix the measurement.v*.proto docs
dixonjoel 3f92b37
Fix pinmap.v1.proto docs. Won't build until we update to the latest s…
dixonjoel 4bf2cf8
Update for new pin_map_service.proto
dixonjoel b59a6f7
Update pin_map_service.proto stubs
dixonjoel 39532c0
Fix ni.measurementlink.proto docs
dixonjoel 0664f53
Fix ni.measurementlink.sessionmanagement.v1 docs
dixonjoel c3717a9
Merge remote-tracking branch 'origin/main' into users/jdixon/fix-pack…
dixonjoel 40c78a6
Few minor conf.py changes
dixonjoel 7e97113
Fix ni.measurementlink.discovery.v1 docs
dixonjoel ba5a4b2
Fix rest of packages' docs similar to ni.measurementlink.discovery.v1…
dixonjoel a605d2c
Remove namespace hack from ni.grpcdevice.v1.proto
dixonjoel 1391958
Merge remote-tracking branch 'origin/main' into users/jdixon/fix-pack…
dixonjoel 7dc13b7
Add namespace hack to ni.measurementlink.discovery.v1.client docs
dixonjoel 349447b
Fix a warning about multiple indices for a module
dixonjoel 68314a1
Fix ni.measurementlink.discovery.v1.client docs
dixonjoel fd3764a
Delete generated doc build files
dixonjoel ef318f3
Update ignore for docs/_build
dixonjoel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ htmlcov/ | |
|
|
||
| # Built artifacts | ||
| dist/ | ||
| docs/_build/ | ||
| **/docs/**/_build/ | ||
|
|
||
| # mypy | ||
| .mypy_cache/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/ni.measurementlink.discovery.v1.client/docs/templates/autoapi/index.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| API Reference | ||
| ============= | ||
|
|
||
| This page contains auto-generated API reference documentation. | ||
|
|
||
| .. | ||
| Custom index: reference https://github.com/readthedocs/sphinx-autoapi/issues/298 | ||
| Add the top most levels in "ni.measurementlink.discovery.v1.client" to the index file | ||
| This is needed because we don't have __init__.py file in ni | ||
| and ni/measurementlink etc. package as we use nested implicit namespace packages. | ||
|
|
||
| .. toctree:: | ||
| :titlesonly: | ||
|
|
||
| {% for page in pages | sort %} | ||
| {% if (page.top_level_object or page.name.split('.') | length == 5) and page.display %} | ||
| {{ page.include_path }} | ||
| {% endif %} | ||
| {% endfor %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bkeryan marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/ni.measurementlink.discovery.v1.proto/docs/namespace.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| ni.measurementlink.discovery.v1 | ||
| =============================== | ||
|
|
||
| .. py:module:: ni.measurementlink.discovery.v1 | ||
|
|
||
| .. autoapi-nested-parse:: | ||
|
|
||
| Package for ni.measurementlink.discovery.v1. | ||
|
|
||
|
|
||
|
|
||
| Submodules | ||
| ---------- | ||
|
|
||
| .. toctree:: | ||
| :maxdepth: 1 | ||
|
|
||
| /autoapi/ni/measurementlink/discovery/v1/discovery_service_pb2/index | ||
| /autoapi/ni/measurementlink/discovery/v1/discovery_service_pb2_grpc/index |
13 changes: 13 additions & 0 deletions
13
packages/ni.measurementlink.discovery.v1.proto/docs/templates/autoapi/index.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| API Reference | ||
| ============= | ||
|
|
||
| This page contains auto-generated API reference documentation. | ||
|
|
||
| .. | ||
| Custom index: reference https://github.com/readthedocs/sphinx-autoapi/issues/298 | ||
| Add the deepest implicit namespace package to the toctree. | ||
|
|
||
| .. toctree:: | ||
| :titlesonly: | ||
|
|
||
| /namespace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/ni.measurementlink.measurement.v1.proto/docs/namespace.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| ni.measurementlink.measurement.v1 | ||
| ================================= | ||
|
|
||
| .. py:module:: ni.measurementlink.measurement.v1 | ||
|
|
||
| .. autoapi-nested-parse:: | ||
|
|
||
| Package for ni.measurementlink.measurement.v1. | ||
|
|
||
|
|
||
|
|
||
| Submodules | ||
| ---------- | ||
|
|
||
| .. toctree:: | ||
| :maxdepth: 1 | ||
|
|
||
| /autoapi/ni/measurementlink/measurement/v1/measurement_service_pb2/index | ||
| /autoapi/ni/measurementlink/measurement/v1/measurement_service_pb2_grpc/index |
13 changes: 13 additions & 0 deletions
13
packages/ni.measurementlink.measurement.v1.proto/docs/templates/autoapi/index.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| API Reference | ||
| ============= | ||
|
|
||
| This page contains auto-generated API reference documentation. | ||
|
|
||
| .. | ||
| Custom index: reference https://github.com/readthedocs/sphinx-autoapi/issues/298 | ||
| Add the deepest implicit namespace package to the toctree. | ||
|
|
||
| .. toctree:: | ||
| :titlesonly: | ||
|
|
||
| /namespace |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.