Repository for the gRPC website and documentation
Go to file
Aidan Ranney 60a6fc076f Revert git command in netlfy build steps 2020-12-16 18:33:51 -08:00
.github/ISSUE_TEMPLATE Issue template: drop title from blank template 2020-03-26 11:09:25 -04:00
archetypes More blog post cleanup 2020-03-10 11:36:12 -07:00
assets Remove list bullets and increase spacing on prog-lang-home pages 2020-12-16 17:12:52 -08:00
content/en Enable multi-language support on site 2020-12-16 18:33:46 -08:00
data Python: update supported versions (#514) 2020-11-13 13:20:04 -05:00
includes Rework Google-specific language (#167) 2020-07-07 15:35:56 -04:00
layouts Add redirect rule for FAQ page 2020-12-16 17:12:52 -08:00
static Blogpost about how to use wireshark with protobuf and grpc dissectors (#467) 2020-12-04 19:52:43 -05:00
themes Set config params for use with Docsy theme 2020-12-16 17:12:13 -08:00
.browerslistrc Adjust column width for main documentation text (#186) 2020-04-13 17:54:57 -04:00
.cspell.json More ALTS page cleanup (#536) 2020-11-23 15:32:27 -05:00
.editorconfig Convert contributing guide to Markdown 2020-03-09 16:01:17 -07:00
.gitignore README: list prerequisites and include step to run npm install (#189) 2020-04-14 17:25:12 -04:00
.gitmodules Add docsy theme submodule w/o using it (#228) 2020-05-18 14:25:01 -04:00
.htmltest.external.yml Add link checker 2020-03-06 13:05:47 -08:00
.htmltest.yml Add link checker 2020-03-06 13:05:47 -08:00
CODE-OF-CONDUCT.md Add GOVERNANCE.md, CODE-OF-CONDUCT.md and CONTRIBUTING.md 2019-09-26 15:56:15 -07:00
CONTRIBUTING.md Add GOVERNANCE.md, CODE-OF-CONDUCT.md and CONTRIBUTING.md 2019-09-26 15:56:15 -07:00
GOVERNANCE.md Add GOVERNANCE.md, CODE-OF-CONDUCT.md and CONTRIBUTING.md 2019-09-26 15:56:15 -07:00
LICENSE Add contents of new site repo 2019-04-22 18:07:24 -07:00
LICENSE-DOCS Add DOCS license file (#174) 2020-04-10 16:28:55 -04:00
MAINTAINERS.md Add MAINTAINERS file (#232) 2020-05-22 09:03:58 -04:00
Makefile Makefile: only build drafts and futures for draft branches (#558) 2020-12-04 19:33:56 -05:00
README.md Makefile cleanup: drop docker-serve (#556) 2020-12-04 17:11:33 -05:00
check_hugo.sh Ensure Hugo is properly installed 2020-03-18 13:23:50 -07:00
config.yaml Enable multi-language support on site 2020-12-16 18:33:46 -08:00
netlify.toml Revert git command in netlfy build steps 2020-12-16 18:33:51 -08:00
package.json Upgrade to bulma 0.9.0 (#426) 2020-09-28 16:46:39 -04:00
postcss.config.js Adjust column width for main documentation text (#186) 2020-04-13 17:54:57 -04:00

README.md

The gRPC website and documentation

This repository houses the assets used to build and deploy the gRPC website, available at https://grpc.io. The site is built using the Hugo static site generator. Check out the Hugo quick start for a quick intro.

Prerequisites

Serving the site locally

First install NPM packages:

$ npm install

To build and locally serve this site, you can use any one of the following commands:

  • Build and serve using Hugo, via make:

    $ make serve
    
  • Build and serve using Netlify dev, which allows you to exercise features such as site redirects:

    $ npx netlify dev
    

Publishing the site

The gRPC website is automatically published by Netlify. Any time changes are committed to the default branch, the site is rebuilt and redeployed.

Site content

All of the Markdown content used to build the site's documentation, blog, etc. is in the content directory.

You can check the site's internal links by running this command:

$ make check-internal-links

This deletes the generated public directory, builds the "production" version of the site, and verifies that internal links are valid. Please note that internal links prefixed with /grpc do not work in your local environment (there are redirects applied by Netlify). Any errors returned from /grpc links are false negatives that you can ignore.