.agents/skills/docs/references/control-panel-patterns.md
This reference captures practical guide-authoring conventions observed in micronaut-projects/micronaut-control-panel and applicable to other Micronaut framework modules.
Source files:
src/main/docs/guide/toc.ymlsrc/main/docs/guide/quickStart.adocsrc/main/docs/guide/controlPanels.adocObserved conventions:
toc.yml defines order and nesting.src/main/docs/guide/.toc.yml nested section patternObserved pattern:
controlPanels:
title: Available Control Panels
builtIn: Built-in
management: Management
Mapping:
src/main/docs/guide/controlPanels.adocsrc/main/docs/guide/controlPanels/builtIn.adocsrc/main/docs/guide/controlPanels/management.adoc.adocUse dependency: macro with scope where relevant:
dependency:io.micronaut.controlpanel:micronaut-control-panel-ui[scope=developmentOnly]
Use generated include fragments:
include::{includedir}configurationProperties/io.micronaut.controlpanel.core.config.ControlPanelModuleConfiguration.adoc[]
Use explicit environment examples in [source,bash] blocks:
MICRONAUT_ENVIRONMENTS=dev ./gradlew run
docs.micronaut.io endpoint sections.WARNING:).Contributing workflow in control-panel matches template repos:
./gradlew publishGuide (or ./gradlew pG) for guide output../gradlew docs for guide + Javadocs.doc-examples/ when the repository contains that project.toc.yml and guide files synchronized at all times.