Repository for the gRPC website and documentation
Go to file
Patrice Chalin abf7cb9527
Add robots meta "noindex, nofollow" for /docs/{quickstart, tutorials} (#547)
Closes #546
2020-11-25 19:55:06 -05: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/sass Eliminate inlined styles from lang landing pages (#478) 2020-10-27 13:15:05 -04:00
content Add robots meta "noindex, nofollow" for /docs/{quickstart, tutorials} (#547) 2020-11-25 19:55:06 -05: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 robots meta "noindex, nofollow" for /docs/{quickstart, tutorials} (#547) 2020-11-25 19:55:06 -05:00
static Basic cleanup of testimonials (#410) 2020-09-23 20:04:40 -04:00
themes Refresh docsy submodule (#544) 2020-11-24 10:28:24 -05: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 Upgrade to Hugo 0.76.2 (#444) 2020-10-07 17:09:44 -04:00
README.md Cleanup: make title capitalization consistent with guidelines (#417) 2020-09-24 17:51:19 -04:00
check_hugo.sh Ensure Hugo is properly installed 2020-03-18 13:23:50 -07:00
config.yaml Drop /release (#542) 2020-11-24 08:14:25 -05:00
netlify.toml Upgrade to Hugo 0.76.2 (#444) 2020-10-07 17:09:44 -04: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
    
  • Alternatively, you can run the site using a Docker container:

    $ make docker-serve
    

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.