This add-on lets you publish professional documentation inside your forum.
This add-on lets you publish professional documentation inside your forum: software documentation, a knowledge base, an API reference and a FAQ, with a reading experience, a search and an editor built from XenForo's own components.
Software: features, configuration and permission references as structured lists with permanent links, and technical references.
Knowledge base: articles in sections, summaries, related articles chosen by hand, a "last updated" line.
API: HTTP method and path, authentication, Path / Query / Header / Body parameters, request and response examples in tabs, status codes and errors.
FAQ: collapsible answers reachable by keyboard, a direct link per question, open or close everything.
Each documentation chooses its main type, which sets the layout of its home page and the default type of a new page. It never limits the page types you can use inside it.
Writing :
Pages in a tree without limit of depth : sections, pages and sub-pages, moved by drag and drop.
Two editors, your choice : the XenForo editor (BB code, the default) or a Markdown editor. The choice is an option of the forum that each documentation can override. The format of a text is the one it was written in; existing pages are never converted.
Markdown editor : Write / Split / Preview with a live preview made by the same engine as the public pages, full screen, a complete toolbar, an Insert menu, syntax highlighting, line numbers, undo and redo, search, keyboard shortcuts (macOS and Windows), image drag and drop, XenForo attachments.
Components: note, tip, important, warning, danger, tabs, steps, code group, code block (with the languages of XenForo's own code editor), file tree, table, image, link card, link to another page, Mermaid diagrams.
CommonMark and GitHub syntax (tables, strikethrough, task lists, automatic links, footnotes). HTML typed in a text is escaped and dangerous addresses are refused.
Draft / published, with children of a draft hidden too.
Revisions: every save is a full snapshot (title, text, data, type, state, translations). The list says what each revision changed; read and restore; a restore creates a new revision. The number kept is an option.
Pages that show their sub-pages on themselves: one long page to read in one go, with a sidebar that scrolls to the part being read.
Internal links with [DOC=id]text[/DOC] or doc:ID in Markdown, shown as a link only to those who can read the page.
A Font Awesome icon for each page and each documentation, chosen in a native searchable menu.
Reading :
A catalogue of documentations in cards, a home page per documentation, and a three-column reading page: navigation, content, "On this page".
Hierarchical navigation loaded on demand and usable by keyboard, breadcrumb, previous / next, related articles, attachments.
A classic or a document reading layout (option).
Clean addresses: docs/, docs/<slug>/, docs/<slug>/<title>.<id>/, with permanent redirects from a slug a documentation used to have.
Works on desktop, tablet and phone, in the light and dark styles of your forum.
Search :
A dedicated search with its own tab in the advanced search, using the search engine of your forum (MySQL or Elasticsearch / OpenSearch): the readable text of a page is indexed, not its syntax.
Quick search: press Cmd + K / Ctrl + K, or click the search field of the documentation, to search instantly in this documentation or in all of them, with the path and an excerpt of each result, full keyboard control and a link to the full results.
Drafts and pages you cannot read never appear in the results.
Multilingual :
Translate the title, summary and content of a page, and the title and description of documentation, into any language you offer, independent of the languages of the forum.
A field left empty falls back to the original, field by field.
The visitor reads the language they chose with a language button, or the one that matches their forum language.
The search finds a page with the words of the translations, and revisions keep the translations.
Sharing and integration :
Share buttons (the networks of your forum and a copy of the link) on every documentation and page.
A documentation or page address alone on a line of a post becomes a block in the post, for those who can read it.
Forum help pages: add a page to the help pages of XenForo, with its sub-pages as questions that open.
A page of the most frequently asked questions (docs-faq/) built from the pages you choose.
Resource Manager (optional) : a "Documentation" link on a resource.
Import and export :
Export a documentation to a ZIP (pages, translations, attachments) and import it into another forum as a new documentation. The import checks the archive before writing anything and never changes an existing documentation.
Administration :
Pages list with a status pill (Live / Draft / Hidden), counts and one-click go live.
Forms by tabs (General, Texts / Content, Revisions) and a language tab per translation.
Keyboard-friendly, built with the components of the XenForo admin.
Options :
Editor of the pages (BB code or Markdown), overridable in each documentation.
Reading layout (classic or document).
Maximum number of revisions kept per page.
Number of headings from which "On this page" is shown, and whether it lists the pages shown inside a page.
Spacing of the quick search window, as three style properties (they accept a value such as 8px or a reference such as @xf-paddingMedium).
Permissions :
View documentation and View attachments, for each user group, and overridable for each documentation by group or by user.
In the admin: manage documentations, manage the content of pages, manage the permissions of documentations.
Implemented add-ons :
XenForo Resource Manager (optional link on a resource).
XenForo help pages.
Security :
Permissions, visibility of drafts and attachments are checked on the server for every page.
The Markdown renderer escapes HTML, refuses javascript: and similar addresses, limits nesting and the size of a text, and is bundled with prefixed namespaces so that it cannot clash with another add-on.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.