Code Monkey home page Code Monkey logo

bikeshed-boilerplate's Introduction

Bikeshed Boilerplate

This repo holds the boilerplate files (header, footer, other "constant" bits of specs) used by Bikeshed.

The top-level files in the boilerplate/ folder are used by default, if there's nothing more specific.

The subfolders are for specific groups (the Group metadata in a Bikeshed file) to override the defaults with group-specific variants. In there, the filename may also have a status (the Status metadata in the Bikeshed file) to further specialize them.

Altering Boilerplates

If you need to change an existing boilerplate for your group, just send a PR.

Adding or Removing Boilerplates

If you need to add or remove files from an existing group's folder, send a PR. I will additionally need to regenerate the manifest, so it might be delayed until I'm at a work computer.

If you're adding files for a new group, look for an existing group's files that generate specs that look similar to what you want. If you're a W3C group, start with the contents of the boilerplates/w3c/ folder.

Testing Boilerplates Before Adding Them Here

If you want to verify that your new or updated boilerplates work the way you want before you PR this repo, just put the boilerplates in question into the same folder as your spec file. Bikeshed looks for boilerplates in the spec's folder first, before it starts searching thru its own data files.

(If you're using the API version of Bikeshed, or passing Bikeshed a spec on stdin, there's no way to test new boilerplates. Install it locally from pip and put the spec into a file.)

When Are Boilerplates Available?

After a boilerplate change has been merged, the manifest file needs to be updated and committed to the repo: python3 generate/__init__.py will do so.

Once that's done, a few minutes later the change will be picked up by bikeshed-data (check the commit log to see it), at which point a bikeshed update will bring the new boilerplates in. Alternately, manually updating the boilerplates with bikeshed update --skip-manifest --boilerplate will pull the new files down immediately, without waiting for bikeshed-data to update.

bikeshed-boilerplate's People

Contributors

anssiko avatar cconcolato avatar dbaron avatar dontcallmedom avatar frivoal avatar himorin avatar plehegar avatar sideshowbarker avatar svgeesus avatar tabatkins avatar tidoust avatar y-guyon avatar zcorpan 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.