This is the repository for Solus's Help Center documentation. You can help us improve the Solus experience by:
To get started developing our Docusaurus instance, or writing documentation, first fork this project so you can submit pull requests for your changes.
This project is written using TypeScript and React, with content written in Markdown or MDX. To facilitate development, we use nvm
and yarn
.
Please lint and spellcheck your contributions before creating a pull request. We recommend VS Code with the "prettier" extension for linting, and Code Spell Checker (cspell
) for spelling.
prettier
for markdown and code formatting
go-task lint
.cspell-allowed-wordlist.txt
go-task spellcheck
go-task tidy-words
To set up nvm
, the Node Version Manager, follow the instructions listed here. We recommend setting up their shell integration as well, so you can automatically switch to the correct Node version when working on this project. Otherwise, ensure you run nvm use
. This project requires the "current" supported release series of Node.
You can validate you are using the latest by running node --version
. Your version should be at least 19.x.
This project makes use of Yarn for its package management. After setting up nvm and ensuring you are running the latest Node, run:
corepack enable
To install the required dependencies, run: yarn
To start the live reloading Docusaurus, run: yarn start
yarn clear
yarn lint
yarn write-translations
yarn build
yarn serve
Ensure that you can successfully generate a static site as above.
Then, when you're ready to deploy, run the following:
go-task deploy
This obviously assumes that you have ssh push access to the help-center-docs
repository and are using remote.origin.url=git@github.com:getsolus/help-center-docs.git
(as listed by git config -l
).
Note that multi-lingual documents are not yet supported on our Help Center. When it does, we'll be happy to accept non-English language documents.
Files relating to the parsing / build system are licensed under GPL-2.0. For the full text, view LICENSE.txt.
The Markdown files in this repository are licensed under the Creative Commons By-NC-SA 4.0 License. For the full text, view LICENSE-MD.txt. Solus Project is considered the sole rights holder of these works.