Skip to content

Commit aaf7a9d

Browse files
authored
update docs (#102)
1 parent b491bfe commit aaf7a9d

File tree

8 files changed

+43
-18
lines changed

8 files changed

+43
-18
lines changed

core/src/main/java/dev/keva/core/server/KevaServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class KevaServer implements Server {
4141
private Channel channel;
4242

4343
@Autowired
44-
public KevaServer(KevaDatabase database, KevaConfig config, NettyChannelInitializer nettyChannelInitializer, CommandMapper commandMapper, AOFManager aofManager) {
44+
private KevaServer(KevaDatabase database, KevaConfig config, NettyChannelInitializer nettyChannelInitializer, CommandMapper commandMapper, AOFManager aofManager) {
4545
this.database = database;
4646
this.config = config;
4747
this.nettyChannelInitializer = nettyChannelInitializer;

docs/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@
1515
"license": "MIT",
1616
"devDependencies": {
1717
"vuepress": "^1.5.3"
18+
},
19+
"dependencies": {
20+
"markdown-it-task-lists": "^2.1.1"
1821
}
1922
}

docs/src/.vuepress/config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,10 @@ module.exports = {
9898
plugins: [
9999
'@vuepress/plugin-back-to-top',
100100
'@vuepress/plugin-medium-zoom',
101-
]
101+
],
102+
markdown: {
103+
extendMarkdown: md => {
104+
md.use(require('markdown-it-task-lists'))
105+
}
106+
}
102107
}

docs/src/.vuepress/styles/index.styl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
max-width 100px!important
99

1010
details
11-
margin-bottom: 1rem
11+
margin-bottom 1rem
1212

1313
summary
14-
cursor: pointer
14+
cursor pointer
15+
16+
ul.contains-task-list
17+
padding-left 0!important
18+
.contains-task-list li
19+
list-style-type none

docs/src/guide/developer-guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ Avoid using redundant keywords. To list a few:
4141
- `private` constructor modifier in an `enum`
4242
- field access prefixed with `this.` where unnecessary
4343

44+
## Avoid using `lombok.val` and `lombok.var`
45+
46+
Avoid using `lombok.val` and `lombok.var` in your code.
47+
4448
## Use `public` only when necessary
4549

4650
The classes, methods and fields that are not meant to be used by a user should not be

docs/src/guide/overview/commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Follows [Redis's commands](https://redis.io/commands).
44

5-
Implemented commands:
5+
This is a list of commands that are available in the current latest version of Keva:
66

77
<details>
88
<summary>Server</summary>

docs/src/guide/roadmap.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,22 @@
22

33
## Timeline
44

5-
- Start first development: Jan 2021
6-
- Keva RC release -> Dec 15 2021
7-
- Keva first Stable release -> Dec 30 2021
5+
- [x] Start first development: Jan 2021
6+
- [x] Keva alpha release: Dec 15 2021
7+
- [x] Keva RC release: Dec 30 2021
88

99
## Todo-list
1010

11-
- Implement various Redis commands :heavy_check_mark:
12-
- Implement RDB, AOF persistence mode :heavy_check_mark:
13-
- Implement Pub/Sub :heavy_check_mark:
14-
- Implement Transactions :heavy_check_mark:
15-
- Implement Replication ([@axblueblader](https://github.com/axblueblader))
16-
- Implement Keva Proxy ([@haphananhtuan](https://github.com/haphananhtuan))
17-
- Implement Keva Sentinel ([@duongcongtoai](https://github.com/duongcongtoai))
18-
- Implement Keva SQL (TBD)
19-
- Implement Keva security
20-
- Create automation for release workflow
11+
- [ ] Create automation for release workflow
12+
- [x] Implement various [Redis commands](https://redis.io/commands)
13+
- [ ] Implement Redis commands: [STREAM](https://redis.io/commands/xread)
14+
- [x] Implement RDB, AOF persistence mode
15+
- [x] Implement Pub/Sub
16+
- [x] Implement Transactions
17+
- [ ] Implement [Lua scripting](https://redis.io/commands/eval)
18+
- [ ] Support `keva.conf` file for configuration
19+
- [ ] Implement Replication ([@axblueblader](https://github.com/axblueblader))
20+
- [ ] Implement Keva Proxy ([@haphananhtuan](https://github.com/haphananhtuan))
21+
- [ ] Implement Keva Sentinel ([@duongcongtoai](https://github.com/duongcongtoai))
22+
- [ ] Implement Keva SQL (TBD)
23+
- [ ] Implement Keva security

docs/yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4931,6 +4931,11 @@ markdown-it-table-of-contents@^0.4.0:
49314931
resolved "https://registry.yarnpkg.com/markdown-it-table-of-contents/-/markdown-it-table-of-contents-0.4.4.tgz#3dc7ce8b8fc17e5981c77cc398d1782319f37fbc"
49324932
integrity sha512-TAIHTHPwa9+ltKvKPWulm/beozQU41Ab+FIefRaQV1NRnpzwcV9QOe6wXQS5WLivm5Q/nlo0rl6laGkMDZE7Gw==
49334933

4934+
markdown-it-task-lists@^2.1.1:
4935+
version "2.1.1"
4936+
resolved "https://registry.yarnpkg.com/markdown-it-task-lists/-/markdown-it-task-lists-2.1.1.tgz#f68f4d2ac2bad5a2c373ba93081a1a6848417088"
4937+
integrity sha512-TxFAc76Jnhb2OUu+n3yz9RMu4CwGfaT788br6HhEDlvWfdeJcLUsxk1Hgw2yJio0OXsxv7pyIPmvECY7bMbluA==
4938+
49344939
markdown-it@^8.4.1:
49354940
version "8.4.2"
49364941
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-8.4.2.tgz#386f98998dc15a37722aa7722084f4020bdd9b54"

0 commit comments

Comments
 (0)