Go to file
Fabricio Voznika f4135148a8 Expand user guide landing page 2019-04-04 22:52:18 -07:00
archetypes
assets Adjust font sizes for headers 2019-04-05 13:57:54 +09:00
cloudbuild
cmd/gvisor-website Remove login interstitial 2019-04-05 14:04:14 +09:00
content Expand user guide landing page 2019-04-04 22:52:18 -07:00
layouts Update cover to match layout from designers 2019-04-02 16:11:53 -07:00
static/favicons Update assets and favicons 2019-04-04 21:50:53 -07:00
themes/docsy
.gcloudignore Remove .git handling from .gcloudignore 2019-04-03 16:14:17 +09:00
.gitignore
CODEOWNERS Add gvisor team to CODEOWNERS 2019-04-03 16:04:06 +09:00
CONTRIBUTING.md
LICENSE
Makefile Updated README to be more contributor friendly 2019-04-05 14:03:52 +09:00
README.md Updated README to be more contributor friendly 2019-04-05 14:03:52 +09:00
cloudbuild.yaml Only deploy if in the gvisor-website project 2019-04-04 08:56:40 +09:00
config.toml
package-lock.json
package.json

README.md

gVisor Website

This repository holds the content for the gVisor website. It uses hugo to generate the website and Docsy as the theme.

Requirements

Building the website requires the extended version of hugo and node.js in order to generate CSS files. Please install them before building.

  • Node.js >= 10.15.0 LTS
  • hugo extended >= v0.53

Contributing to Documentation

Using Github

You can use the "Edit this page" link on any documentation page to edit the page content directly via GitHub and submit a pull request. This should generally be done for relatively small changes.

Using Git

You can submit pull requests by making changes in a Git branch. See more information on GitHub pull requests here.

Documentation is located in the content/docs/ directory. Documentation is written in markdown with hugo extensions. Please read more about content management in the hugo documentation.

You can use the hugo web server for testing. This will start a webserver that will rebuild the site when you make content changes:

make server

Access the site at http://localhost:8080

Building

If you are making changes to App Engine config or application code, you can build the website using make. This will output the App Engine application code, configuration, and html and CSS into the public/ directory.

make

If you have Go installed you can run a local version of the website via the public/ directory.

{
  cd public/
  go run main.go
}

Access the site at http://localhost:8080