For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/help/spec.md.
Lynx
  • English
  • Managing Spec

    The Lynx Living Specification serves as the definitive technical reference for the Lynx engine.

    Location

    The spec source files are located in packages/lynx-living-spec/. The source .bs files are specifically in packages/lynx-living-spec/src/.

    Format

    The spec is written in Bikeshed (.bs), a preprocessor for specification documents often used by W3C standards.

    Prerequisites

    To build the spec, you need to have Bikeshed installed. We recommend using pipx to install it.

    Install pipx

    If you don't have pipx installed, you can install it via Homebrew (on macOS):

    brew install pipx

    Install Bikeshed

    Once pipx is installed, install bikeshed:

    pipx install bikeshed

    Editing the Spec

    1. Modify the .bs files in packages/lynx-living-spec/src/.
      • index.bs is the main entry point.
      • Other sections are split into separate files like styling.bs, scripting.bs, etc.
    2. To build the spec locally, run:
    pnpm gen:living-spec

    This uses a script (scripts/lynx-living-spec.js) to invoke bikeshed and generate the HTML output at docs/public/living-spec/index.html.

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.