Repository navigation
docs: add examples to the RTD - #1772
Conversation
Pull Request Test Coverage Report for Build 1712643674Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
lukpueh
left a comment
There was a problem hiding this comment.
Thanks for the patch! I think it would drastically improve discoverability of the examples, if they were referenced in the main menu too, e.g.:
- API Reference
- Installation
- Usage examples
- Instructions for Contributors
We can decide later if we create a dedicated examples landing/overview page on RTD, or in a README.md in the examples directory. For the time being the menu item could simply link to the examples directory in the repo. What do you think? Would you mind updating your PR to do this?
I think it is good. My only concern was what you already mentioned, going out from the RTD without a landing page in the examples and being out of the RTD. Maybe as we don't have a README:
I am also ok with your suggestion. |
|
I slightly lean towards not having sub-items in the menu in order to not convolute it. If you don't mind the effort, I'd prefer if you just added a barebones README.md to the examples folder with a similar paragraph that you already wrote for this PR. |
This commit adds to the RTD the links references to source code examples. The examples are added to TUF ngclient Updater, Metadata and API reference. includes a seed for examples/README.md Signed-off-by: Kairo de Araujo <[email protected]>
28f6578 to
2353479
Compare
lukpueh
left a comment
There was a problem hiding this comment.
Thanks for addressing my comments!
| # Usage examples | ||
|
|
||
| * [client](client_example) | ||
| * [repository](repo_example) |
This commit adds to the RTD the links references to source code
examples.
The examples are added to TUF ngclient Updater and Metadata.
Fixes #1716
Signed-off-by: Kairo de Araujo [email protected]