How to contribute to Observable Framework — development setup, guidelines, and processes.
Observable Framework documentation: Contributing Source: https://observablehq.com/framework/contributing
If you’d like to contribute to Observable Framework, here’s how. First clone the git repo and run Yarn Classic to install dependencies:
git clone git@github.com:observablehq/framework.git
cd framework
yarn
Next start the local preview server:
yarn dev
Lastly visit http://127.0.0.1:3000.
The local preview server restarts automatically if you edit any of the TypeScript files, though you may need to reload. The default page is docs/index.md; if you edit that file and save changes, the live preview in the browser will automatically update.
To generate the static site:
yarn docs:build
This creates the docs/.observablehq/dist folder. View the site using your preferred web server, such as:
http-server docs/.observablehq/dist
This documentation site is built on GitHub using Observable Framework; see the deploy workflow. Please open a pull request if you’d like to contribute. Contributors are expected to follow our code of conduct. 🙏
A test coverage report can be generated with c8, in text and lcov formats, to help you identify which lines of code are not (yet!) covered by tests. Just run:
yarn test:coverage
To release a new version, first update the package.json file by following the standard process for committing code changes:
version field in the package.json file as desired.main branch.Once the above is done, you can publish the release via GitHub:
v e.g. v1.2.3.main.That’s it! The publish action will take care of the rest.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer