About the project · 0.8.1

How the Admingen website uses content

How the landing/docs use a JSON snapshot, where articles come from and when the website needs updating.

On this page

Admingen generates a backend, admin interface and API for applications with records, relationships, files and access rules. A website can read that API at runtime or publish prepared content. The Admingen landing and documentation use the latter approach: a static Astro site with JSON content in the admingen-landing repository.

Current documentation sources

File Contents
src/content/documentation-ru.json Russian sections and articles
src/content/documentation.json English sections and articles

Each file contains sections and articles. An article stores its slug, title, summary, Markdown, section relationship and other metadata. The site derives navigation, pages and search indexes from these records. The current catalogue has 12 sections: getting started, concepts, CLI, operations, project information, UI, architecture, custom zones, demos, AI Model, account and admin editor.

These two language files are the editable article source. An earlier CMS supplied the initial content; the running landing does not query its database and does not need content imported into it. Never include accounts, passwords, private keys, sessions or database connection credentials in site data.

Edit an article

  1. Find its slug in the relevant language JSON. Preserve the ID, slug, section and publication metadata when editing copy.
  2. Edit title, summary and body_markdown. Review the corresponding other-language article as well.
  3. Start instructions with the Generator UI action and expected result. Use terminal steps for operations that actually require it; explain interactive prompts in their order.
  4. Use ENTITY_NAME, RELATED_ENTITY_NAME and FIELD_NAME in technical examples and explain substitution. Preserve real demo names only when readers need to find those actual menu items.
  5. Check links and Markdown. Site build and publication are separate owner-run CI operations.

Saving JSON does not immediately change the published page. Text edits do not require Generate because they do not change a generated application schema.

Pages, links and screenshots

Internal /docs/SLUG links refer to catalogue articles. Keep existing slugs when editing. Static-site configuration owns domains and direct URL loading; content JSON does not create them.

A Markdown screenshot:KEY marks a reserved location for a real UI screenshot. Retain existing keys until the owner adds the images. A placeholder does not claim that a screenshot already exists.

When your client needs a live API

For your own application, begin in Generator UI: Content → entity → Access. Enable only the external operations you need; restrict published-content reads with an appropriate read rule on FIELD_NAME. Replace ENTITY_NAME and FIELD_NAME with your model names. Configure virtual projections and nested-collection rules explicitly instead of assuming source-entity access is inherited.

Anonymous access is for public data. Authenticated access requires a session but does not automatically enforce record ownership or membership of a particular event; implement additional business rules server-side in custom code when required.

Explicit public Nginx caching applies to anonymous external List/Get. Mutations do not invalidate it automatically; an old response can remain until TTL. This cache neither updates static website JSON nor belongs on private responses.

Continue with generated API, Content / Access, virtual entities and API connections and caching.