This repo contains the source for the opencensus.io website.
Contributions are highly appreciated! Please follow the steps below to contribute: Important to Note: This site is currently built on Hugo v0.31.1 found Here. Use v0.31.1 to run your edits locally.
- Install Hugo.
- Check out the website source:
$ git clone git@github.com:census-instrumentation/opencensus-website.git
$ cd opencensus-website
- Make a change and run the website locally to see if it all looks good.
$ hugo
$ hugo serve
Started building sites ...
Built site for language en:
...
...
total in ms
Watching for changes in /Users/you/Desktop/opencensus-website/{content,layouts,static,themes}
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
- Go to http://localhost:1313/ to display the rendered website locally.
- If it all looks good, create a pull request with the changes.
- Once your PR is approved and merged, the website will be automatically regenerated and published.