kit icon indicating copy to clipboard operation
kit copied to clipboard

PLEASE put the docs in a documentation site. The API and Guide docs are way too long!

Open MoltenMonster opened this issue 2 years ago • 5 comments

It's very jarring to go through the guides as one long document with no table of contents (which GitHub currently doesn't support outside of the main readme file).

MoltenMonster avatar Dec 28 '23 11:12 MoltenMonster

I read it in one sitting and tried out the examples, had a good experience. Agreed having a separate docs site would be nice, but I'm sure John has more important things to do ^^

JosXa avatar Jan 11 '24 21:01 JosXa

The docs seem to be scattered around in 4 different files:

  • API.md
  • GUIDE.md
  • KIT.md
  • TIPS.md

It is indeed hard to find specific things.

e.g.

  • What are all the possible script metadata settings and how to use them?
    • Right now there's no easy way to find out, and some of them are missing
  • What are all of the globally available commands?
    • It's somewhat discoverable through TypeScript, but then hard to find out how to use them or even just a link to the underlying library that they delegate to

alexilyaev avatar Mar 06 '24 14:03 alexilyaev

@alexilyaev I got to work putting those files in a docusaurus, looks pretty good but needs some more styling and final approval from John to go live anywhere.

I learned that you can nicely search those 4 markdown files in Kit itself, just type docs followed by a space. Since I learned about that, I almost don't miss a docs website anymore.

JosXa avatar May 02 '24 00:05 JosXa

@JosXa Where can I see the documentation

YousufSSyed avatar May 02 '24 00:05 YousufSSyed

@JosXa That's nice, but not a solution in my opinion. Example... there's a paste() method we can use. Searching it in Kit > Docs > "paste" yields nothing: image

Same thing with setSelectedText(): image

Once there's a centralized place for docs, we can start filling in the missing pieces. Right now you it's not even clear where to put these.

alexilyaev avatar May 02 '24 19:05 alexilyaev