This website is built using Docuo, a modern static website generator.
Preview changes locally.
Download the Docuo CLI.
npm i -g @spreading/docuo
Run the below commands at the root of your Docuo project.
Run this command to preview changes locally.
Docuo uses port 3000 by default. You can use the --port
flag to customize the port. For example, use this command to run in port 3333:
docuo dev --port 3333
Run this command to check if there were any build error. Fix them and commit your changes to remote repository.
Run this command to remove local build template cache.
When you run docuo dev
for the first time, the build template will be cloned and cached locally.
As a result, next time you run docuo dev
will be faster, but the build template is probably out of date.
So if your local website doesn’t align with the production version, please run this command before you run docuo dev
.
Run this command to creating or deleting a specified version in the corresponding document instance.
Name | Default | Required | Description |
---|---|---|---|
--create |
undefined |
true |
Create a new version. |
--delete |
undefined |
true |
Delete specified version, enter the confirmation button as prompted. |
--instance |
default |
false |
Specifies the document instance of the version to operate on, or uses the default document instance if not specified. |
Run this command to creating or deleting the specified document instance.
Name | Default | Required | Description |
---|---|---|---|
--create |
undefined |
true |
A combination of lowercase letters, digits, and underscores is supported. Create a new document instance, you need to be prompted for the values of each option. label : The default is instance idrouteBasePath : The default is instance id |
--delete |
undefined |
true |
Delete specified document instance, enter the confirmation button as prompted. |
Install our Github App and turn on the "Auto update" switch on the Setting page. Changes will be deployed to production automatically after pushing to the default branch.
Click the "Tigger update" button on the Home page to update your project.