Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
"pages": [
"module-definitions/definition-schema/module",
"module-definitions/definition-schema/inputs",
"module-definitions/definition-schema/input-types",
"module-definitions/definition-schema/stack",
"module-definitions/definition-schema/build",
"module-definitions/definition-schema/deploy",
Expand Down
21 changes: 21 additions & 0 deletions module-definitions/definition-schema/input-types.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Module definition schema: Input types"
sidebarTitle: "Input types"
description: "Reference every module input type — string, number, boolean, object, array, map, compound, section, git repo, and ref — with its fields and options."
boost: 0.5
"og:image": "https://www.ravion.com/og/docs/module-definitions/definition-schema/input-types.png"
"twitter:image": "https://www.ravion.com/og/docs/module-definitions/definition-schema/input-types.png"
---

{/* Generated by scripts/sync-schema-reference.mjs from ../flightcontrol/packages/schemas/schema_reference/docs/module.md. Do not edit by hand. */}

import SchemaReferencePart from "/snippets/schema-reference/module/input-types.mdx";

<Visibility for="agents">
> The full rendered schema reference is omitted from this Markdown view to save tokens.
> Fetch [https://api.ravion.com/module-definitions/schema.md](https://api.ravion.com/module-definitions/schema.md) for the complete module definition schema in a compact, machine-readable format.
</Visibility>

<Visibility for="humans">
<SchemaReferencePart />
</Visibility>
2 changes: 1 addition & 1 deletion module-definitions/definition-schema/inputs.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Module definition schema: Inputs"
sidebarTitle: "Inputs"
description: "Reference module input fields, types, defaults, validation rules, visibility, and conditional behavior used to configure module instances safely."
description: "Reference module input defaults, validation rules, visibility conditions, and dynamic value references used to configure module instances safely."
boost: 0.5
"og:image": "https://www.ravion.com/og/docs/module-definitions/definition-schema/inputs.png"
"twitter:image": "https://www.ravion.com/og/docs/module-definitions/definition-schema/inputs.png"
Expand Down
12 changes: 11 additions & 1 deletion scripts/sync-schema-reference.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const splitDocs = [
},
{title: "ECS task definitions", match: /^Ecs/},
],
Inputs: [
{title: "Inputs"},
{title: "Input types", match: /InputProperty$/},

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Moved anchor breaks link

When readers follow the existing changelog link to /definition-schema/inputs#refinputproperty, this grouping has moved RefInputProperty exclusively to the new input-types page, causing the link to open a page without its referenced section. Update the hand-authored link or preserve the old anchor when splitting the page.

Knowledge Base Used: Reference generation and validation

Prompt To Fix With AI
This is a comment left during a code review.
Path: scripts/sync-schema-reference.mjs
Line: 43

Comment:
**Moved anchor breaks link**

When readers follow the existing changelog link to `/definition-schema/inputs#refinputproperty`, this grouping has moved `RefInputProperty` exclusively to the new `input-types` page, causing the link to open a page without its referenced section. Update the hand-authored link or preserve the old anchor when splitting the page.

**Knowledge Base Used:** [Reference generation and validation](https://app.greptile.com/flightcontrol/-/custom-context/knowledge-base/ravionhq/docs/-/docs/reference-generation-and-validation.md)

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

],
},
standaloneSections: ["Template expressions"],
titleOverrides: {ui: "UI"},
Expand Down Expand Up @@ -70,7 +74,13 @@ const splitDocs = [
title: "Module definition schema: Inputs",
sidebarTitle: "Inputs",
description:
"Reference module input fields, types, defaults, validation rules, visibility, and conditional behavior used to configure module instances safely.",
"Reference module input defaults, validation rules, visibility conditions, and dynamic value references used to configure module instances safely.",
},
"input-types": {
title: "Module definition schema: Input types",
sidebarTitle: "Input types",
description:
"Reference every module input type — string, number, boolean, object, array, map, compound, section, git repo, and ref — with its fields and options.",
},
module: {
title: "Module definition schema: Module",
Expand Down
1 change: 1 addition & 0 deletions snippets/schema-reference/module-index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- [Module](/module-definitions/definition-schema/module)
- [Inputs](/module-definitions/definition-schema/inputs)
- [Input types](/module-definitions/definition-schema/input-types)
- [Stack](/module-definitions/definition-schema/stack)
- [Build](/module-definitions/definition-schema/build)
- [Deploy](/module-definitions/definition-schema/deploy)
Expand Down
6 changes: 3 additions & 3 deletions snippets/schema-reference/module/build.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Image build configuration for a module.
Build-specific inputs shown when running a module build.
Same types as module inputs — reuses the InputProperty union.

See: [InputProperty](/module-definitions/definition-schema/inputs#inputproperty)
See: [InputProperty](/module-definitions/definition-schema/input-types#inputproperty)
</ResponseField>

<ResponseField name="source" type="Pipeline.GitSource" required>
Expand Down Expand Up @@ -136,7 +136,7 @@ step.
Build-specific inputs shown when running a module build.
Same types as module inputs — reuses the InputProperty union.

See: [InputProperty](/module-definitions/definition-schema/inputs#inputproperty)
See: [InputProperty](/module-definitions/definition-schema/input-types#inputproperty)
</ResponseField>

<ResponseField name="source" type="Pipeline.GitSource" required>
Expand Down Expand Up @@ -212,7 +212,7 @@ Static build configuration for a module.
Build-specific inputs shown when running a module build.
Same types as module inputs — reuses the InputProperty union.

See: [InputProperty](/module-definitions/definition-schema/inputs#inputproperty)
See: [InputProperty](/module-definitions/definition-schema/input-types#inputproperty)
</ResponseField>

<ResponseField name="source" type="Pipeline.GitSource" required>
Expand Down
6 changes: 3 additions & 3 deletions snippets/schema-reference/module/deploy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ AWS static site deployment configuration
Deployment-specific inputs shown in the deploy modal.
Same types as module inputs — reuses the InputProperty union.

See: [InputProperty](/module-definitions/definition-schema/inputs#inputproperty)
See: [InputProperty](/module-definitions/definition-schema/input-types#inputproperty)
</ResponseField>

<ResponseField name="definition" type="AwsStaticDeploymentDefinition" required>
Expand Down Expand Up @@ -127,7 +127,7 @@ only supported deployment strategy.
Deployment-specific inputs shown in the deploy modal.
Same types as module inputs — reuses the InputProperty union.

See: [InputProperty](/module-definitions/definition-schema/inputs#inputproperty)
See: [InputProperty](/module-definitions/definition-schema/input-types#inputproperty)
</ResponseField>

<ResponseField name="definition" type="Ec2DeploymentDefinition" required>
Expand Down Expand Up @@ -171,7 +171,7 @@ routing alias shifts are deliberately out of scope for v1.
Deployment-specific inputs shown in the deploy modal.
Same types as module inputs — reuses the InputProperty union.

See: [InputProperty](/module-definitions/definition-schema/inputs#inputproperty)
See: [InputProperty](/module-definitions/definition-schema/input-types#inputproperty)
</ResponseField>

<ResponseField name="definition" type="LambdaDeploymentDefinition" required>
Expand Down
2 changes: 1 addition & 1 deletion snippets/schema-reference/module/ecs-deployments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ AWS ECS deployment configuration
Deployment-specific inputs shown in the deploy modal
Same types as module inputs — reuses the InputProperty union

See: [InputProperty](/module-definitions/definition-schema/inputs#inputproperty)
See: [InputProperty](/module-definitions/definition-schema/input-types#inputproperty)
</ResponseField>

<ResponseField name="task_definition" type="EcsTaskDefinition" required>
Expand Down
Loading
Loading