Create docs
extension for the flexible retrieval of software library documentation, based on the evaluation of strings representing qualified names of library modules & components
#13
Labels
Difficulty.Hard
This will be hard to do for most contributors
Priority.High
This is something we'll be giving our full attention to
Type.Feature-Request
New features to be added
Milestone
This is meant to be a convenient way to retrieve documentation for relevant Python software libraries based on qualified names.
There are two possible approaches for realizing this:
1. Interpret and export docstrings from libraries
Since many Python libraries use docstrings and some Sphinx configuration to generate documentation, we could grab those docstrings directly, and map their library component names to them in a json file. This could be done in a docker container that exposes a tiny API for retrieving that docstring documentation.
Pros
Cons
2. Scrape DevDocs
DevDocs hosts uniformly presented documentation for the most important FOSS software technologies, using web scraping. The uniformity makes it particularly suitable for scraping using BeautifulSoup. Scraping might also be possible locally in a Docker container, since the project is FOSS itself.
Pros
Cons
pygame_gui
)The current
docs_pre
edition of this extension imports modules at runtime to support showing their docstrings, but this is inefficient and has some low hanging fruit for optimization.The text was updated successfully, but these errors were encountered: