Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate CLI documentation files? #1524

Closed
victorlin opened this issue Jul 3, 2024 · 4 comments
Closed

Generate CLI documentation files? #1524

victorlin opened this issue Jul 3, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation proposal Proposals that warrant further discussion

Comments

@victorlin
Copy link
Member

victorlin commented Jul 3, 2024

Doc updates such as #1523 are tedious and prone to human error. It would be good if they can be auto-generated.

API docs can already be auto-generated, #1525 adds that to CI.

@victorlin victorlin added proposal Proposals that warrant further discussion documentation Improvements or additions to documentation labels Jul 3, 2024
@victorlin
Copy link
Member Author

I don't think this is trivial since some doc files e.g. augur traits have custom text that isn't possible with auto-generation. If they were moved to docstrings such as distance.py it might be possible.

@joverlee521
Copy link
Contributor

I don't think this is trivial since some doc files e.g. augur traits have custom text that isn't possible with auto-generation.

Following the dev docs, I thought the doc files were auto-generated with

sphinx-apidoc -T -f -MeT -o docs/api augur

Then any custom text is added manually?

We can at least run the sphinx-apidoc command to autogenerate the pages and they can get manually filled in with custom text as needed?

@victorlin
Copy link
Member Author

Oh... I completely missed that section of dev docs 🤦 this person needs to read more

@victorlin victorlin changed the title Generate documentation files? Generate CLI documentation files? Jul 8, 2024
@victorlin
Copy link
Member Author

I created this before realizing API docs could be regenerated but this still applies to CLI docs. Closing as unplanned since there is no obvious solution and CLI docs aren't updated as frequently.

@victorlin victorlin closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation proposal Proposals that warrant further discussion
Projects
None yet
Development

No branches or pull requests

2 participants