Source for mosn.io site https://mosn.io.
Powered by hugo with docsy theme.
You need a recent extended version (we recommend version 0.53 or later) of Hugo to do local builds and previews of sites (like this one) that use Docsy. If you install from the release page, make sure to get the extended
Hugo version, which supports SCSS; you may need to scroll down the list of releases to see it.
For comprehensive Hugo documentation, see gohugo.io.
You can follow the manual steps given below.
- Ensure pre-requisites are installed
- Clone this repository
git clone [email protected]:mosn/mosn.io.git
- Install
PostCSS
required by Docsy by running the following commands from the root directory of your project:
npm install --save-dev autoprefixer
npm install -D postcss
npm install --save-dev postcss-cli
- Clear up your local module cache
hugo mod clean
- Start the server
hugo server --disableFastRender
- Navigate to
http://localhost:1313
- Create new branch
- Commit and push changes to content
- Submit pull request to master branch
- Staging site will automatically get created and linked to PR to review and test
This website is built under hugo version v0.55.5-A83256B9C/extended. There may be unknown errors when compiling on other versions.