Go to file
Ian Lewis 039f309bc9 Update readme with new docs.
- Rearrange the docs into sections on using Github or Git locally.
- Remove the troubleshooting FAQ since we build using Docker.
2020-01-14 17:00:07 +09:00
archetypes Initial commit 2019-03-29 22:40:11 -04:00
assets Add fragment links to sub-headers in docs (fixes #61) 2019-06-26 13:15:57 +08:00
cloudbuild Use hugo Docker image in Makefile 2020-01-14 17:00:07 +09:00
cmd Update to Go 1.12 runtime. 2019-11-19 14:14:46 -08:00
content Use question marks for questions 2020-01-09 09:27:53 -08:00
layouts Copy the page-meta-links.html file from docsy to the local directory 2019-12-03 17:33:18 +09:00
static Add apt-based instructions. 2019-10-18 13:41:44 +09:00
themes/docsy Copy the page-meta-links.html file from docsy to the local directory 2019-12-03 17:33:18 +09:00
.gcloudignore Add generate-syscall-docs command. 2019-07-10 11:46:34 +09:00
.gitattributes Mark themes/docsy as vendored. 2019-04-23 11:57:43 +09:00
.gitignore Add generate-syscall-docs command. 2019-07-10 11:46:34 +09:00
CODEOWNERS Add gvisor team to CODEOWNERS 2019-04-03 16:04:06 +09:00
CONTRIBUTING.md Initial commit 2019-03-29 22:40:11 -04:00
LICENSE Initial commit 2019-03-29 22:40:11 -04:00
Makefile Add --rm to docker run commands. 2020-01-14 17:00:07 +09:00
README.md Update readme with new docs. 2020-01-14 17:00:07 +09:00
cloudbuild.yaml Remove unnecessary comment 2019-07-11 08:07:33 +09:00
config.toml Added base blog content. 2019-11-18 22:09:48 -08:00
go.mod Add generate-syscall-docs command. 2019-07-10 11:46:34 +09:00
package-lock.json Bump lodash from 4.17.11 to 4.17.15 2019-10-24 12:55:23 +09:00
package.json Initial commit 2019-03-29 22:40:11 -04:00

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.

Using Github

The easiest way to contribute to the documentation is to 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 changes to a single page.

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.

Requirements

Building the website requires Docker. Please install it before building.

Building

If you want to simply build the website, you can do that using make. This will output the App Engine application code, configuration, and html and CSS into the public/ directory.

make

Testing

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

make devserver

Access the site at http://localhost:8080

If you need to test all functionality including redirects you can start the App Engine app locally. However, you will need to restart the app when making content changes:

make server