Uses Gatsby for rendering a static site that is built and deployed with Netlify.
What | Command |
---|---|
Auto-preview about.sourcegraph.com | cd website && yarn install && yarn start |
Final review about.sourcegraph.com | cd website && yarn install && yarn serve |
Gatsby requires Node.js, and we recommend using yarn for installing packages.
Developing the static site locally is separate from developing the handbook. Read the Handbook section to learn how to develop the handbook locally.
In a terminal, change into the website
directory, and run:
yarn install
Then to serve the site, you have two options:
- To serve the static (built) version of the website (good for final review):
yarn serve
- To serve the site using the development server with auto-compiling and page reloading:
yarn start
We want and encourage everyone at Sourcegraph to contribute to the blog. If you'd like to write for the blog, please check out how to propose a blog post in the Editorial handbook.
The Sourcegraph handbook now lives in https://github.com/sourcegraph/handbook and is hosted under https://handbook.sourcegraph.com.