Skip to content

📒 Documentation #46

Open
Open

Description

@jd-solanki

Describe the feature

Hi 👋🏻

I'm fan of creating CLI application. I have typer library that does really good job in python. In JS, I plan to use citty but there's lack of documentation for me & my colleagues to get started and fully leverage it.

Can we have a dedicated documentation site for citty like unstorage & others?

P.S. Some of the unjs projects don't have enough docs to understand the value it provides 😞

Additional information

  • Would you be willing to help implement this feature?

Activity

  1. amandesai01 commented on Jul 24, 2023

    @amandesai01

    I went through the source code and found it pretty straight forward. However, it totally makes sense to have a documentation since not everyone should be supposed to read source code. I would be more than happy to contribute with initial documentation.

  2. nozomuikuta commented on Jul 24, 2023

    @nozomuikuta
    Member

    @amandesai01

    UnJS team is planning to develop its website for the ecosystem.
    It's appreciated if you list up some points that you think should be included in the docs here, so that the team can take them into consideration.

  3. jd-solanki commented on Jul 24, 2023

    @jd-solanki
    Author

    Here's how we can cover most of the community (according to me):

    • Beginner/GettingStarted Example
    • Explaning features with example & some description
    • Full API

    I guess this covers the most of the documentation for beginner to advanced devs.

  4. pi0 commented on Jul 24, 2023

    @pi0
    Member

    @jd-solanki PR is more than welcome to improve documentation (directly in citty/README.md)


    Re unjs documentation @nozomuikuta mentioned, we are thinking about two things: Exposing auto generated (tsdoc) API and render it in several places (library, unjs, nitro, nuxt) and using remote source feature of docus which is used to render docs (docs still live in repo README.md or docs/ dir but remotely fetched and rendered)

  5. Barbapapazes commented on Sep 5, 2023

    @Barbapapazes
    Contributor

    P.S. Some of the unjs projects don't have enough docs to understand the value it provides 😞

    Hey @jd-solanki, could you tell me which one? I'm currently writting content about UnJS packages (see unjs/website#110). Thanks 🙏

  6. jd-solanki commented on Sep 6, 2023

    @jd-solanki
    Author
  7. Barbapapazes commented on Sep 6, 2023

    @Barbapapazes
    Contributor

    Thanks for the response!

    • citty, currently on hold since the API must be stabilized. So I can't give you an ETA.
    • knitwork, I will need to deep dive into it to find how to explain it with a real use case.
    • magicast, same as knitwork (could have an idea but it require citty). I could create a build article in the following weeks.
    • unctx, I don't know a lot about this package. I don't know where it is used. Not on top of my list.
    • c12, a 101 could be out soon but I want to introduce rc9 before. As a build article, we could create a meta framework from scratch and I will try to find more examples.

    Currently, I'm on unbuild, h3 and soon nitro (expected 2 or 3 weeks of works before I could take a look to others packages).

  8. pi0 commented on Sep 6, 2023

    @pi0
    Member

    c12, a 101 could be out soon but I want to introduce rc9 before. As a build article, we could create a meta framework from scratch and I will try to find more examples.

    I would suggest writing about c12. It can cover rc9 as well as many other goodies powering Nuxt 3 and Nitro features.

  9. Barbapapazes commented on Sep 12, 2023

    @Barbapapazes
    Contributor

    Hello @jd-solanki, I opened a PR, #70, to add more content about the usage of citty. Do not hesitate to tell me if this first draft is understandable or if I need to explain more!

    (This is not the getting started guide)

  10. jd-solanki commented on Sep 12, 2023

    @jd-solanki
    Author

    Hi @Barbapapazes

    I reviewed the PR and must say it was very satisfying. I didn't knew some of the stuff you mentioned. Great work 🫡

  11. Barbapapazes commented on Sep 12, 2023

    @Barbapapazes
    Contributor

    Hi @Barbapapazes

    I reviewed the PR and must say it was very satisfying. I didn't knew some of the stuff you mentioned. Great work 🫡

    Thanks for the review! I will update PR with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions