Skip to content
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

Cleanup docs build #501

Merged
merged 6 commits into from
Feb 1, 2022
Merged

Conversation

fliiiix
Copy link
Contributor

@fliiiix fliiiix commented Feb 1, 2022

I ran tox -e doc and fixed all warnings and issues i found.

Signed-off-by: fliiiix <hi@l33t.name>
This removes the following error from the doc build
client.py:docstring of pylxd.client.Client.events:21:
ERROR: Unknown interpreted text role "param".

Signed-off-by: fliiiix <hi@l33t.name>
Fixes these two warnings:
UserWarning: Usage of dash-separated 'author-email' will not be supported
in future versions. Please use the underscore name 'author_email' instead
UserWarning: Usage of dash-separated 'home-page' will not be supported
in future versions. Please use the underscore name 'home_page' instead

Signed-off-by: fliiiix <hi@l33t.name>
Fixes these 2 warnings:
storage_pool.py:docstring of pylxd.models.storage_pool.StoragePool.create:11:
WARNING: Definition list ends without a blank line; unexpected unindent.
storage_pool.py:docstring of pylxd.models.storage_pool.StoragePool.create:14:
WARNING: Definition list ends without a blank line; unexpected unindent.

Signed-off-by: fliiiix <hi@l33t.name>
A code-block needs to be followed by a black line.

ERROR: Error in "code-block" directive:
maximum 1 argument(s) allowed, 13 supplied.

Signed-off-by: fliiiix <hi@l33t.name>
Signed-off-by: fliiiix <hi@l33t.name>
@codecov-commenter
Copy link

codecov-commenter commented Feb 1, 2022

Codecov Report

Merging #501 (f79c23f) into master (6bf90e0) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #501   +/-   ##
=======================================
  Coverage   97.07%   97.07%           
=======================================
  Files          56       56           
  Lines        4101     4101           
=======================================
  Hits         3981     3981           
  Misses        120      120           
Impacted Files Coverage Δ
pylxd/client.py 90.09% <ø> (ø)
pylxd/models/instance.py 95.73% <ø> (ø)
pylxd/models/storage_pool.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6bf90e0...f79c23f. Read the comment docs.

@stgraber stgraber merged commit b8868bc into canonical:master Feb 1, 2022
@fliiiix fliiiix deleted the bugfix/cleanup-docs-build branch February 2, 2022 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants