Public documentation page to guide users in deploying the Shakudo Platform. Uses docsify to generate the page.
-
Clone this repository
-
Since we maintain most of our existing documentation on notion, we can directly export any notion page in the markdown format:
- Make sure to check the Include Subpages option if the page includes any direct links to other notion pages:
-
Once downloaded, unzip the file to get the markdown file
- If there are subpages, their markdown files will also be downloaded
- If there are any local content (i.e. images), they will be downloaded in a folder in the same directory level as the page in which it was used in.
-
Copy the markdown file of the desired page into the
./docs
directory (or in a sub directory for organization i.e../docs/Deployment
for deployment docs) -
Then add the page to
./docs/_sidebar.md
. For example:where [] specifies the sidebar name, the first parameter in () specifies the filepath from the the root
./docs
to the markdown file, and the second parameter in () is an optional title for the browser tab: -
If the page has links to other notion pages or uses local files/images, then they must be added manually and the links in the markdown file must be updated.
- For child notion pages
- Add the markdown file to the
./docs
directory the same way as above. - Ensure the parent page's markdown file links to these child pages from the root directory
./docs
.
- Add the markdown file to the
- For local files/images:
- Place them anywhere in the
./docs
directory i.e../docs/Deployment/images
for images used by deployment pages. - Ensure that the page that uses local content uses the link to these files/images relative to the current page's path i.e. a markdown file in
./docs/Deployment
may want to use images by linking toimages/some_picture.png
(which has an absolute path of./docs/Deployment/images/some_picture.png
)
- Place them anywhere in the
- For child notion pages
-
Upon merge to the main branch, any changes should be reflected within a few minutes and displayed on (the page)[https://docs.hyperplane.dev/public-docs]
-
The notion export to markdown is not perfect and may contain formatting issues so make sure to fix these issues and/or edit the resulting markdown file. Note: You can embed HTML elements/tags within markdown files to support more custom styling.
Follow the steps on the docsify docs to serve and test the page locally.