-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Create new Documentation using Docusaurus #3186
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
base: master
Are you sure you want to change the base?
Create new Documentation using Docusaurus #3186
Conversation
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
|
@ibgreen @igorDykhta @lixun910 @heshan0131 Please have a look and share your feedback. |
|
Great effort, thanks @indranildeveloper !! I think you can migrate the default webiste of kepler.gl (https://github.com/keplergl/kepler.gl/tree/master/website) to docusauraus default page, so both the kepler.gl website and docs can be maintained here. |
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
|
Might be a good idea to bring in the heading ID utility we have in vis.gl docusaurus template: https://github.com/visgl/dev-tools/blob/master/modules/docusaurus-website/src/write-heading-ids.ts (along with its tests), or for us to publish this as a small package for you to use. docusaurus is great, but as the examples show the header links are problematic. It's great to see an effort to use docusaurus with kepler. I'd suggest keeping it separate from the main The actual home page should be straightforward to port over since its also made with react. For the OpenJS copyright and foundation logo you can copy what I've done here: visgl/dev-tools#13 |
|
Thanks @chrisgervang, I will implement these things. |
|
Two pieces of advice: Avoid breaking current site setup, and find a way to stage the new website. In a few places you modify the existing markdown docs in a way that presumably breaks the existing website (ToC etc). If that could be avoided (perhaps by copying a few files), your entire docusaurus setup PR could be landed as a "secondary website" directory, without anyone having to take a big decision. I think it would be very helpful if you could stage the new website. I believe that we typically do this by publishing the docusaurus website in the github pages of your kepler.gl fork repository (placing a blocking The amount of "eyes" you would get on your new website would be 10x if you could share a link to a staged website, compared to asking people to build it themselves. |
|
Also the initial screenshot is the default docusaurus screenshot. I strongly recommend fixing that before staging / sharing widely, it is a small thing but gives the wrong initial impression to viewers regarding the completeness of this effort. |
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Signed-off-by: Indranil Halder <[email protected]>
Create new Documentation using Docusaurus
In this Pull Request I have created a new docusaurus project called
website-docusaurus.Here are some initial screenshots:
To run the new docs locally you can run this command:
What is done:
{}brackets that were causing errors.latexsupport for the mathematical expressions.What needs to be done: