-
Notifications
You must be signed in to change notification settings - Fork 0
Add a doc source for a new library: Flask #11
Copy link
Copy link
Open
Labels
adapterNew format/source adapter (lockfile or doc source)New format/source adapter (lockfile or doc source)enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpythonPython sidecarPython sidecar
Description
Activity
Metadata
Metadata
Assignees
Labels
adapterNew format/source adapter (lockfile or doc source)New format/source adapter (lockfile or doc source)enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpythonPython sidecarPython sidecar
Why
The indexer only knows three libraries (
react,fastapi,vue). Each new library is a self-contained registry entry, making this a great repeatable contribution. Flask is a natural next pick: the Pallets docs live in the same repo as the source, so version tags resolve cleanly - the same story as FastAPI.What to do
sidecar/src/docchat_sidecar/indexer.py, add a_FLASK_DOC_PATHStuple of the most useful Markdown doc paths frompallets/flask, then register a_LibraryConfigentry in_LIBRARY_CONFIGwith an appropriateref_for(version tag vs.main).Acceptance criteria
_urls_forand indexes without error against a mocked fetch (extendsidecar/tests/test_indexer.py).evals/corpus.json.Pointers
indexer.py:_LibraryConfig, the_LIBRARY_CONFIGregistry, and the_*_DOC_PATHStuples.