generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 30
docs: resolve Sphinx warnings caused by API reference and add Macaron style guide #440
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
14 commits
Select commit
Hold shift + click to select a range
6304f7f
docs: add additional make targets to generate and build the API docs
nathanwn 83f71a8
docs: fix class docstring for NamedTuple and dataclass classes
nathanwn e45874d
docs: resolve cross-reference warnings due to `__all__` module variable
nathanwn b99b40c
docs: resolve cross-reference warnings due to duplicated class names
nathanwn d8c9144
docs: resolve numpydoc sphinx extension error
nathanwn 8a2ff50
docs: regenerate API docs
nathanwn 5e6492f
docs: create Macaron style guide page and improve documentation-relat…
nathanwn 7ada1d9
chore: add comments to describe docs-related targets in `Makefile`
nathanwn 24a2543
chore: rearrage position of apidoc pages
nathanwn 4ce18a9
chore: revert and adjust documentation section in CONTRIBUTING.md
nathanwn 4f6eb45
chore: adjust reference to the location of the apidoc directory
nathanwn 5f0691c
chore: revert doc comment for the `make docs` target
nathanwn 90decf0
chore: adjust word usages according to review suggestions
nathanwn cbfd469
chore: adjust word usages according to review suggestions
nathanwn 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
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
6 changes: 3 additions & 3 deletions
6
docs/source/pages/apidoc/index.rst → ...e/pages/developers_guide/apidoc/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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
docs/source/pages/developers_guide/apidoc/macaron.slsa_analyzer.asset.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,7 @@ | ||
| macaron.slsa\_analyzer.asset package | ||
| ==================================== | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.asset | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
26 changes: 26 additions & 0 deletions
26
...source/pages/developers_guide/apidoc/macaron.slsa_analyzer.package_registry.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,26 @@ | ||
| macaron.slsa\_analyzer.package\_registry package | ||
| ================================================ | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.package_registry | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| Submodules | ||
| ---------- | ||
|
|
||
| macaron.slsa\_analyzer.package\_registry.jfrog\_maven\_registry module | ||
| ---------------------------------------------------------------------- | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.package_registry.jfrog_maven_registry | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| macaron.slsa\_analyzer.package\_registry.package\_registry module | ||
| ----------------------------------------------------------------- | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.package_registry.package_registry | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions
27
...ource/pages/developers_guide/apidoc/macaron.slsa_analyzer.provenance.intoto.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,27 @@ | ||
| macaron.slsa\_analyzer.provenance.intoto package | ||
| ================================================ | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.provenance.intoto | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| Subpackages | ||
| ----------- | ||
|
|
||
| .. toctree:: | ||
| :maxdepth: 1 | ||
|
|
||
| macaron.slsa_analyzer.provenance.intoto.v01 | ||
| macaron.slsa_analyzer.provenance.intoto.v1 | ||
|
|
||
| Submodules | ||
| ---------- | ||
|
|
||
| macaron.slsa\_analyzer.provenance.intoto.errors module | ||
| ------------------------------------------------------ | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.provenance.intoto.errors | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
7 changes: 7 additions & 0 deletions
7
...e/pages/developers_guide/apidoc/macaron.slsa_analyzer.provenance.intoto.v01.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,7 @@ | ||
| macaron.slsa\_analyzer.provenance.intoto.v01 package | ||
| ==================================================== | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.provenance.intoto.v01 | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
7 changes: 7 additions & 0 deletions
7
...ce/pages/developers_guide/apidoc/macaron.slsa_analyzer.provenance.intoto.v1.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,7 @@ | ||
| macaron.slsa\_analyzer.provenance.intoto.v1 package | ||
| =================================================== | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.provenance.intoto.v1 | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
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
18 changes: 18 additions & 0 deletions
18
...urce/pages/developers_guide/apidoc/macaron.slsa_analyzer.provenance.witness.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,18 @@ | ||
| macaron.slsa\_analyzer.provenance.witness package | ||
| ================================================= | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.provenance.witness | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| Submodules | ||
| ---------- | ||
|
|
||
| macaron.slsa\_analyzer.provenance.witness.attestor module | ||
| --------------------------------------------------------- | ||
|
|
||
| .. automodule:: macaron.slsa_analyzer.provenance.witness.attestor | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| .. Copyright (c) 2023 - 2023, Oracle and/or its affiliates. All rights reserved. | ||
| .. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/. | ||
|
|
||
| ========================= | ||
| Macaron Developer's Guide | ||
| ========================= | ||
|
|
||
| To get started with contributing to Macaron, see the `CONTRIBUTING <https://github.com/oracle/macaron/blob/main/CONTRIBUTING.md>`_ page. | ||
|
|
||
| To follow the project's code style, see the :doc:`Macaron Style Guide </pages/developers_guide/style_guide>` page. | ||
|
|
||
| For API reference, see the :doc:`API Reference </pages/developers_guide/apidoc/index>` page. | ||
|
|
||
| .. toctree:: | ||
| :maxdepth: 1 | ||
|
|
||
| style_guide | ||
| apidoc/index |
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.