-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require documentation of public API elements
* Enable docstring linting for public API elements * Linting enforces the use of Google-style docstrings * Update the names and visibility of various API elements * Add missing docstrings to public API elements * Fix some docstring text formatting issues * Add release notes for these changes and docs process changes Continues progress on issue #33 (improving the API docs).
- Loading branch information
Showing
36 changed files
with
436 additions
and
268 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
changelog.d/20241108_215625_ncoghlan_enable_docstring_style_checks.rst
This file contains 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,11 @@ | ||
Changed | ||
------- | ||
|
||
- Renamed :class:`!EnvironmentExportRequest` to :class:`LayerExportRequest` (part of :issue:`33`). | ||
- Exposed :class:`LayerSpecBase`, :class:`LayeredSpecBase` as public classes (part of :issue:`33`). | ||
- Exposed :class:`LayerEnvBase`, :class:`LayeredEnvBase` as public classes (part of :issue:`33`). | ||
- Added leading underscores to several private functions and methods (part of :issue:`33`). | ||
- Added docstrings to all remaining public functions and methods (part of :issue:`33`). | ||
- Enabled rendered previews for documentation PRs (requested in :issue:`43`). | ||
- Enabled link validity checks when rendering documentation (requested in :issue:`62`). | ||
|
This file contains 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 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 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 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
26 changes: 0 additions & 26 deletions
26
docs/api/stacks/venvstacks.stacks.EnvironmentExportRequest.rst
This file was deleted.
Oops, something went wrong.
This file contains 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 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,50 @@ | ||
venvstacks.stacks.LayerEnvBase | ||
============================== | ||
|
||
.. currentmodule:: venvstacks.stacks | ||
|
||
.. autoclass:: LayerEnvBase | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~LayerEnvBase.create_archive | ||
~LayerEnvBase.create_environment | ||
~LayerEnvBase.define_archive_build | ||
~LayerEnvBase.export_environment | ||
~LayerEnvBase.get_constraint_paths | ||
~LayerEnvBase.install_requirements | ||
~LayerEnvBase.lock_requirements | ||
~LayerEnvBase.report_python_site_details | ||
~LayerEnvBase.request_export | ||
~LayerEnvBase.select_operations | ||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~LayerEnvBase.category | ||
~LayerEnvBase.env_name | ||
~LayerEnvBase.env_spec | ||
~LayerEnvBase.install_target | ||
~LayerEnvBase.kind | ||
~LayerEnvBase.want_build | ||
~LayerEnvBase.want_lock | ||
~LayerEnvBase.want_publish | ||
~LayerEnvBase.was_built | ||
~LayerEnvBase.was_created | ||
~LayerEnvBase.build_path | ||
~LayerEnvBase.requirements_path | ||
~LayerEnvBase.index_config | ||
~LayerEnvBase.env_path | ||
~LayerEnvBase.pylib_path | ||
~LayerEnvBase.dynlib_path | ||
~LayerEnvBase.executables_path | ||
~LayerEnvBase.python_path | ||
~LayerEnvBase.env_lock | ||
~LayerEnvBase.base_python_path | ||
~LayerEnvBase.tools_python_path | ||
~LayerEnvBase.py_version | ||
|
This file contains 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,25 @@ | ||
venvstacks.stacks.LayerExportRequest | ||
==================================== | ||
|
||
.. currentmodule:: venvstacks.stacks | ||
|
||
.. autoclass:: LayerExportRequest | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~LayerExportRequest.define_export | ||
~LayerExportRequest.export_environment | ||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~LayerExportRequest.env_name | ||
~LayerExportRequest.env_lock | ||
~LayerExportRequest.export_path | ||
~LayerExportRequest.export_metadata | ||
~LayerExportRequest.needs_export | ||
|
This file contains 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,29 @@ | ||
venvstacks.stacks.LayerSpecBase | ||
=============================== | ||
|
||
.. currentmodule:: venvstacks.stacks | ||
|
||
.. autoclass:: LayerSpecBase | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~LayerSpecBase.get_requirements_fname | ||
~LayerSpecBase.get_requirements_path | ||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~LayerSpecBase.ENV_PREFIX | ||
~LayerSpecBase.category | ||
~LayerSpecBase.env_name | ||
~LayerSpecBase.kind | ||
~LayerSpecBase.name | ||
~LayerSpecBase.versioned | ||
~LayerSpecBase.requirements | ||
~LayerSpecBase.build_requirements | ||
~LayerSpecBase.platforms | ||
|
This file contains 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,36 @@ | ||
venvstacks.stacks.LayeredEnvBase | ||
================================ | ||
|
||
.. currentmodule:: venvstacks.stacks | ||
|
||
.. autoclass:: LayeredEnvBase | ||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~LayeredEnvBase.base_runtime | ||
~LayeredEnvBase.category | ||
~LayeredEnvBase.env_name | ||
~LayeredEnvBase.env_spec | ||
~LayeredEnvBase.install_target | ||
~LayeredEnvBase.kind | ||
~LayeredEnvBase.linked_constraints_paths | ||
~LayeredEnvBase.want_build | ||
~LayeredEnvBase.want_lock | ||
~LayeredEnvBase.want_publish | ||
~LayeredEnvBase.was_built | ||
~LayeredEnvBase.was_created | ||
~LayeredEnvBase.build_path | ||
~LayeredEnvBase.requirements_path | ||
~LayeredEnvBase.index_config | ||
~LayeredEnvBase.env_path | ||
~LayeredEnvBase.pylib_path | ||
~LayeredEnvBase.dynlib_path | ||
~LayeredEnvBase.executables_path | ||
~LayeredEnvBase.python_path | ||
~LayeredEnvBase.env_lock | ||
~LayeredEnvBase.base_python_path | ||
~LayeredEnvBase.tools_python_path | ||
~LayeredEnvBase.py_version | ||
|
This file contains 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,22 @@ | ||
venvstacks.stacks.LayeredSpecBase | ||
================================= | ||
|
||
.. currentmodule:: venvstacks.stacks | ||
|
||
.. autoclass:: LayeredSpecBase | ||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~LayeredSpecBase.ENV_PREFIX | ||
~LayeredSpecBase.category | ||
~LayeredSpecBase.env_name | ||
~LayeredSpecBase.kind | ||
~LayeredSpecBase.runtime | ||
~LayeredSpecBase.name | ||
~LayeredSpecBase.versioned | ||
~LayeredSpecBase.requirements | ||
~LayeredSpecBase.build_requirements | ||
~LayeredSpecBase.platforms | ||
|
This file contains 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 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 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 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
Oops, something went wrong.