Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
wbamberg More compact format for examples (#284)
* Revise format for live samples

* Update input-button examples

* Migrate all examples to compact format

* Remove example that's not an example
Latest commit b8595f7 Jan 21, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content More compact format for examples (#284) Jan 21, 2020
project-docs Writers guide (#197) Nov 13, 2019
recipes Fix regressions and errors in JS support (#247) Nov 18, 2019
scripts More compact format for examples (#284) Jan 21, 2020
.eslintrc.js Fix #110 - We should eslint the scripts (#112) Aug 21, 2019
.gitignore Fix #16: Remove Python code May 29, 2019
.prettierignore Use prettier for all scripts (#187) Oct 30, 2019
.spelling
.travis.yml mdn-sitemap-compare (#156) Dec 13, 2019
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file Mar 30, 2019
README.md Add linter to README (#218) Oct 31, 2019
package-lock.json Bump mdn-browser-compat-data from 1.0.4 to 1.0.5 (#287) Jan 18, 2020
package.json Bump mdn-browser-compat-data from 1.0.4 to 1.0.5 (#287) Jan 18, 2020

README.md

stumptown-content

Build Status

Installation

First fork then clone the repo on your machine.

cd stumptown-content
npm install

Development

Linting content

Before building, run checks on the content first. To lint content, run:

npm run lint-md

Alternatively, to partially lint content, add arguments for one or more paths to the content to be linted. For example:

npm run lint-md content/html/reference/elements/abbr

Building content

Stumptown builds the content into JSON files (located under /packaged). In order to build all of the files, use:

npm run build-json <section>

For instance, if you want to build the HTML section documents, type:

npm run build-json html

Validating content

npm test

Refresh your fork

Before sending a new pull request, please refresh your fork and clone.

You can’t perform that action at this time.