question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve the API Reference

See original GitHub issue

From the README: “The Developer Interface provides a comprehensive API reference.”.

I’ll be blunt: I’m not even sure its useful in its current form, let alone comprehensive. The API reference is always my pathway to learning a library. Much knowledge was just inherited/assumed from requests. Most of the rest I’ve gone to the code for. To be fair, this isn’t a major hassle for me; I like code diving. But all users aren’t like me. Prose docs are good for some things and up to a point. But many times, what someone needs is best handled by a good API reference.

I love mkdocs. I much prefer it for most parts of documentation to Sphinx. And I know mkdocs2 may become a thing in the future, but that’s too far out.

I know its been discussed at least a bit in the 1.0 blockers issue, but I think the API reference/autodoc story is a much bigger deal than that. So that’s my reasoning for opening this issue.

So, my question is… are there any suggestions/constraints on a possible way forward on httpx’s API reference/autodoc story in the near future? I haven’t yet played with pydoc-markdown, but that may be one reasonable way.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
tomchristiecommented, Oct 1, 2019

I think the light touch approach that’ll be worth looking into here will be seeing if I can adapt the docstring markdown plugin I was working on for mkdocs2 can instead simply be built for the existing mkdocs package. I may try to find some time in October to take this on.

0reactions
florimondmancacommented, Mar 25, 2020

Hi there,

Not that there’s not anything actionable in this issue, but since we’ve got some docstring-based docs infrastructure in place already I’ll close this for housekeeping — would be great to see more of those though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Easy Ways to Improve Your API Documentation
Actually Read Your Docs · Focus on Accessibility · Try the New API Documentation Experience in Stoplight Platform · Take a Listen to...
Read more >
API Reference - Increase
The Increase API is organized around REST. It has predictable resource-oriented URLs, accepts and returns JSON-encoded payloads, and uses standard HTTP response ...
Read more >
How to Write API Documentation: Best Practices and Examples
Use analytics to improve docs. Standard API analytics will tell you which endpoints are used more often, so you can focus on certain...
Read more >
Improved REST API documentation - The GitHub Blog
We're excited to announce some big improvements to our REST API documentation. We know developers rely on this documentation to integrate ...
Read more >
Introduction to Enhance API - Diffbot Docs
The Enhance API takes an input of just a few identifiers about a person or organization and returns all the knowledge the public...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found