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

can I access docs online? #545

Closed
sibelius opened this issue Feb 18, 2023 · 8 comments
Closed

can I access docs online? #545

sibelius opened this issue Feb 18, 2023 · 8 comments
Assignees

Comments

@sibelius
Copy link
Contributor

No description provided.

@Daniel15
Copy link
Member

There's no docs online at the moment, but maybe we should publish the autogenerated API docs to GitHub Pages...

@Daniel15 Daniel15 self-assigned this Feb 28, 2023
@roddds
Copy link

roddds commented Feb 28, 2023

There's this, but it's not much better than reading the source:

https://npmdoc.github.io/node-npmdoc-jscodeshift/build/apidoc.html

@sibelius
Copy link
Contributor Author

We should migrate docs do docusuarus

@olrtg
Copy link

olrtg commented Nov 1, 2023

Hey! I'm currently learning the tool to do some migrations at work and it's been quite hard to do things with it. I would like to help with the docs and maybe put some specific examples of how to use the API. Would need some mentoring though with the API from time to time. How can we move forward with this?

@sibelius sibelius closed this as completed Nov 1, 2023
@ElonVolo
Copy link
Collaborator

ElonVolo commented Nov 1, 2023

I'm one of the jscodeshift maintainers and even I end up referring back to tutorials if I haven't written a codemod in months. Doing anything with ast-types (a separate project that's the real business end up jscodeshift) is a bear but that is the library you have to learn to make maximal use of jscodeshift.

At this, my go-to is starting to be ChatGPT. Most of the code that gets generated has some mistakes, but it largely gets the ast-types constructor calls mostly right.

@olrtg
Copy link

olrtg commented Nov 1, 2023

Hi @ElonVolo! thanks for replying. That's helpful! I probably need more AI in my life haha

Aside from that, I guess you're not interested in building a docs website, am I correct? 🤔

@mohab-sameh
Copy link
Collaborator

mohab-sameh commented Jun 25, 2024

@Daniel15 I'll assign this to myself. I'll revamp docs (probably on Mintlify). I'll incrementally move things from wiki, readme, and other relevant resources to the online docs until it's complete.

The current docs structure I have in mind is as follows:

  • overview
    • includes general info about jscodeshift
      • what it is
      • how it works
        • run
          • cli
        • build
          • find
          • transform
  • build
    • api reference
  • run
    • cli reference
  • guides (TBD)
    • building codemod guides
    • etc.

Please let me know if you have some suggestions or requests on how the docs should look like.

@mohab-sameh mohab-sameh reopened this Jun 25, 2024
@mohab-sameh mohab-sameh assigned mohab-sameh and unassigned Daniel15 Jun 25, 2024
@trivikr
Copy link
Contributor

trivikr commented Jul 15, 2024

Can this be closed since docs were added in #592, and deployed on https://jscodeshift.com/?

cc @Daniel15 @mohab-sameh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants