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

Improve reference documentation for the CLI #2604

Open
1 task done
astrojuanlu opened this issue May 22, 2023 · 9 comments
Open
1 task done

Improve reference documentation for the CLI #2604

astrojuanlu opened this issue May 22, 2023 · 9 comments
Labels
Component: Documentation 📄 Issue/PR for markdown and API documentation Hacktoberfest Issue suitable for hacktoberfest

Comments

@astrojuanlu
Copy link
Member

astrojuanlu commented May 22, 2023

Description

It would be nice to have reference documentation for the CLI in a more visible place.

Context

At the moment, the only way for a user to know what options exist for a given kedro subcommand is to run it with -h locally.

There is an incomplete CLI reference https://docs.kedro.org/en/stable/development/commands_reference.html but it's under the wrong section, and it doesn't document all the possible options.

The functions powering the CLI are partially documented, but not fully, and browsing them is not very ergonomic anyway: https://docs.kedro.org/en/stable/kedro.framework.cli.html

Possible Implementation

https://sphinx-click.readthedocs.io/

image

Possible Alternatives

Depending on how long it takes us to get to this issue and the outcome of gh-2072, we might want to use https://github.com/DataDog/mkdocs-click instead (glad to see Sphinx doesn't have the monopoly in this aspect)

Relevant Ticket

@astrojuanlu astrojuanlu added the Issue: Feature Request New feature or improvement to existing feature label May 22, 2023
@ankatiyar
Copy link
Contributor

@astrojuanlu We do have this - https://docs.kedro.org/en/stable/development/commands_reference.html Right now it's under Advanced Usage -> Development -> Kedro's Command Line Interface. Maybe we need to make it more visible?

@astrojuanlu
Copy link
Member Author

OMG thanks @ankatiyar, I totally missed that.

Definitely having it under Advanced Usage -> Development is not the right place.

On the other hand, I don't consider that a full reference because there are some options missing. For example, I don't see --starter for kedro new mentioned there.

But definitely it's better than nothing, we could start by moving it.

@astrojuanlu astrojuanlu changed the title Add reference documentation for the CLI Improve reference documentation for the CLI May 23, 2023
@merelcht merelcht added Component: Documentation 📄 Issue/PR for markdown and API documentation and removed Issue: Feature Request New feature or improvement to existing feature labels Jun 5, 2023
@noklam
Copy link
Contributor

noklam commented Jun 19, 2023

@astrojuanlu I think it's still valuable to have some plugin to generate CLI doc automatically. I am trying to improve some documentation in our plugins, do you think we need docs for our plugins as well?

@astrojuanlu
Copy link
Member Author

do you think we need docs for our plugins as well?

Absolutely yes! I have some ideas on how we can dramatically improve the situation of our multi-repo docs, but I'm waiting for the user research process @stichbury is leading to end to take them.

@Gundalai-Batkhuu
Copy link

Hi all. Is it okay if I start working on this documentation?

@astrojuanlu
Copy link
Member Author

@stichbury
Copy link
Contributor

Hi @Gundalai-Batkhuu how are you? Today is the last day of October so please do slip any final PRs into our queue for Hacktoberfest if you have them ready?

@Gundalai-Batkhuu
Copy link

Hi. I'm still working on a couple of tickets. I don't have PR's now for the hacktoberfest. But I'd like to continue contributing to the project. I've been using Kedro for couple of years so I want to give back

@stichbury
Copy link
Contributor

That's awesome, thank you @Gundalai-Batkhuu -- just wanted to make sure we had time set aside if you needed review for Hacktoberfest. We'll gladly contributions whenever you are ready in the coming weeks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation 📄 Issue/PR for markdown and API documentation Hacktoberfest Issue suitable for hacktoberfest
Projects
Status: To Do
Status: Todo
Development

No branches or pull requests

6 participants