Skip to content
Marcos Cáceres edited this page May 10, 2017 · 15 revisions

The github option allows you associate your specification with a repository on GitHub.

It takes either a string (URL to your repo) or an object with the following properties:

This automatically generates:

It also adds an object to otherLinks for under "Participate", with the appropriate links to your github repository.

Examples of usage

This is normally what you want:

const respecConfig = {
  github: "https://github.com/w3c/browser-payment-api"
}

This example shows a repository whose specs are being served from a "public-docs" branch.

const respecConfig = {
  github: {
    repoURL: "https://github.com/w3c/browser-payment-api",
    branch: "public-docs", // alternative branch 
  },
}

Guides

Configuration options

W3C Configuration options

Linting rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

HTML attributes

CSS Classes

Special properties

Clone this wiki locally