This folder is a Docusaurus 3 site that powers the public ONQL docs.
cd docs
npm install
npm startThe dev server runs on http://localhost:3000 with hot reload.
npm run buildStatic output goes to build/. Drop it on any static host.
GIT_USER=<your-github-username> npm run deployPoint at the repo, set:
- Build command:
npm run build - Build output directory:
build - Base directory:
docs
docs/
βββ docs/ β markdown content (the actual docs)
β βββ intro.md
β βββ getting-started/
β βββ tour/
β βββ concepts/
β β βββ protocol/
β β βββ relationships/
β β βββ query-execution/
β βββ language/
β β βββ filters/
β β βββ projections/
β β βββ aggregates/
β βββ cookbook/
β βββ reference/
β βββ deployment/
β βββ contributing.md
βββ sidebars.js β navigation tree
βββ docusaurus.config.js β site config
βββ src/
β βββ css/
β βββ custom.css β theme overrides
βββ babel.config.js
βββ package.json
βββ README.md β you are here
See docs/contributing.md for the guide. TL;DR:
- Find or create the right
.mdfile. - Add it to
sidebars.jsif it's new. - Open a PR.
Every page has an "Edit this page" link that takes you straight to the file on GitHub for one-click typo fixes.