4 ms·
I think it depends on the project like mentioned. For react, the docs for the website is in the same repo as the main code under "docs/" https://github.com/fac
by hzoo 10y ago
I think it depends on the project like mentioned.
For react, the docs for the website is in the same repo as the main code under "docs/" https://github.com/facebook/react/tree/master/docs https://github.com/facebook/react/tree/master/docs.
A lot of projects do what we do with babel: have a separate repo with the whole username.github.io name: https://github.com/babel/babel.github.io https://github.com/babel/babel.github.io.
And a lot of projects started adding links to edit the page you are currently on: http://babeljs.io/docs/learn-es2015/ http://babeljs.io/docs/learn-es2015/ (see the "edit this page" link on the header. For yarn it's on the bottom: https://yarnpkg.com/en/docs/ https://yarnpkg.com/en/docs/. That at least makes it easy to edit a specific page for typos etc. Then you can just edit it from the website