Skip to content

Commit

Permalink
docs: add homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Feb 5, 2025
1 parent 8e83b7f commit bc1d59c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ index:
- "Supports zooming and panning"

- p: >
Check out the [getting started](/getting-started) guide to learn how to use.
Check out the [getting started](getting-started) guide to learn how to use.
getting-started: "getting-started.yaml"
api: "api.yaml"
2 changes: 2 additions & 0 deletions scripts/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ function renderMenu(): string {

const navs: string[] = []

navs.push('<li><strong><a href="/">Home</a></strong></li>')

for (const { key, title, h2s } of structure) {
navs.push(`<li><strong>${title}</strong></li>`)
for (const h2 of h2s) {
Expand Down

0 comments on commit bc1d59c

Please sign in to comment.