Skip to content

Commit 3d427a4

Browse files
committed
Fix code blocks in docs overview page
* Fix missing block terminator (triple backticks), which caused the Table section to be included inside the block * Add language types for blocks for syntax highlighting * Replace 4-space indent with explicit backticks for blocks * Update some dependencies also This fixes #446
1 parent 27b3140 commit 3d427a4

2 files changed

Lines changed: 17 additions & 10 deletions

File tree

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ GEM
5252
sass-embedded (~> 1.54)
5353
jekyll-watch (2.2.1)
5454
listen (~> 3.0)
55-
kramdown (2.4.0)
56-
rexml
55+
kramdown (2.5.1)
56+
rexml (>= 3.3.9)
5757
kramdown-parser-gfm (1.1.0)
5858
kramdown (~> 2.0)
5959
liquid (4.0.4)
@@ -68,7 +68,7 @@ GEM
6868
rb-inotify (0.11.1)
6969
ffi (~> 1.0)
7070
rexml (3.3.9)
71-
rouge (4.4.0)
71+
rouge (4.5.1)
7272
safe_yaml (1.0.5)
7373
sass-embedded (1.77.5-aarch64-linux-android)
7474
google-protobuf (>= 3.25, < 5.0)
@@ -115,7 +115,7 @@ GEM
115115
terminal-table (3.0.2)
116116
unicode-display_width (>= 1.1.1, < 3)
117117
unicode-display_width (2.6.0)
118-
webrick (1.8.2)
118+
webrick (1.9.1)
119119

120120
PLATFORMS
121121
aarch64-linux
@@ -154,4 +154,4 @@ RUBY VERSION
154154
ruby 3.3.4p94
155155

156156
BUNDLED WITH
157-
2.5.11
157+
2.5.22

_docs-2/configuration/overview.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ local [accumulo.properties] on start up so processes must be restarted to apply
3939
in their description. Setting properties in accumulo.properties allows you to configure tablet servers with different settings.
4040

4141
Site configuration can be overriden when starting an Accumulo process on the command line (by using the `-o` option):
42-
```
42+
```bash
4343
accumulo tserver -o instance.secret=mysecret -o instance.zookeeper.host=localhost:2181
4444
```
4545
Overriding properties is useful if you can't change [accumulo.properties]. It's done when [running Accumulo using Docker](https://github.com/apache/accumulo-docker).
@@ -51,7 +51,9 @@ in their description on the [server properties] page. System configuration will
5151
settings take effect immediately, some require a restart of the process which is indicated in the **zk mutable** section of their description. System configuration can be set using
5252
the following shell command:
5353

54-
config -s PROPERTY=VALUE
54+
```console
55+
config -s PROPERTY=VALUE
56+
```
5557

5658
They can also be set using {% jlink org.apache.accumulo.core.client.admin.InstanceOperations %} in the Java API:
5759

@@ -68,14 +70,16 @@ client.instanceOperations().modifyProperties(properties -> {
6870
properties.put("table.bloom.error.rate", "0.75");
6971
properties.put("table.bloom.size", "128000");
7072
});
71-
7273
```
74+
7375
### Namespace
7476

7577
Namespace configuration refers to [table.* properties] set for a certain table namespace (i.e. group of tables). These settings are stored in ZooKeeper. Namespace configuration
7678
will override System configuration and can be set using the following shell command:
7779

78-
config -ns NAMESPACE -s PROPERTY=VALUE
80+
```console
81+
config -ns NAMESPACE -s PROPERTY=VALUE
82+
```
7983

8084
It can also be set using {% jlink org.apache.accumulo.core.client.admin.NamespaceOperations %} in the Java API:
8185

@@ -92,12 +96,15 @@ client.namespaceOperations().modifyProperties("mynamespace", properties -> {
9296
properties.put("table.bloom.error.rate", "0.75");
9397
properties.put("table.bloom.size", "128000");
9498
});
99+
```
95100

96101
### Table
97102

98103
Table configuration refers to [table.* properties] set for a certain table. These settings are stored in ZooKeeper and can be set using the following shell command:
99104

100-
config -t TABLE -s PROPERTY=VALUE
105+
```console
106+
config -t TABLE -s PROPERTY=VALUE
107+
```
101108

102109
They can also be set using {% jlink org.apache.accumulo.core.client.admin.TableOperations %} in the Java API:
103110

0 commit comments

Comments
 (0)