Find an article or create a translation
In Website Admin, open Site content → Documentation (/admin/documentation-pages). Editors need full Website admin access or the site_content permission. Changes apply to the shared documentation site. This resource has no faculty, organization or language scopes.
The table shows title, language, section, subsection path, slug, publication status and update time. Search title, section or slug, or filter by locale and publication. The default order uses Sort. Create opens /admin/documentation-pages/create; editing a row opens /admin/documentation-pages/{record}/edit. The edit page includes deletion. To take an article offline temporarily, clear its publication toggle and save.
Complete the fields and build the left navigation
| Field | What to enter |
|---|---|
| Locale and slug | One record per language. Russian is initially selected. Create separate RU, EN and HY records with the same slug. It must be unique per language, up to 160 characters, lowercase Latin letters and digits with single hyphens between parts. The names search and export are reserved. |
| Title and section | The full article title and left-menu section in the article language. Both are required, up to 255 characters each. Use the existing section spelling to group related articles. |
| Ordered subsections | Enter levels from broadest to narrowest. Press Enter to add each level, then drag to reorder. Each label allows up to 120 characters. An empty path places the article directly in the section. |
| Short menu title | Up to 255 characters. When empty, the menu uses the full title. |
| Summary and body | An optional summary of up to 1000 characters and a required Markdown body. Search includes the summary. |
| Sort and publication | A number from 0 to 2147483647, initially 0. Lower values come first; the public API breaks ties by record ID. The table also supports reordering. New articles start as drafts. |
For example, create an English record with slug assessment-review, title “Review an assessment result”, section “Learning Management”, subsection “Assessment”, short title “Review” and Sort 120. Use the same slug in RU and HY and translate the title, section, subsection and content. Each language has its own publication toggle. Changing the slug changes the page address. Review incoming links and translations before renaming it.
Write Markdown and verify publication
Begin the body with a heading such as ## Check source data and use ### Select a term for a subsection. The article title is displayed separately. The right navigation is derived from level-one to level-three headings. Repeated headings get distinct anchors automatically. The editor toolbar supports steps, tables, links and code blocks. Include the locale in internal paths, for example /en/docs/learning-plans. Rendering strips raw HTML and disallows unsafe links.
Save the record and reopen the form to review a draft. The public view is available after enabling publication and saving, at https://docs.kamoorj.com/en/docs/{slug} (replace {slug} with assessment-review) in this example. The resource has no separate public draft-preview action. Check the left-menu position, right-hand links and search in the selected language. API search accepts up to 150 characters, searches title, navigation, summary and body and returns up to 20 matches containing all query terms.
Markdown for a knowledge base
On a public article, Copy places the title and Markdown body on the clipboard. The adjacent link opens Markdown. The public website API offers these representations:
GET /api/documentation/assessment-review?locale=enreturns article data, HTML, the table of contents and published languages for the slug.GET /api/documentation/assessment-review/markdown?locale=enreturns the single article in Markdown with its heading.GET /api/documentation/export?locale=enreturns the published articles for that language in menu order, with source URLs and horizontal separators. Request separate exports for Russian and Armenian usingruandhy.
These outputs can feed an index or future AI assistant. Fetching an export does not itself start a chat or update an index. For website files and interface labels, see Media library and UI translations.
Implementation references
- website_backend · DocumentationPages/DocumentationPageResource.php
- website_backend · Pages/ListDocumentationPages.php
- website_backend · Pages/EditDocumentationPage.php
- website_backend · Support/AdminResource.php
- website_backend · Api/DocumentationController.php
- website_backend · Services/DocumentationRenderer.php
- website_backend · routes/api.php
- website · documentation/workspace.tsx
- website · server/documentation.ts
- website · [slug]/route.ts