Skip to content

Commit 067818c

Browse files
authored
Add index page for local preview (#432)
Added a new index page that can be used as the `start_page` in the preview playbook. The page uses the same style and path as the Create Applications page at neo4j.com/docs/create-applications/. This ensures that localhost:8000 returns a useful page when building local and PR preview.
1 parent 97b254d commit 067818c

File tree

4 files changed

+87
-1
lines changed

4 files changed

+87
-1
lines changed

Diff for: create-applications/antora.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: create-applications
2+
title: Neo4j Drivers
3+
version: '5'
4+
start_page: ROOT:index.adoc
5+
nav:
6+
- modules/ROOT/content-nav.adoc

Diff for: create-applications/modules/ROOT/content-nav.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* xref:index.adoc[]

Diff for: create-applications/modules/ROOT/pages/index.adoc

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
= Create applications with Neo4j
2+
:page-role: create-applications
3+
:page-layout: docs-home
4+
:page-toclevels: -1
5+
6+
7+
8+
[NOTE]
9+
--
10+
This page is published only as part of local builds and PR previews.
11+
It is not included in the published Neo4j drivers documentation.
12+
--
13+
14+
15+
[.display]
16+
== Language libraries
17+
18+
19+
=== Neo4j Python Driver
20+
21+
[.category]
22+
Drivers
23+
24+
[.icon]
25+
image:{neo4j-docs-base-uri}/_images/python-logo.svg[]
26+
27+
[.link]
28+
xref:python-manual:ROOT:index.adoc[Guide]
29+
30+
31+
=== Neo4j Go Driver
32+
33+
[.category]
34+
Drivers
35+
36+
[.icon]
37+
image:{neo4j-docs-base-uri}/_images/go-logo.svg[]
38+
39+
[.link]
40+
xref:go-manual:ROOT:index.adoc[Guide]
41+
42+
43+
=== Neo4j Java Driver
44+
45+
[.category]
46+
Drivers
47+
48+
[.icon]
49+
image:{neo4j-docs-base-uri}/_images/java-logo.svg[]
50+
51+
[.link]
52+
xref:java-manual:ROOT:index.adoc[Guide]
53+
54+
55+
=== Neo4j JavaScript Driver
56+
57+
[.category]
58+
Drivers
59+
60+
[.icon]
61+
image:{neo4j-docs-base-uri}/_images/js-logo.svg[]
62+
63+
[.link]
64+
xref:javascript-manual:ROOT:index.adoc[Guide]
65+
66+
67+
=== Neo4j .NET Driver
68+
69+
[.category]
70+
Drivers
71+
72+
[.icon]
73+
image:{neo4j-docs-base-uri}/_images/dotnet-logo.svg[]
74+
75+
[.link]
76+
xref:dotnet-manual:ROOT:index.adoc[Guide]
77+
78+

Diff for: preview.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
site:
22
title: Neo4j Docs
33
url: https://neo4j.com/docs
4-
# start_page: python-manual::index.adoc
4+
start_page: create-applications::index.adoc
55

66
content:
77
sources:
88
- url : ./
99
branches: ['HEAD']
1010
edit_url: https://github.com/neo4j/docs-drivers/tree/{refname}/{path}
1111
start_paths:
12+
- create-applications
1213
- go-manual
1314
- javascript-manual
1415
- python-manual

0 commit comments

Comments
 (0)