Repository for the gRPC website and documentation
Go to file
Aidan Ranney 8e4f008bb5
Add new shortcode to add missing headings to ToC (#577)
Previously, the Markdown renderer was not being passed the headings to
render on "language home" list pages. This moves some of the template
logic into a shortcode and specifies that it should be rendered as
Markdown. The shortcode is then called directly in the index pages.
2020-12-18 12:17:10 -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 Refactor Docs ToC and improve styles (#567) 2020-12-18 08:40:50 -05:00
content/en Add new shortcode to add missing headings to ToC (#577) 2020-12-18 12:17:10 -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 new shortcode to add missing headings to ToC (#577) 2020-12-18 12:17:10 -05:00
static Refactor Docs ToC and improve styles (#567) 2020-12-18 08:40:50 -05:00
themes Implement the Docsy theme (#561) 2020-12-17 02:13:50 -05:00
.browerslistrc Adjust column width for main documentation text (#186) 2020-04-13 17:54:57 -04:00
.cspell.json Make page titles unique: reorder title parts (#569) 2020-12-17 09:44:50 -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 Refactor Docs ToC and improve styles (#567) 2020-12-18 08:40:50 -05:00
netlify.toml Implement the Docsy theme (#561) 2020-12-17 02:13:50 -05: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.