Skip to content

Commit 7d42199

Browse files
author
Jim Bisso
committed
Add redirect for top-level. Replace docs dir with 1.4;
will need to revisit if and when the product gets bumped up a version.
1 parent 273e3f7 commit 7d42199

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

antora.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
name: docs
1+
name: 1.4
22
title: DataStax Pulsar Connector Documentation
3-
version: "1.4"
4-
display_version: "1.4"
3+
# jfb, turning off versioning for a bit
4+
#version: "1.4"
5+
#display_version: "1.4"
56

67
nav:
78
- modules/ROOT/nav.adoc

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "pulsar-sink-docs",
33
"scripts": {
4-
"build:prod": "npm run build:publish",
4+
"build:prod": "npm run build:publish && npm run build:redirects",
55
"build:dev": "npm run build:local",
66
"build:publish": "antora --fetch --generator antora-site-generator-lunr --clean site-publish.yaml",
7+
"build:redirects": "cp -r redirects/index.html build/site",
78
"build:local": "antora --stacktrace --fetch --clean site-local.yaml"
89
},
910
"repository": {
File renamed without changes.

0 commit comments

Comments
 (0)