Code Monkey home page Code Monkey logo

grpc.io's Introduction

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 pushed to the master 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.

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.

grpc.io's People

Contributors

chalin avatar cjyabraham avatar ctoomey avatar dapengzhang0 avatar dcalvin avatar dh-- avatar dominikb avatar dontrebootme avatar ejona86 avatar gnossen avatar jkapostins avatar jtattermusch avatar le-michael avatar lidizheng avatar lucperkins avatar mgechev avatar murgatroid99 avatar muxi avatar nicolasnoble avatar novalagung avatar sean0628 avatar shirhatti avatar srini100 avatar stefma avatar thisisnotapril avatar timwolla avatar veblush avatar voidzcy avatar waldyrious avatar yashykt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.