Code Monkey home page Code Monkey logo

gvisor-website's Introduction

NOTE: This repository is no longer maintained. The website is now maintained as part of the core gVisor repository.

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

Updating Styles

If you want to update style on the website you can do this by updating templates or CSS for the website. Check out the Hugo documentation for info on hugo templating. Check out the Docsy documentation for info on the Docsy theme.

Custom templates, partials, and shortcodes

Custom templates, including partials and shortcodes, should go under the layouts/ directory.

Custom CSS

Custom CSS styles should go into the _styles_project.scss file.

If you need to override or create variables used in scss styles, update the _variables_project.scss file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.