Skip to content

docs: review and update docstrings #41

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 1 commit into from
Aug 16, 2022

Conversation

lread
Copy link
Collaborator

@lread lread commented Aug 16, 2022

This exercise helped me to understand the API more deeply, hopefully it
will help our users too.

The biggest challenge was documenting clj-http.lite.client/request.
Its previous docstring was way too vague for me to understand, as a
user, what is available.

Also challenging is the lack of definition of the supported API.
I'm guessing our documented API is currently including lots of
unnecessary internals.

I reviewed all existing docstrings and updated where I thought I could
be clearer and/or more consistent. I added no new docstrings.

Also: added cljdoc.edn to explicitly list our docs.

Closes #36

This exercise helped me to understand the API more deeply, hopefully it
will help our users too.

The biggest challenge was documenting `clj-http.lite.client/request`.
Its previous docstring was way too vague for me to understand, as a
user, what is available.

Also challenging is the lack of definition of the supported API.
I'm guessing our documented API is currently including lots of
unnecessary internals.

I reviewed all existing docstrings and updated where I thought I could
be clearer and/or more consistent. I added no new docstrings.

Also: added cljdoc.edn to explicitly list our docs.

Closes clj-commons#36
@lread lread merged commit 9d73e5d into clj-commons:master Aug 16, 2022
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.

docs: api: review/update docstrings
1 participant