Repository for the gRPC website and documentation
Go to file
Xuan Wang 1a668d2016
User guide for keepalive and compression (#1135)
2023-05-30 13:21:54 -07: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 Upgrade docsy to v0.1.0 (#949) 2022-03-05 16:26:11 -05:00
content/en User guide for keepalive and compression (#1135) 2023-05-30 13:21:54 -07:00
data Updated C++ compilers versions (#1110) 2023-03-13 15:13:26 -07:00
includes Rework Google-specific language (#167) 2020-07-07 15:35:56 -04:00
layouts Update C# documentation after C# source move (#1067) 2022-10-31 13:21:37 -04:00
static Add blog post on gRPC performance benchmarks on GKE (#940) 2022-03-01 19:32:21 -05:00
themes Upgrade grpc.io-docsy to match docsy 0.4.0 (#1027) 2022-08-12 09:55:36 -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 Upgrade packages, including hugo-extended (#893) 2021-11-09 16:52:06 -05:00
.gitmodules Switch to grpc/grpc.io-docsy (#710) 2021-03-09 11:06:10 -05:00
.htmltest.yml More external links to ignore (#1036) 2022-08-14 18:27:28 -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 Link checking: update ignore rules for use with htmltest 0.16.0 (#1034) 2022-08-14 16:01:07 -04:00
README.md CI script updates (#901) 2021-12-21 08:48:16 -05:00
config.yaml User guide for custom load balancing policies (#1128) 2023-05-19 09:51:59 -07:00
netlify.toml Redirect www to apex domain using Netlify (#1052) 2022-09-27 08:47:26 -04:00
package.json Upgrade grpc.io-docsy to match docsy 0.4.0 (#1027) 2022-08-12 09:55:36 -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. Install it using nvm, for example:

$ nvm install --lts

Setup

  1. Clone this repo.
  2. From a terminal window, change to the cloned 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 create a deploy preview so that you can review your changes. Once your PR is merged, Netlify deploys the updated site to the production server.

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

To see deploy logs and more, visit project's dashboard -- Netlify login required.

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.