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

Merge API documentation in Sphinx with docstrings #126

Merged
merged 49 commits into from
May 6, 2015
Merged

Conversation

lvh
Copy link
Member

@lvh lvh commented Jun 19, 2014

Major improvements to the docstrings (mostly by merging the information that was only in Sphinx, but also grammar fixes).

This isn't entirely complete: sign, verify, PKCS7... still have their own API docs in Sphinx. But hey, this PR is already more than big enough (thanks @alex for nudging me to send it in quicker).

This fixes #125, too.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling cb32e85 on lvh:autodoc into 1110bc9 on pyca:master.

@lvh
Copy link
Member Author

lvh commented Jun 20, 2014

For your reviewing benefit, a PDF render.

@reaperhulk
Copy link
Member

I have no idea how hard this rebase is going to be, but there's a merge conflict :(

@hynek
Copy link
Contributor

hynek commented Apr 17, 2015

oh yeah, this looks interesting. please rebase. 🐶

@hynek
Copy link
Contributor

hynek commented Apr 21, 2015

could you also fix

:return: py:data:`None` if the certificate was added successfully.

in X509Store.add_cert please?

:py:class:`CRL` :py:class:`CRLType`
========================= =============================

Some objects, such as py:class`Revoked`, don't have ``Type``
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

broken markup (missing : before py)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5faa281

@hynek
Copy link
Contributor

hynek commented Apr 21, 2015

That’s all I could find. Maybe after you’ve fixed those, @reaperhulk or @alex can eyeball the docs too if I’ve missed something and then we can merge. :)

@lvh
Copy link
Member Author

lvh commented Apr 23, 2015

Thanks for the review, @hynek! I've addressed all comments.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 5ee60b3 on lvh:autodoc into 9a2c732 on pyca:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 5ee60b3 on lvh:autodoc into 9a2c732 on pyca:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 5ee60b3 on lvh:autodoc into 9a2c732 on pyca:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.31% when pulling 5ee60b3 on lvh:autodoc into 9a2c732 on pyca:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 90c0914 on lvh:autodoc into 9a2c732 on pyca:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 90c0914 on lvh:autodoc into 9a2c732 on pyca:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 90c0914 on lvh:autodoc into 9a2c732 on pyca:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.31% when pulling 90c0914 on lvh:autodoc into 9a2c732 on pyca:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 90c0914 on lvh:autodoc into 9a2c732 on pyca:master.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 90c0914 on lvh:autodoc into 9a2c732 on pyca:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 90c0914 on lvh:autodoc into 9a2c732 on pyca:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 90c0914 on lvh:autodoc into 9a2c732 on pyca:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.35%) to 92.96% when pulling 90c0914 on lvh:autodoc into 9a2c732 on pyca:master.

@hynek
Copy link
Contributor

hynek commented Apr 23, 2015

hm, why did coverage decrease by 2.35%? :(

@hynek
Copy link
Contributor

hynek commented Apr 30, 2015

Bump, I would really like to merge this so that new API entries in other PRs can use this. Any idea why the coverage decreased? :-/

@lvh lvh self-assigned this May 6, 2015
hynek added a commit that referenced this pull request May 6, 2015
Merge API documentation in Sphinx with docstrings
@hynek hynek merged commit e9ae673 into pyca:master May 6, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Documentation claims CRL.add_revoked takes an X509
4 participants