Closed radex closed 5 years ago
I think we should use https://docusaurus.io
ooh! That's the thing!
Have you decided to use docusaurus or still go with the static site?
No decision was made. Doesn't docusaurus generate static sites?
I'm not really familiar with it. I think it is a static site generator (like Gatsby). We could use Gatsby as another alt.
I don't have a specific preference — whatever is the easiest and most convenient to set up and maintain. Docusaurus has the advantage of looking like all the cool kids' docs websites
You also could use docz
Hi guys, Nice work đź‘Ź
I created a sample using my fork of WatermelonDB in GitBook. If that meets the requirements maybe we could consider it as an option.
Hey @isurusiri, good stuff — is there a way to (easily) add API docs from the JS source?
I think documentationjs is what you are looking for, if I'm correct.
Also if docs are in MD format, GitBook can simply import the content and sync all future updates.
Hmm @isurusiri… if I understand correctly, this requires documentation comments specifying params, returns, etc… This seems like a waste of developer time, given that we use Flow and so a Babel-based script should be able to just extract all available methods, type information about those methods, a comment above, and spit out HTML docs.
Do you know of a tool that could do something like that? IT would be great to have API docs, but it's difficult for us to justify spending a lot of extra time maintaining it if the code is already largely self-documented through Flow
Yeah, got it. I'm not aware of such a tool but I'll look into it.
thank you!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Currently, the whole documentation is available just on GitHub in Markdown form.
It would be nice to have a website (like React Native, Jest, React Navigation, etc.) with those docs, and API reference automatically build from source.
It would be great if someone wanted to help out with this!