-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
Rebuild docs page using Gatsby? #2785
Comments
What would be the new data source? |
We'd still want to have the contents be the current Markdown files that live in https://github.com/reactjs/redux/tree/master/docs . One additional bit of complexity is that @timdorr has set up Algolia to index the docs so they can be searched. That requires an Algolia project key. Tim has Gitbook set up with an Algolia plugin and has used it to build the docs, but I've been unable to use that key as an environment variable successfully. Not sure how that would tie into the automation aspect. |
We can use gatsby-source-filesystem to handle your Markdown files. |
That is a very interesting article. Thanks for that link. |
Most important part: Who's going to design us a slick new docs site theme? 😄 |
Another option would be the new Facebook "Docusaurus" tool: https://docusaurus.io/ A comparison from https://twitter.com/EricVicenti/status/951269064747319296 :
|
And there was prior related discussion about Gitbook at #1982 . |
@jsonnull and I spent some time discussing this in Reactiflux. There's overlap between this issue, and the discussion of revamping the React-Redux docs in #2591 . Jason is interested in restructuring the React-Redux docs in general. Since those docs have always been kind of "buried" in a Markdown file in the React-Redux repo, I think publishing those as a separate docs site would be a great test run for working with a tool like Gatsby. |
Looks like Gitbook has a major new version coming soon: #2837 Since that includes automatic builds, I think that would be best than us rolling our own. Let's let them do the hard work :) |
Yeah, saw that issue and it looks pretty nice. That may solve my current concerns. |
Our docs are currently built using Gitbook. However, the React team recently rebuilt their docs site using Gatsby, and it seems to be working pretty well. I'd like to consider that as a possibility.
I don't want to rebuild our docs publishing process just for the sake of switching tools. At the moment, there's some noticeable pain points with how we work on the docs:
There's also been some comments that our docs are not fully accessibility-compatible
I don't have time to tackle rebuilding the docs process myself. However, I'd like to solicit ideas and help from the community to investigate the idea.
The text was updated successfully, but these errors were encountered: