Skip to content

Writing chapter Markdown

Everything you need to author pages that build cleanly in the portal.

Page basics

  • Use ATF-8 Markdown (.md)
  • One H1 (#) per page (MkDocs Material uses it as the page title)
  • Prefer short pages linked from docs/.pages over one huge file
  • Put images under docs/assets/ and link relatively: ![Alt](assets/diagram.png)
docs/
  .pages              # nav for this chapter
  index.md            # landing page (required)
  getting-started.md
  assets/
    architecture.png

Example docs/.pages:

title: My Service
nav:
  - Home: index.md
  - Getting started: getting-started.md
  - Reference: reference.md
Kind Do this
Same chapter Relative: [Next](getting-started.md)
Another chapter Absolute path from site root after publish: /guides/other-name/ (or ask DevOps)
External Full HTTPS URL

Avoid linking to GitLab raw files as the primary reading path — put content in the chapter.

Admonitions

Supported by the portal:

!!! note "Title"
    Body text.

!!! tip
    Tip body.

!!! warning
    Warning body.

Code blocks

Fenced blocks with a language tag:

```yaml
name: my-service
```

Diagrams

Mermaid fences work on the internal site (same as the Node SDK book):

```mermaid
flowchart LR
  A[Repo] --> B[Portal]
```

What not to put in docs

  • Secrets, tokens, private keys, customer PII
  • Huge binary assets (prefer links to Artifactory / design tools)
  • Generated API dumps that belong in the product’s own site unless you own that content

Preview locally (optional)

If you use MkDocs Material yourself:

pip install mkdocs-material mkdocs-awesome-pages-plugin
# Minimal local preview of your docs/ folder only — portal may differ slightly

Full preview of your chapter inside the book happens after ingest/publish (or DevOps vendors your docs/ for a dry run).