Skip to content

Commit c0e6993

Browse files
authored
Convert wiki to markdown docs (#2944)
* Convert wiki to markdown docs * Overhaul docs and fix obvious conversion issues * Update docs workflow * Fix links and include main README * Update TLS section * Fix more links * Remove ascii docs and maven profile * Fix spelling * Build docs only from the main branch
1 parent 9495478 commit c0e6993

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+7073
-2611
lines changed

.github/CONTRIBUTING.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,16 @@ If you have a question, then check one of the following places first as GitHub i
5757

5858
**Checkout the docs**
5959

60-
* [Reference documentation](https://lettuce.io/docs/)
61-
* [Wiki](https://github.com/lettuce-io/lettuce-core/wiki)
62-
* [Javadoc](https://lettuce.io/core/release/api/)
60+
* [Reference documentation](https://redis.github.io/lettuce/)
61+
* [Javadoc](https://www.javadoc.io/doc/io.lettuce/lettuce-core/latest/index.html)
6362

6463
**Communication**
6564

66-
* GitHub Discussions (Q&A, Ideas, General discussion): https://github.com/lettuce-io/lettuce-core/discussions
65+
* [GitHub Discussions](https://github.com/redis/lettuce/discussions) (Q&A, Ideas, General discussion)
6766
* Stack Overflow (Questions): [https://stackoverflow.com/questions/tagged/lettuce](https://stackoverflow.com/questions/tagged/lettuce)
68-
* Gitter (chat): [![Join the chat at https://gitter.im/lettuce-io/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lettuce-io/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
69-
* Twitter: [@LettuceDriver](https://twitter.com/LettuceDriver)
70-
* [GitHub Issues](https://github.com/lettuce-io/lettuce-core/issues) (Bug reports, feature requests)
67+
* Discord: [![Discord](https://img.shields.io/discord/697882427875393627.svg?style=social&logo=discord)](https://discord.gg/redis)
68+
* Twitter: [![Twitter](https://img.shields.io/twitter/follow/redisinc?style=social)](https://twitter.com/redisinc)
69+
* [GitHub Issues](https://github.com/redis/lettuce/issues) (Bug reports, feature requests)
7170

7271

7372
### Building from Source

.github/wordlist.txt

Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,174 @@ DnsResolver
8080
dnsResolver
8181
evalReadOnly
8282
gg
83+
ACL
84+
AOT
85+
APIs
86+
API’s
87+
Akka
88+
Async
89+
AsyncCommand
90+
Asynchronicity
91+
Backpressure
92+
CamelCase
93+
Charset
94+
ClientResources
95+
CommandLatencyCollector
96+
CommandWrapper
97+
CompletionStage
98+
Config
99+
Coroutine
100+
Coroutines
101+
Customizer
102+
DNS
103+
DSL
104+
EPoll
105+
ElastiCache
106+
EventExecutorGroup
107+
EventLoop
108+
EventLoopGroup
109+
EventPublisher
110+
Failover
111+
GZIP
112+
Graal
113+
GraalVM
114+
Graal's
115+
HdrHistogram
116+
IPs
117+
Iterable
118+
JDK
119+
JFR
120+
JIT
121+
JNI
122+
KeyStreamingChannel
123+
KeyValueStreamingChannel
124+
Kops
125+
Kqueue
126+
Kryo
127+
LatencyUtils
128+
Luascripts
129+
MasterReplica
130+
Misconfiguring
131+
Mult
132+
NIO
133+
Netty’s
134+
NodeSelection
135+
OpenSSL
136+
PEM
137+
POSIX
138+
Plaintext
139+
RTT
140+
Reconnection
141+
RedisClient
142+
RedisClusterClient
143+
RedisURIs
144+
RxJava
145+
SHA
146+
SPI
147+
ScoredValueStreamingChannel
148+
Serializer
149+
Sharded
150+
Sharding
151+
SomeClient
152+
StartTLS
153+
StreamingChannel
154+
StreamingChannels
155+
SubstrateVM
156+
TCP
157+
TLS
158+
TimedScheduler
159+
TransactionalCommand
160+
URIs
161+
Un
162+
ValueStreamingChannel
163+
aggregable
164+
amongst
165+
analytics
166+
args
167+
assignability
168+
async
169+
asynchronicity
170+
backoff
171+
backpressure
172+
boolean
173+
broadcasted
174+
bytecode
175+
cancelation
176+
channelId
177+
charset
178+
classpath
179+
codecs
180+
config
181+
coroutines
182+
customizable
183+
customizer
184+
dataset
185+
deserialization
186+
desynchronize
187+
desynchronizes
188+
encodings
189+
epId
190+
epoll
191+
executables
192+
extensibility
193+
failover
194+
fromExecutor
195+
gradle
196+
Graal's
197+
hasNext
198+
hostnames
199+
idempotency
200+
integrations
201+
interoperable
202+
interoperate
203+
invoker
204+
json
205+
keyspace
206+
kotlinx
207+
kqueue
208+
latencies
209+
lifecycle
210+
localhost
211+
macOS
212+
microservices
213+
misconfiguration
214+
multithreaded
215+
natively
216+
netty's
217+
newSingle
218+
nodeId
219+
nodeIds
220+
nodeId's
221+
nullability
222+
onCompleted
223+
onError
224+
onNext
225+
oss
226+
parametrized
227+
pipelining
228+
pluggable
229+
pre
230+
preconfigured
231+
predefine
232+
reconnection
233+
redirections
234+
replicaN
235+
retrigger
236+
runtimes
237+
se
238+
sharding
239+
stateful
240+
subclasses
241+
subcommand
242+
synthetization
243+
th
244+
throwable
245+
topologies
246+
transcoding
247+
typesafe
248+
un
249+
unconfigured
250+
unix
251+
uring
252+
whitespace
253+
xml

.github/workflows/docs.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Publish Docs
2+
on:
3+
push:
4+
branches: ["main"]
5+
permissions:
6+
contents: read
7+
pages: write
8+
id-token: write
9+
concurrency:
10+
group: "pages"
11+
cancel-in-progress: false
12+
jobs:
13+
build-and-deploy:
14+
concurrency: ci-${{ github.ref }}
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-python@v4
19+
with:
20+
python-version: 3.9
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install mkdocs mkdocs-material pymdown-extensions mkdocs-macros-plugin
25+
- name: Build docs
26+
run: |
27+
mkdocs build -d docsbuild
28+
- name: Setup Pages
29+
uses: actions/configure-pages@v3
30+
- name: Upload artifact
31+
uses: actions/upload-pages-artifact@v1
32+
with:
33+
path: 'docsbuild'
34+
- name: Deploy to GitHub Pages
35+
id: deployment
36+
uses: actions/deploy-pages@v2

README.md

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ Supports advanced Redis features such as Sentinel, Cluster, Pipelining, Auto-Rec
1616

1717
This version of Lettuce has been tested against the latest Redis source-build.
1818

19-
* [synchronous](https://github.com/lettuce-io/lettuce-core/wiki/Basic-usage), [asynchronous](https://github.com/lettuce-io/lettuce-core/wiki/Asynchronous-API-%284.0%29) and [reactive](https://github.com/lettuce-io/lettuce-core/wiki/Reactive-API-%285.0%29) usage
20-
* [Redis Sentinel](https://github.com/lettuce-io/lettuce-core/wiki/Redis-Sentinel)
21-
* [Redis Cluster](https://github.com/lettuce-io/lettuce-core/wiki/Redis-Cluster)
22-
* [SSL](https://github.com/lettuce-io/lettuce-core/wiki/SSL-Connections) and [Unix Domain Socket](https://github.com/lettuce-io/lettuce-core/wiki/Unix-Domain-Sockets) connections
23-
* [Streaming API](https://github.com/lettuce-io/lettuce-core/wiki/Streaming-API)
24-
* [CDI](https://github.com/lettuce-io/lettuce-core/wiki/CDI-Support) and [Spring](https://github.com/lettuce-io/lettuce-core/wiki/Spring-Support) integration
25-
* [Codecs](https://github.com/lettuce-io/lettuce-core/wiki/Codecs) (for UTF8/bit/JSON etc. representation of your data)
26-
* multiple [Command Interfaces](https://github.com/lettuce-io/lettuce-core/wiki/Command-Interfaces-%284.0%29)
27-
* Support for [Native Transports](https://github.com/lettuce-io/lettuce-core/wiki/Native-Transports)
19+
* [synchronous](https://redis.github.io/lettuce/user-guide/connecting-redis/#basic-usage), [asynchronous](https://redis.github.io/lettuce/user-guide/async-api/) and [reactive](https://redis.github.io/lettuce/user-guide/reactive-api/) usage
20+
* [Redis Sentinel](https://redis.github.io/lettuce/ha-sharding/#redis-sentinel_1)
21+
* [Redis Cluster](https://redis.github.io/lettuce/ha-sharding/#redis-cluster)
22+
* [SSL](https://redis.github.io/lettuce/advanced-usage/#ssl-connections) and [Unix Domain Socket](https://redis.github.io/lettuce/advanced-usage/#unix-domain-sockets) connections
23+
* [Streaming API](https://redis.github.io/lettuce/advanced-usage/#streaming-api)
24+
* [CDI](https://redis.github.io/lettuce/integration-extension/#cdi-support)
25+
* [Codecs](https://redis.github.io/lettuce/integration-extension/#codecss) (for UTF8/bit/JSON etc. representation of your data)
26+
* multiple [Command Interfaces](https://github.com/redis/lettuce/wiki/Command-Interfaces-%284.0%29)
27+
* Support for [Native Transports](https://redis.github.io/lettuce/advanced-usage/#native-transports)
2828
* Compatible with Java 8++ (implicit automatic module w/o descriptors)
2929

30-
See the [reference documentation](https://lettuce.io/docs/) and [Wiki](https://github.com/lettuce-io/lettuce-core/wiki) for more details.
30+
See the [reference documentation](https://redis.github.io/lettuce/) and [API Reference](https://www.javadoc.io/doc/io.lettuce/lettuce-core/latest/index.html) for more details.
3131

3232
## How do I Redis?
3333

@@ -46,27 +46,25 @@ See the [reference documentation](https://lettuce.io/docs/) and [Wiki](https://g
4646
Communication
4747
---------------
4848

49-
* [GitHub Discussions](https://github.com/lettuce-io/lettuce-core/discussions) (Q&A, Ideas, General discussion)
49+
* [GitHub Discussions](https://github.com/redis/lettuce/discussions) (Q&A, Ideas, General discussion)
5050
* Stack Overflow (Questions): [https://stackoverflow.com/questions/tagged/lettuce](https://stackoverflow.com/questions/tagged/lettuce)
5151
* Discord: [![Discord](https://img.shields.io/discord/697882427875393627.svg?style=social&logo=discord)](https://discord.gg/redis)
5252
* Twitter: [![Twitter](https://img.shields.io/twitter/follow/redisinc?style=social)](https://twitter.com/redisinc)
53-
* [GitHub Issues](https://github.com/lettuce-io/lettuce-core/issues) (Bug reports, feature requests)
53+
* [GitHub Issues](https://github.com/redis/lettuce/issues) (Bug reports, feature requests)
5454

5555

5656
Documentation
5757
---------------
5858

59-
* [Reference documentation](https://lettuce.io/docs/)
60-
* [Wiki](https://github.com/lettuce-io/lettuce-core/wiki)
61-
* [Javadoc](https://lettuce.io/core/release/api/)
62-
59+
* [Reference documentation](https://redis.github.io/lettuce/)
60+
* [Javadoc](https://www.javadoc.io/doc/io.lettuce/lettuce-core/latest/index.html)
6361

6462
Binaries/Download
6563
----------------
6664

6765
Binaries and dependency information for Maven, Ivy, Gradle and others can be found at http://search.maven.org.
6866

69-
Releases of lettuce are available in the Maven Central repository. Take also a look at the [Releases](https://github.com/lettuce-io/lettuce-core/releases).
67+
Releases of lettuce are available in the Maven Central repository. Take also a look at the [Releases](https://github.com/redis/lettuce/releases).
7068

7169
Example for Maven:
7270

@@ -114,7 +112,7 @@ to the lowercase Redis command name. Complex commands with multiple modifiers
114112
that change the result type include the CamelCased modifier as part of the
115113
command name, e.g. zrangebyscore and zrangebyscoreWithScores.
116114

117-
See [Basic usage](https://github.com/lettuce-io/lettuce-core/wiki/Basic-usage) for further details.
115+
See [Basic usage](https://redis.github.io/lettuce/user-guide/connecting-redis/#basic-usage) for further details.
118116

119117
Asynchronous API
120118
------------------------
@@ -131,7 +129,7 @@ set.get() == "OK"
131129
get.get() == "value"
132130
```
133131

134-
See [Asynchronous API](https://github.com/lettuce-io/lettuce-core/wiki/Asynchronous-API-%284.0%29) for further details.
132+
See [Asynchronous API](https://redis.github.io/lettuce/user-guide/async-api/) for further details.
135133

136134
Reactive API
137135
------------------------
@@ -147,7 +145,7 @@ set.subscribe();
147145
get.block() == "value"
148146
```
149147

150-
See [Reactive API](https://github.com/lettuce-io/lettuce-core/wiki/Reactive-API-%285.0%29) for further details.
148+
See [Reactive API](https://redis.github.io/lettuce/user-guide/reactive-api/) for further details.
151149

152150
Pub/Sub
153151
-------
@@ -167,7 +165,7 @@ are configured using a ```Makefile```. Tests run by default against Redis `unsta
167165
To build:
168166

169167
```
170-
$ git clone https://github.com/lettuce-io/lettuce-core.git
168+
$ git clone https://github.com/redis/lettuce.git
171169
$ cd lettuce/
172170
$ make prepare ssl-keys
173171
$ make test
@@ -194,4 +192,4 @@ Contributing
194192
-------
195193

196194
Github is for social coding: if you want to write code, I encourage contributions through pull requests from forks of this repository.
197-
Create Github tickets for bugs and new features and comment on the ones that you are interested in and take a look into [CONTRIBUTING.md](https://github.com/lettuce-io/lettuce-core/blob/main/.github/CONTRIBUTING.md)
195+
Create Github tickets for bugs and new features and comment on the ones that you are interested in and take a look into [CONTRIBUTING.md](https://github.com/redis/lettuce/blob/main/.github/CONTRIBUTING.md)

0 commit comments

Comments
 (0)