Skip to content

Commit aa65d87

Browse files
fix some things
1 parent 11059ad commit aa65d87

File tree

6 files changed

+16
-112
lines changed

6 files changed

+16
-112
lines changed

.gitignore

Lines changed: 2 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -4,102 +4,9 @@ package-lock.json
44
.vscode
55
.DS_Store
66

7-
# Logs
7+
# Logs
88
logs
9-
*.logasciidoc:
10-
attributes:
11-
source-highlighter: highlightjs
12-
page-pagination: ''
13-
sectanchors: ''
14-
sectlinks: ''
15-
id-prefix: ''
16-
id-separator: '-'
17-
18-
company: 'DataStax'
19-
product: 'Product'
20-
product_name: 'Product'
21-
evalproduct: 'DB Classic'
22-
shortproduct: 'classic'
23-
database: 'Astra DB'
24-
astra_db: 'Astra DB'
25-
astra_generic: 'Astra'
26-
classic: 'classic'
27-
classic_cap: 'Classic'
28-
serverless: 'serverless'
29-
serverless_cap: 'Serverless'
30-
astra_stream: 'Astra Streaming'
31-
advanced: 'no'
32-
33-
stargate-docker-tag: v1.0.41
34-
stargate-docker-tag-3x: v1.0.41
35-
stargate-docker-tag-40: v1.0.41
36-
stargate-docker-tag-68: v1.0.40
37-
cass-tag-3x: '3.11'
38-
cass-alt-tag-3x: '3_11'
39-
cass-tag-40: '4.0'
40-
cass-alt-tag-40: '4_0'
41-
dse-server-tag-68: '6.8.9'
42-
dse-tag-68: '6.8'
43-
dse-alt-tag-68: '68'
44-
45-
ASTRA_CLUSTER_ID: '8319febd-e7cf-4595-81e3-34f45d332d2a'
46-
ASTRA_REGION: 'us-east1'
47-
ASTRA_USERNAME: 'polandll'
48-
ASTRA_PASSWORD: '12345abcd'
49-
50-
auth_token: '$ASTRA_DB_APPLICATION_TOKEN'
51-
base_auth_url: 'http://$ASTRA_CLUSTER_ID-$ASTRA_REGION.apps.astra.datastax.com:8081'
52-
base_auth_api_path: '/v1/auth'
53-
cass_user: 'cassandra' # switch to auth_username
54-
cass_passwd: 'cassandra' # switch to auth_password
55-
56-
base_rest_url: 'https://$ASTRA_CLUSTER_ID-$ASTRA_REGION.apps.astra.datastax.com'
57-
base_doc_url: 'https://$ASTRA_CLUSTER_ID-$ASTRA_REGION.apps.astra.datastax.com'
58-
base_graphql_url: 'https://$ASTRA_CLUSTER_ID-$ASTRA_REGION.apps.astra.datastax.com:8080'
59-
60-
base_rest_schema: '/api/rest/v2/schemas/keyspaces'
61-
base_doc_schema: '/api/rest/v2/schemas/namespaces'
62-
base_gql_schema: '/api/graphql-schema'
63-
64-
base_gql_admin: '/api/graphql-admin'
65-
66-
base_rest_api: '/api/rest/v2/keyspaces'
67-
base_doc_api: '/api/rest/v2/namespaces'
68-
base_gql_api: '/api/graphql'
69-
70-
rkeyspace: 'users_keyspace'
71-
rkeyspace-dcs: 'users_keyspace-dcs'
72-
rpartitionkey: 'firstname'
73-
rclusteringkey: 'lastname'
74-
rtable: 'users'
75-
user1fn: 'Mookie'
76-
user1ln: 'Betts'
77-
user2fn: 'Janesha'
78-
user2ln: 'Doesha'
79-
80-
namespace: 'myworld'
81-
collection: 'fitness'
82-
user1: 'Janet'
83-
user2: 'Joey'
84-
user2a: 'Joseph'
85-
user3: 'Martha'
86-
87-
gkeyspace: 'library'
88-
gtable1: 'book'
89-
gtable2: 'reader'
90-
91-
support_url: 'https://houston.datastax.com/hc/requests/new'
92-
astra_docs_base_url: 'https://docs.datastax.com/en/astra/docs'
93-
94-
# The "glossary-url" attribute below is used by writers when linking to a
95-
# term in the glossary. Referencing this attribute in an adoc file will
96-
# automatically insert the root URL where the glossary pages are located.
97-
# For example, the following syntax will generate a link to the glossary
98-
# page for "agent": {glossary-url}agent[agent,window="_blank"]
99-
glossary-url: 'https://docs.datastax.com/en/glossary/docs/index.html#'
100-
101-
extensions:
102-
- ./lib/tabs-block.js
9+
*.log
10310
npm-debug.log*
10411
yarn-debug.log*
10512
yarn-error.log*

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
:product-repo-name-long: datastax/pulsar-sink-docs
66
:product-repo-link: https://github.com/datastax/pulsar-sink-docs.git
77
:product-branch-name: main
8-
:docset-name: pulsarConnector
9-
:product-branch-link: https://github.com/riptano/luna-docs/tree/main
8+
:docset-name: pulsar-connector
9+
:product-branch-link: https://github.com/datastax/pulsar-sink-docs/tree/main
1010
:install-git-link: https://github.com/git-guides/install-git
1111
:create-pr-link: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request
1212
:nvm-link: https://github.com/nvm-sh/nvm

