Skip to content

Commit 05e2576

Browse files
committed
LinkTree: Modernize link tree references
1 parent 1e8708e commit 05e2576

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/crate/theme/ext/sidebar.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,17 @@ def make_primary_tree(builder: StandaloneHTMLBuilder, context: t.Dict[str, t.Any
7373
linktree \
7474
.title("CrateDB Database") \
7575
.add(
76+
ref(target="guide:getting-started", label="Getting started"),
77+
ref(target="guide:index", label="CrateDB Handbook"),
7678
ref(target="crate-reference:index", label="CrateDB Reference"),
77-
ref(target="crate-tutorials:index", label="Install CrateDB"),
78-
ref(target="crate-howtos:index", label="Getting started"),
79+
ref(target="ctk:index", label="CrateDB Toolkit"),
7980
)
8081

8182
# CrateDB Cloud.
8283
linktree \
8384
.title("CrateDB Cloud") \
8485
.add(
85-
ref("cloud-reference:index"),
86-
ref("cloud-tutorials:index"),
87-
ref("cloud-howtos:index"),
86+
ref("cloud:index"),
8887
ref("cloud-cli:index"),
8988
)
9089

@@ -94,8 +93,8 @@ def make_primary_tree(builder: StandaloneHTMLBuilder, context: t.Dict[str, t.Any
9493
.add(
9594
ref("crate-admin-ui:index"),
9695
ref("crate-crash:index"),
97-
ref("crate-clients-tools:index"),
98-
ref("crate-jdbc:index"),
96+
ref("guide:connect"),
97+
ref("connect-java"),
9998
ref("crate-npgsql:index"),
10099
ref("crate-dbal:index"),
101100
ref("crate-pdo:index"),
@@ -109,7 +108,7 @@ def make_primary_tree(builder: StandaloneHTMLBuilder, context: t.Dict[str, t.Any
109108
link(uri="https://crate.io/support/", label="Support"),
110109
link(uri="https://community.crate.io/", label="Community"),
111110
link(uri="https://community.crate.io/t/overview-of-cratedb-integration-tutorials/1015", label="Integration tutorials"),
112-
link(uri="https://github.com/crate/cratedb-examples", label="Stacks and examples"),
111+
link(uri="https://github.com/crate/cratedb-examples", label="Integration examples"),
113112
link(uri="https://github.com/crate/crate-sample-apps", label="Sample applications"),
114113
ref("sql-99:index"),
115114
# ref("crate-docs-theme:index"),

src/crate/theme/rtd/conf/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
# CrateDB General
104104
'guide': ('https://cratedb.com/docs/guide/', None),
105105
'crate-reference': ('https://cratedb.com/docs/crate/reference/en/latest/', None),
106+
'ctk': ('https://cratedb-toolkit.readthedocs.io/', None),
106107

107108
# CrateDB Clients and Integrations
108109
'crate-admin-ui': ('https://cratedb.com/docs/crate/admin-ui/en/latest/', None),

0 commit comments

Comments
 (0)