gristlabs / asttokens

Annotate Python AST trees with source text and token information
Apache License 2.0
172 stars 34 forks source link

Update docs building dependencies and configs #113

Closed dsagal closed 1 year ago

dsagal commented 1 year ago
alexmojaki commented 1 year ago

The docs preview is missing ASTText. Did you build it locally without updating master?

dsagal commented 1 year ago

The issue is that auto-documentation isn't fully automatic, but only selected classes and members are included. So I have to list ASTText explicitly. Including :members: at top level would show that automatically, but in a differently organized layout, so I added ASTText explicitly to keep layout as before. One top-level member not documented is supports_tokenless. Not sure it's worth documenting as a top-level function. Maybe could be moved to util? Anyway, that seems separate from this task.

dsagal commented 1 year ago

Sorry, I hadn't realize that rebuilding from branches wasn't automatic.

alexmojaki commented 1 year ago

https://asttokens.readthedocs.io/en/stable/api-index.html still needs updating

dsagal commented 1 year ago

I updated a setting, it rebuilt, and looks up-to-date now. It should be automatic, from skimming https://docs.readthedocs.io/en/stable/versions.html. Maybe it was the missing setting. If it doesn't auto-update after next release, I'd have to debug further.