The docs preset is a regular documentation page: a header, a menu on the left and a page outline
on the right. Every page of the
site gets it unless something else is set.
preset-docs.page.json
{ "schema": "docara.page.v1", "title": "Quick start", "description": "Demo documentation page: menu and page outline.", "preset": "docs", "navigation": {"order": 10}}
preset-docs.md
---
noindex: true
---
# Quick start
In ten minutes you will accept your first test payment: get a key, create a
payment and check the notification.
## 1. Get a test key
Open your dashboard, go to "Keys" and click "Create test key".
A test key starts with `test_`.
## 2. Create a payment
```bash {title="Request"}
curl https://api.acme-pay.example/v1/payments \
-u "$ACME_TEST_KEY:" \
-d amount=100.00 \
-d currency=RUB
```
## 3. Pay with a test card
Open `confirmation_url` from the response and enter the card `4111 1111 1111 1111`
with any expiry date in the future.
How it works
"preset": "docs" picks the whole page view: which regions exist and
how they are arranged.
You do not have to write it: docs is the default preset. It is set here
to show where the preset is chosen.
Everything else on the page is regular Markdown.
What you can change
Parameter
What it changes
preset
The page view: docs for documentation, landing for a landing page