Skip to content

Commit d159120

Browse files
committed
refactor(zensical): use explicit navigation
1 parent e70ea70 commit d159120

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
---
2-
title: API
3-
---
4-
51
# ::: {{ package_name }}

template/{% if docs == 'zensical' %}zensical.toml{% endif %}.jinja

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ copyright = "Copyright © {{ copyright_year }} {{ copyright_owner }}"
77
repo_url = "{{ repository_url }}"
88
repo_name = "{{ repository_path }}"
99
edit_uri = "edit/main/docs/"
10+
nav = [
11+
{ "Home" = [
12+
"index.md",
13+
{ "Release notes" = "changelog.md" },
14+
{ "License" = "license.md" },
15+
] },
16+
{ "Reference" = [
17+
"reference/index.md",
18+
{ "API" = "reference/api.md" },
19+
{%- if cli %}
20+
{ "Commands" = "reference/cli.md" },
21+
{%- endif %}
22+
] },
23+
]
1024

1125
[project.theme]
1226
features = [

0 commit comments

Comments
 (0)