It's time to give the docs some attention. This issue is meant to focus and coordinate efforts on rewriting and adding missing articles.
Everyone is more than welcome to take part in this effort - either by contributing articles or by giving feedback and suggestions.
Bellow is the outline of the new docs. If anyone would like to contribute articles please comment here or contact one of the admins on discord.
Some articles link to their equivalent in the current docs. Assignees are mentioned next to their assigned article.
๐๐๐โจ๐๐๐Use this link to join the discussion on Discord ๐๐๐โจ๐๐๐
Work will be done in docs
branch, once all articles are done we'll update the current docs.
Our documentation is powered by Docsify which displays MarkDown files via GitHub pages. You don't need to be familiar with it, if you're familiar with MarkDown syntax than you're good to go.
git clone react-native-navigation && cd react-native-navigation
git checkout docs
npm i docsify-cli -g
docsify serve docs # Preview your local copy at http://localhost:3000
Some articles have equivalents in other platforms and frameworks, you should look those up for ideas and relevant info which our docs should also include.
react-native init AppName --template rnn
react-native init AppName --template rnn-typescriot
yarn rnn create screen
yarn rnn create layout
[ ] Meta
[ ] API
Hi there @guyca, I'm interested in contributing.
When working with RNN, I'm constantly checking the Typescript declaration files to check which methods or options are available for each property of the Options object. I'd like to help improving this, I don't know if it maps to any of the currently outlined items.
I can also help with anything in general, be it checking grammar, enhancing existing docs or writing a new guide if I'm capable.
Edit: added myself to the Discord channel
I've got a bit of a list of common issues and troubleshooting - is this something that would be handy? Also happy to do some spell-checking, grammar etc of the rest of the docs as I go
It would also be handy to have some screenshot in the docs of how a component should be looking, or what the possibilities are.
When I find some time next week, I'll try to add it.
@guyca In the Structure
section we are also missing related to FAB?
@guyca in the Structure section, Top Tabs and FAB is missing.
@RandyKdev Both TopTabs and FAB are not maintained. @Damar95 and I are slowly refactoring them on Android. Once we're done I'll document them.
@guyca i believe documentation needs complete review and updation as current doc was more suitable with the launch of V2, but now we already reached V4.
@rf1804 Absolutely, next week we're continuing work on the new docs. We plan to finish the entire rewrite by the end of February, early March we will submit the new docs to a review by a technical writer. We're also switching to Docosaurous2 and adding a few extra enhancements to make the docs my easy and intuitive.
Hi @guyca, I want to to help translating the docs to pt-BR.
How I start work on the actual docs structure?
Hey @robsonsilv4 That sounds amazing! Can you please ping @yogevbd or me on Discord? Thanks!
Sorry for delay @guyca. What's your user code from Discord? This is mine if you ping me: robsonsilva#5094
@robsonsilv4 We've switched the new docs to Docusaurus 2. I'm not sure what's the status of 18n with v2, but it will be cool if you can look into it. The docs state v2 still don't support translation but that might be outdated or might only refer to Crowdin integration.
Anyways - I'm guyca#3492 on Discord ๐
๐คฉ๐คฉ๐คฉ
Where are the docs? Readme points back to ourself
Alright, so the new docs are up and can be found here. Would like to thank everyone who took part in this effort ๐ ๐ช
What's next?
We're not done yet! This is only the initial phase and there's lots more to be done. We've listed all remaining articles in https://github.com/wix/react-native-navigation/issues/6103 and everyone is more then welcome to contribute either by writing an article or by simply giving feedback.
Most helpful comment
@rf1804 Absolutely, next week we're continuing work on the new docs. We plan to finish the entire rewrite by the end of February, early March we will submit the new docs to a review by a technical writer. We're also switching to Docosaurous2 and adding a few extra enhancements to make the docs my easy and intuitive.