Skip to main content

A document-authoring tool mainly intended for web specifications.

Project description

Bikeshed, a spec preprocessor

Bikeshed is a pre-processor for spec documents, turning a source document (containing only the actual spec content, plus several shorthands for linking to terms and other things) into a final spec document, with appropriate boilerplate, bibliography, indexes, etc all filled in. It's used on specs for CSS and many other W3C working groups, WHATWG, the C++ standards committee, and elsewhere!

CI Gitter Docs Release Notes

The processor can be easily installed and run locally (requiring no network access unless you're updating), or accessed as a CGI without any installation at all: https://api.csswg.org/bikeshed/

A short overview of some of Bikeshed's features:

Documentation Sections

The full Bikeshed documentation is generated by Bikeshed and accessible here.

Note About Fatal Errors

Bikeshed generates "fatal errors" for lots of things that it wants you to fix, but generally recovers gracefully from them anyway. If you're getting a fatal error, but don't have time to fix it and just need a spec right now, you can force Bikeshed to generate anyway with the -f flag, like: bikeshed -f spec.

This is also sometimes useful when converting a spec to Bikeshed for the first time, so you can see all the errors at once and fix them in whatever order is easiest, rather than having to deal with them one-by-one with no idea when they'll end. (You may also want to silence the warnings in this case, to reduce visual noise until you've gotten it at least building successfully. Use bikeshed -qf spec.)

Bikeshed File Extension

The preferred file extensions for Bikeshed source files is bs, like index.bs. Bikeshed will automatically recognize *.bs files in the folder it's run in, and assume that you want an output file of the same name with a .html extension. The repository also contains a syntax highlighting script for Bikeshed source files.

(Bikeshed also recognizes files with *.src.html for backwards compatibility with older CSS specs, though most such specs have switched their source file extensions to .bs now. Using .src.html in most text editors will display the file with HTML source formatting, which isn't generally what you want.)

License

This document and all associated files in the github project are licensed under CC0 . This means you can reuse, remix, or otherwise appropriate this project for your own use without restriction. (The actual legal meaning can be found at the above link.) Don't ask me for permission to use any part of this project, just use it. I would appreciate attribution, but that is not required by the license.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bikeshed-3.14.6.tar.gz (13.1 MB view details)

Uploaded Source

Built Distribution

bikeshed-3.14.6-py3-none-any.whl (15.0 MB view details)

Uploaded Python 3

File details

Details for the file bikeshed-3.14.6.tar.gz.

File metadata

  • Download URL: bikeshed-3.14.6.tar.gz
  • Upload date:
  • Size: 13.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for bikeshed-3.14.6.tar.gz
Algorithm Hash digest
SHA256 c94dbe344b556c4d1fcd742e6d898ea036195e8e38c24486e277355ca8da8096
MD5 fad4bb0830464fdd629f12aa25bd94e6
BLAKE2b-256 5bc701814fd6a8aaab1b42b16878dd9a48086e7feb467fb661b22eff49ce9de8

See more details on using hashes here.

File details

Details for the file bikeshed-3.14.6-py3-none-any.whl.

File metadata

  • Download URL: bikeshed-3.14.6-py3-none-any.whl
  • Upload date:
  • Size: 15.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for bikeshed-3.14.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5e70e3bf60604b670784c3a1da3564b3655d78efec8e8032db9bffb3de05f8b8
MD5 948e11b6b9cf8c16eccf0bdb64e5de69
BLAKE2b-256 7e21ddc0025d933b86843f615a6d0543b75b9a6f73e6e39d72f012b19a507f85

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page