/opencensus-website

opencensus.io website content

Primary LanguageJavaScriptApache License 2.0Apache-2.0

opencensus.io

This repo contains the source for the opencensus.io website.

Contributing

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.

  1. Install Hugo.
  2. Check out the website source:
$ git clone git@github.com:census-instrumentation/opencensus-website.git
$ cd opencensus-website
  1. 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
  1. Go to http://localhost:1313/ to display the rendered website locally.
  2. If it all looks good, create a pull request with the changes.
  3. Once your PR is approved and merged, the website will be automatically regenerated and published.