Skip to content

Commit 515b9bb

Browse files
authored
feat(docs): Add reference documentation (#433)
* WIP * some fixes
1 parent c90a2aa commit 515b9bb

File tree

9 files changed

+28
-21
lines changed

9 files changed

+28
-21
lines changed

docs/modules/hbase/pages/configuration.adoc

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/modules/hbase/pages/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Role and RoleGroup the Operator creates a **Service**.
3232
A **ConfigMap** is created for each RoleGroup containing 3 files: `hbase-env.sh` and `hbase-site.xml` files generated
3333
from the HbaseCluster configuration (See xref:usage-guide/index.adoc[] for more information), plus a `log4j.properties`
3434
file used for xref:usage-guide/logging.adoc[]. The Operator creates a
35-
**xref:usage-guide/discovery.adoc[discovery ConfigMap]** for the whole HbaseCluster a which contains information on how
35+
**xref:reference/discovery.adoc[discovery ConfigMap]** for the whole HbaseCluster a which contains information on how
3636
to connect to the HBase cluster.
3737

3838
== Dependencies

docs/modules/hbase/pages/commandline_args.adoc renamed to docs/modules/hbase/pages/reference/commandline-parameters.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
= Command Line Parameters
12

2-
=== product-config
3+
This operator accepts the following command line parameters:
4+
5+
== product-config
36

47
*Default value*: `/etc/stackable/hbase-operator/config-spec/properties.yaml`
58

@@ -12,7 +15,7 @@
1215
stackable-hbase-operator run --product-config /foo/bar/properties.yaml
1316
----
1417

15-
=== watch-namespace
18+
== watch-namespace
1619

1720
*Default value*: All namespaces
1821

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
= CRD Reference
2+
3+
Find all CRD reference for the Stackable Operator for Apache HBase at: {crd-docs-base-url}/hbase-operator/{crd-docs-version}.

docs/modules/hbase/pages/env_var_args.adoc renamed to docs/modules/hbase/pages/reference/environment-variables.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
= Environment variables
12

2-
=== PRODUCT_CONFIG
3+
This operator accepts the following environment variables:
4+
5+
== PRODUCT_CONFIG
36

47
*Default value*: `/etc/stackable/hbase-operator/config-spec/properties.yaml`
58

@@ -25,7 +28,7 @@ docker run \
2528
docker.stackable.tech/stackable/hbase-operator:latest
2629
----
2730

28-
=== WATCH_NAMESPACE
31+
== WATCH_NAMESPACE
2932

3033
*Default value*: All namespaces
3134

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
= Reference
2+
3+
Consult the reference documentation section to find exhaustive information on:
4+
5+
* Descriptions and default values of all properties in the CRDs used by this operator in the xref:reference/crds.adoc[].
6+
* The properties in the xref:reference/discovery.adoc[].
7+
* The xref:reference/commandline-parameters.adoc[] and xref:reference/environment-variables.adoc[] accepted by the operator.

docs/modules/hbase/pages/usage-guide/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Learn about xref:usage-guide/operations/pod-placement.adoc[configuring where Pod
66

77
You can observe what's happening with your HBase using xref:usage-guide/logging.adoc[logging] and xref:usage-guide/monitoring.adoc[monitoring].
88

9-
Connect to HBase using xref:usage-guide/phoenix.adoc[Apache Phoenix] or use the xref:usage-guide/discovery.adoc[discovery ConfigMap] to connect other products.
9+
Connect to HBase using xref:usage-guide/phoenix.adoc[Apache Phoenix].

docs/modules/hbase/partials/nav.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
* xref:hbase:getting_started/index.adoc[]
22
** xref:hbase:getting_started/installation.adoc[]
33
** xref:hbase:getting_started/first_steps.adoc[]
4-
* xref:hbase:configuration.adoc[]
54
* xref:hbase:usage-guide/index.adoc[]
65
** xref:hbase:usage-guide/listenerclass.adoc[]
76
** xref:hbase:usage-guide/resource-requests.adoc[]
87
** xref:hbase:usage-guide/phoenix.adoc[]
98
** xref:hbase:usage-guide/compression.adoc[]
10-
** xref:hbase:usage-guide/discovery.adoc[]
119
** xref:hbase:usage-guide/logging.adoc[]
1210
** xref:hbase:usage-guide/monitoring.adoc[]
1311
** xref:hbase:usage-guide/overrides.adoc[]
@@ -16,3 +14,9 @@
1614
*** xref:hbase:usage-guide/operations/pod-placement.adoc[]
1715
*** xref:hbase:usage-guide/operations/pod-disruptions.adoc[]
1816
*** xref:hbase:usage-guide/operations/graceful-shutdown.adoc[]
17+
* xref:hbase:reference/index.adoc[]
18+
** xref:hbase:reference/crds.adoc[]
19+
*** {crd-docs}/hbase.stackable.tech/hbasecluster/v1alpha1/[HbaseCluster {external-link-icon}^]
20+
** xref:hbase:reference/discovery.adoc[]
21+
** xref:hbase:reference/commandline-parameters.adoc[]
22+
** xref:hbase:reference/environment-variables.adoc[]

0 commit comments

Comments
 (0)