This documentation is created with Docusaurus.
To contribute code,
- Fork the project
- Clone the DevSpace CLI project:
git clone https://github.com/[YOUR_USERNAME]/devspace && cd devspace/docs
- Start a DevSpace for the docs page:
devspace dev
- Make changes
- Test your changes on: http://localhost:3000/docs/introduction
- Commit changes
- Push commits
- Open pull request
Docusaurus allows you to use hot reloading when editing the docs pages, so you can now edit any docs page in ./docs and Docusaurus will recompile the markdown and reload the website automatically.
For general information regarding contributions see: Contribution Guidelines
cd ../ # main project directory
go run -mod= ./hack/gen-docs.go
cd website
npm run version v4.0.3
If there is a new sidebar file in website/versioned-sidebars/
that means the sidebar has changed and you need to:
- (if needed:) create a new CSS style for the sidebar in
website/static/css/versions/SIDEBAR_VERSION/style.css
- APPEND the DevSpace version as key to the
sidebarVersions
objects insidewebsite/core/Footer.js
and define which sidebar version (value) should be used