-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add docusaurus for website #491
Conversation
Nice, the site actually looks usable already! good job! Can you please remove the generated code from git ? We might need to create a gh-pages setup. |
Yeah, if you'd like I would do it in one step with automating travis to build a new version based of master ;) |
Is there a way to toggle docs between api versions? Or at least annotate on an api function which versions support it? |
Not build-in, I would check out if you can have multiple builds, e.g. one build per version in a folder.
Yes we can do that for the setup page, e.g. My Plan with this would be
Does this plan sound right to you? If you give me a quick 👍 I will move this to the project cards and start working on amazing docs 🎉 By the way, could you find us anyone who would be willing to design this page a bit more (in terms of colors and maybe a logo)? I left the default color, because I have no idea 🎨 |
f239412
to
4f2173b
Compare
This should generate a new gh-pages branch on each commit to master. Travis is restricted to master here, so you will only see it once we merge this. (I tried it on my repo and that worked just fine, see the result in gh-pages 👍 ). VersioningDocusaurus comes with a version feature. That means we can run The structure is like this:
It will be easy to build a switch between old API versions, I'll do it once we have this merged and have this problem. |
@rotemmiz is the side by side functionality a must have for the PR merge for you? I would pause the work on this for now in favor of getting the code generation a bit further ;) I think it will be fairly easy to add |
dc09270
to
9e54842
Compare
Amazing job! I'll try to get this merged (and fix broken master build) tomorrow morning. |
Awesome ❤️ love to see this going forward 👍
|
Awesome! |
The side-by-side component is developed in #587 |
Hi there,
I would like to share this early with you to get and give a bit of feedback. Here are my thoughts:
You can see the current state by going into
website/
and runnpm install && npm start
and seehttp://localhost:3000