Skip to content

Commit 5640875

Browse files
CopilotOrangeX4
andauthored
Fix broken themes link and make reference parameters searchable (#9)
* Initial plan * Fix broken themes link and make reference doc params searchable via h3 headings Co-authored-by: OrangeX4 <34951714+OrangeX4@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: OrangeX4 <34951714+OrangeX4@users.noreply.github.com>
1 parent 6e3c654 commit 5640875

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/generate-docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ def definition_to_mdx(defn: dict, source_file: str, github_base: str = GITHUB_SR
702702
default_part = ""
703703

704704
lines.append(
705-
f"#### {display_name}{type_part}"
705+
f"### {display_name}{type_part}"
706706
f"{default_part} {{#{anchor_id}}}"
707707
)
708708
lines.append("")

src/pages/themes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default function ThemesPage() {
8888
<Heading as="h1">Themes</Heading>
8989
<p className={styles.themesSubtitle}>
9090
Choose from six professionally designed themes — or{' '}
91-
<Link to="/docs/build-your-own-theme">build your own</Link>.
91+
<Link to="/docs/tutorials/build-your-own-theme">build your own</Link>.
9292
</p>
9393
</div>
9494
</div>

0 commit comments

Comments
 (0)