Skip to content

Commit 95bad71

Browse files
authored
fix(docs): Fix broken links on search results and reference page (#449)
1 parent e863a79 commit 95bad71

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

third_party/docsite/src/components/core/Search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export function Search() {
133133
key={refIndex}
134134
>
135135
<a
136-
href={`/${item.slug}`}
136+
href={`/dotprompt/${item.slug}`}
137137
key={refIndex}
138138
className=" no-underline hover:text-primary-foreground"
139139
>

third_party/docsite/src/content/docs/reference.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ When executed, a Dotprompt template renders into (4) Common Model Interface.
1919

2020
## Reference docs
2121

22-
1. **[Prompt Frontmatter](/reference/frontmatter):** Included at the start of a Dotprompt template, frontmatter includes model configuration, input/output formatList, and tooling MediaMetadata.
23-
2. **[Picoschema](/reference/picoschema):** The compact, YAML-optimized schema representation used for describing structured data in a Dotprompt template.
24-
3. **[Template Content](/reference/template):** The core template of the prompt, based on Handlebars and extended with GenAI-specific capabilities.
25-
4. **[Common Model Interface](/reference/model):** The "output" of a rendered Dotprompt template, a JSON object containing the rendered messages represented by the template as well as all associated metadata and configuration.
22+
1. **[Prompt Frontmatter](reference/frontmatter):** Included at the start of a Dotprompt template, frontmatter includes model configuration, input/output formatList, and tooling MediaMetadata.
23+
2. **[Picoschema](reference/picoschema):** The compact, YAML-optimized schema representation used for describing structured data in a Dotprompt template.
24+
3. **[Template Content](reference/template):** The core template of the prompt, based on Handlebars and extended with GenAI-specific capabilities.
25+
4. **[Common Model Interface](reference/model):** The "output" of a rendered Dotprompt template, a JSON object containing the rendered messages represented by the template as well as all associated metadata and configuration.

0 commit comments

Comments
 (0)