lance-format / lance-format/lance

Document pyo3 generated types with mkdocs

Open
#5,271 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-docs documentation
Dominant language
Rust
Stars
7.1k
Forks
852
Avg merge
3d 18h
Merged PRs (30d)
272

Description

I believe pyo3 will generate docstrings on the generated python code. So it should be possible to include these types in the mkdocs. However, these types do not show up in mkdocs. Perhaps we just need to add them to the index?

A good example is the CleanupStats returned from cleanup_old_versions: https://lance-format.github.io/lance-python-doc/all-modules.html#lance.LanceDataset.cleanup_old_versions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the generated Python API documentation around CleanupStats and the all-modules page linked in the issue, then trace how these pyo3-generated types are discovered by mkdocs. Done means CleanupStats and similar generated types appear in the published API documentation with the expected links.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.