build-locally.sh

100644100755
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# get the product docset that is going to be run
44

55
case $1 in
6-
( 'docset' ) echo "product: $1";;
7-
(*) echo "pick docset" && exit;;
6+
( 'pulsar-connector' ) echo "product: $1";;
7+
(*) echo "pick pulsar-connector" && exit;;
88
esac
99

1010
echo "checking prerequisites"
@@ -60,16 +60,14 @@ fi
6060

6161
case $1 in
6262

63-
docset)
64-
echo "product is docset"
63+
pulsar-connector)
64+
echo "product is pulsar-connector"
6565
echo "make antora.yml links"
66-
cd docs-src/docset-core
67-
rm antora.yml; ln -s antora-docset.yml antora.yml
68-
cd ../docset-develop
69-
rm antora.yml; ln -s antora-docset.yml antora.yml
66+
cd docs-src/pulsar-sink-core
67+
rm antora.yml; ln -s antora-pulsar-connector.yml antora.yml
7068
cd ../..
7169
echo "run the build"
72-
npm run build:local:docset
70+
npm run build:local:pulsar-connector
7371
;;
7472

7573
esac

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "pulsarConnector",
2+
"name": "pulsar-connector",
33
"scripts": {
44
"build:prod:pulsar-connector": "npm run build:publish:pulsar-connector",
55
"build:dev:pulsar-connector": "npm run build:local:pulsar-connector",
6-
"build:publish:pulsar-connector": "antora --log-level error --fetch --clean playbooks/site-publish-pulsar-connector.yaml",
6+
"build:publish:pulsar-connector": "antora --stacktrace --fetch --clean playbooks/site-publish-pulsar-connector.yaml",
77
"build:local:pulsar-connector": "antora --stacktrace --fetch --clean playbooks/site-local-pulsar-connector.yaml",
88
"build:linkinator:pulsar-connector": "npx linkinator https://docs.datastax.com/en/pulsar-connector/docs/ --recurse --skip ' https://localhost?'"
99
},

playbooks/site-local-pulsar-connector.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ ui:
2929

3030
asciidoc:
3131
attributes:
32-
source-highlighter: highlightjs
3332
page-pagination: ''
3433
sectanchors: ''
3534
sectlinks: ''
36-
id-prefix: ''
37-
id-separator: '-'
35+
idprefix: ''
36+
idseparator: '-'
3837

3938
support_url: 'https://houston.datastax.com/hc/requests/new'
4039
astra_docs_base_url: 'https://docs.datastax.com/en/astra/docs'

playbooks/site-publish-pulsar-connector.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site:
2-
title: DataStax Pulsar Connector Documentation
2+
title: DataStax Pulsar Connector
33
url: https://docs.datastax.com/en/pulsar-connector
44
# The keys.segmentIo site key must be in the site-publish playbook of each
55
# docset. This loads Segment into the docset build, and is a requirement for

0 commit comments

Comments
 (0)