Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Documentation as code

How Exponential treats its documentation like code - Markdown files in doc/ versioned with the kernel, served by the help system inside the administration, front matter that drives audiences and search, a link and image…

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/help/software-engineers/documentation-as-code.md

On this page

Documentation as code

This page is for engineers who write documentation with their change, or who maintain the documentation of an extension. In Exponential the documentation lives in the repository, is reviewed in the same pull request as the code, is checked by a command, and is read inside the product. The feature page is The help system.

Contents

  1. Where the documentation lives
  2. How it is served
  3. Front matter
  4. Checking pages
  5. Documentation of extensions
  6. Writing rules
  7. License

Where the documentation lives

KindDirectory
Help pages by audiencedoc/eng-us/help/ (this page is in doc/eng-us/help/software-engineers/)
Feature pagesdoc/eng-us/features/6.0/
Upgrade notesdoc/eng-us/bc/6.0/
Guidesdoc/eng-us/guides/
Standards and specificationsdoc/eng-us/standards/, doc/eng-us/specifications/
Installation bookdoc/eng-us/install/
Changelogsdoc/changelogs/
Other languagesdoc/ger-de/ and further directories of exphelp.ini [DocLanguages]

How it is served

The help system shows every git-tracked Markdown and text file below doc/ in the administration (/exphelp/viewer/<path>), with headings, a table of contents, tables, highlighted code, the navigation of its section and a link to the file on GitHub; a search finds pages by title, headings and text with filters for audience, category and type. Reading the help needs the policy exphelp/read. A file that git does not track is not a page, so a new page appears in the help once it is committed.

Front matter

Help pages start with a YAML-style block:

KeyPurpose
titlethe page title, also the H1
audienceone or more audiences, which drive the filters and the dashboard cards
categorythe category in the help
orderthe order within the folder
summarythe description in search results and listings
keywordsextra search terms
featuredshown among the featured pages
typethe kind of page, for example help

Checking pages

./console exp:help check --below=help/software-engineers/   # links and images of the pages below a path
./console exp:help search "clear cache"                      # what readers will find
./console exp:help show guides/caches.md                     # the metadata and headings of one page
./console exp:help index --rebuild                           # rebuild the index

The check reports errors (a link to a missing file, a link that leaves the installation, an unsafe scheme, a broken image), warnings (an anchor no heading has, an absolute link) and notices (a link to a file that is not a help page). --strict makes warnings fail too. Use relative links only, and link anchors to headings that exist.

Documentation of extensions

The help shows the documentation every active extension brings (its doc/ directory, README, CHANGELOG, LICENSE) under /exphelp/extensions, in the same viewer and search (Help system for extensions, Documenting your extension). The convention is the same docs as code: README.md and INSTALL.md on top of extension/<name>/, every other page as Markdown (.md) in extension/<name>/doc/, in English (Documenting an extension).

Writing rules

  • Write what exists. Verify every claim in the code, the settings or another page, and say so where the sources do not answer.
  • Name the product Exponential. Identifiers such as eZContentObject stay as they are; the old product name appears only as history.
  • Real commands only in code blocks; no host names, accounts or passwords of a real installation.
  • American English in the interface and the documentation.
  • A behavior change gets its upgrade note, a feature its page, a release its changelog (Changelogs and upgrade notes).

Help topics maintained as content in the administration follow their own style guide and review states (Help style guide, Keeping the help up to date).

License

The documentation is free under the GNU Free Documentation License 1.3; the code is under the GNU GPL, version 2 or later (Free documentation, Documentation and publishing standards).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x