JKapostins / grpc.io

Repository for the gRPC website and documentation

Home Page:https://grpc.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Running the site locally

To run the site locally, you need to install Hugo. Once Hugo is installed:

make serve

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 pushed to the master branch, the site is re-built and re-deployed. This process does not require manual management.

Site content

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

Checking links

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.

About

Repository for the gRPC website and documentation

https://grpc.io

License:Apache License 2.0


Languages

Language:HTML 74.0%Language:CSS 15.9%Language:Shell 7.8%Language:Makefile 2.3%