Repository for the gRPC website and documentation
Go to file
Patrice Chalin ec719acffe
Directly link to FAQ page, avoiding the redirect (#836)
2021-08-21 12:47:30 -04: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 Use linkTitle rather than short_title (#823) 2021-08-11 14:39:02 -04:00
content/en Directly link to FAQ page, avoiding the redirect (#836) 2021-08-21 12:47:30 -04:00
data Dart 2.12+ is required (#756) 2021-04-22 08:55:42 -04:00
includes Rework Google-specific language (#167) 2020-07-07 15:35:56 -04:00
layouts Add maintenance-mode banner to C# pages (#769) 2021-05-03 21:08:10 +02:00
static Wireshark blog post (#625) 2021-02-03 13:55:35 -05:00
themes Use linkTitle rather than short_title (#823) 2021-08-11 14:39:02 -04:00
.browerslistrc Adjust column width for main documentation text (#186) 2020-04-13 17:54:57 -04:00
.cspell.json Fix the relative import order of variables and variables_project (#702) 2021-03-05 17:21: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 Switch to grpc/grpc.io-docsy (#710) 2021-03-09 11:06:10 -05:00
.htmltest.yml Ensure `check-links:all` also builds first (#833) 2021-08-19 16:40:03 -04:00
.nvmrc Build config: upgrade Hugo and Node, and other cleanup (#629) 2021-02-05 11:17:01 -05: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 Address grpc-community master to main branch rename (#723) 2021-03-11 19:58:24 -05:00
GOVERNANCE.md Address grpc-community master to main branch rename (#723) 2021-03-11 19:58:24 -05:00
LICENSE Use a single LICENSE file (#717) 2021-03-11 16:23:47 -05:00
MAINTAINERS.md Update MAINTAINERS.md (#736) 2021-03-24 12:05:46 -04:00
Makefile Enable link checking, but don't fail the build (#832) 2021-08-19 15:48:03 -04:00
README.md Enable link checking, but don't fail the build (#832) 2021-08-19 15:48:03 -04:00
config.yaml Update config.yaml for grpc-java release v1.40.0 (#829) 2021-08-17 18:12:01 -04:00
netlify.toml Greatly simplify build and build instructions (#830) 2021-08-19 14:24:15 -04:00
package.json Ensure `check-links:all` also builds first (#833) 2021-08-19 16:40:03 -04:00

README.md

gRPC website

The grpc.io site, built using Hugo and hosted on Netlify.

Build prerequisites

To build and serve the site, you'll need the latest LTS release of Node. Like Netlify, we use nvm, the Node Version Manager, to install and manage Node versions:

$ nvm install --lts

Setup

  1. Clone or download a copy of this repo.
  2. From a terminal window, change to the cloned or unzipped repo directory.
  3. Get NPM packages and git submodules, including the the Docsy theme:
    $ npm install 
    

Build the site

Run the following command to have Hugo generate the site files:

$ npm run build

You'll find the generated site files in the public folder.

Serve the site locally

To locally serve the site at localhost:8888, run the following command:

$ npm run serve

Site deploys and PR previews

If you submit a PR, Netlify will automatically create a deploy preview so that you can review your changes. Once your PR is merged, Netlify automcatically deploys to the production site grpc.io.

Note: PR previews include draft pages, but production builds do not.

You can see deploy logs and more from the Netlify gRPC Team dashboard, provided you have the necessary permissions.

If you have htmltest in your path, then you can check the site's internal links by running this command:

$ npm run check-links

You can check all links (internal and external) as well:

$ npm run check-links:all

Contribute

We welcome issues and PRs! For details, see Contribute.