Skip to content

Commit fe74e1e

Browse files
authored
Merge pull request #6 from haiwen/support_tables_and_notes
feat: support tabs
2 parents 04a948c + a9158cf commit fe74e1e

File tree

4 files changed

+64
-62
lines changed

4 files changed

+64
-62
lines changed

manual/api/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ set ZINC_FIRST_ADMIN_USER=admin
2323
set ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123
2424
```
2525
!!! tip
26-
In most scenarios, you can use the administrator account to provide access for applications. Only when you need to integrate multiple applications with different permissions, you should create regular users.
26+
In most scenarios, you can use the administrator account to provide access for applications. Only when you need to integrate multiple applications with different permissions, you should create regular users.
2727

2828

2929
## Regular Users

manual/api/document_operation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
An index stores multiple documents. Users can perform CRUD operations (Create, Read, Update, Delete) on documents via the API. In SeaSearch, each document has a unique ID.
33

44
!!! tip
5-
Due to architectural design, SeaSearch’s performance for single document CRUD operations is much lower than that of ElasticSearch. Therefore, we recommend using batch operations whenever possible.
5+
Due to architectural design, SeaSearch’s performance for single document CRUD operations is much lower than that of ElasticSearch. Therefore, we recommend using batch operations whenever possible.
66

77
ElasticSearch Document APIs contain many additional parameters that are not meaningful to SeaSearch and are not supported. All query parameters are unsupported.
88

manual/config/README.md

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -40,67 +40,67 @@ These configurations are only effective when `SS_STORAGE_TYPE=s3`.
4040

4141
### Enabling S3 as Storage Backend
4242
=== "AWS"
43-
``` sh
44-
ZINC_FIRST_ADMIN_USER=admin
45-
ZINC_FIRST_ADMIN_PASSWORD=password
46-
SS_DATA_PATH=./data
47-
SS_STORAGE_TYPE=s3
48-
SS_S3_ACCESS_ID=<your-s3-key-id>
49-
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
50-
SS_S3_BUCKET=<your-seasearch-bucket>
51-
SS_S3_REGION=us-east-1
52-
SS_S3_USE_HTTPS=true
53-
SS_S3_USE_V4_SIGNATURE=true
54-
```
43+
``` sh
44+
ZINC_FIRST_ADMIN_USER=admin
45+
ZINC_FIRST_ADMIN_PASSWORD=password
46+
SS_DATA_PATH=./data
47+
SS_STORAGE_TYPE=s3
48+
SS_S3_ACCESS_ID=<your-s3-key-id>
49+
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
50+
SS_S3_BUCKET=<your-seasearch-bucket>
51+
SS_S3_REGION=us-east-1
52+
SS_S3_USE_HTTPS=true
53+
SS_S3_USE_V4_SIGNATURE=true
54+
```
5555
=== "Exoscale"
56-
``` sh
57-
ZINC_FIRST_ADMIN_USER=admin
58-
ZINC_FIRST_ADMIN_PASSWORD=password
59-
SS_DATA_PATH=./data
60-
SS_STORAGE_TYPE=s3
61-
SS_S3_ACCESS_ID=<your-s3-key-id>
62-
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
63-
SS_S3_BUCKET=<your-seasearch-bucket>
64-
SS_S3_ENDPOINT=sos-de-fra-1.exo.io
65-
SS_S3_PATH_STYLE_REQUEST=true
66-
```
56+
``` sh
57+
ZINC_FIRST_ADMIN_USER=admin
58+
ZINC_FIRST_ADMIN_PASSWORD=password
59+
SS_DATA_PATH=./data
60+
SS_STORAGE_TYPE=s3
61+
SS_S3_ACCESS_ID=<your-s3-key-id>
62+
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
63+
SS_S3_BUCKET=<your-seasearch-bucket>
64+
SS_S3_ENDPOINT=sos-de-fra-1.exo.io
65+
SS_S3_PATH_STYLE_REQUEST=true
66+
```
6767
=== "Hetzner"
68-
``` sh
69-
ZINC_FIRST_ADMIN_USER=admin
70-
ZINC_FIRST_ADMIN_PASSWORD=password
71-
SS_DATA_PATH=./data
72-
SS_STORAGE_TYPE=s3
73-
SS_S3_ACCESS_ID=<your-s3-key-id>
74-
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
75-
SS_S3_BUCKET=<your-seasearch-bucket>
76-
SS_S3_ENDPOINT=fsn1.your-objectstorage.com
77-
SS_S3_PATH_STYLE_REQUEST=true
78-
SS_S3_USE_HTTPS=true
79-
```
68+
``` sh
69+
ZINC_FIRST_ADMIN_USER=admin
70+
ZINC_FIRST_ADMIN_PASSWORD=password
71+
SS_DATA_PATH=./data
72+
SS_STORAGE_TYPE=s3
73+
SS_S3_ACCESS_ID=<your-s3-key-id>
74+
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
75+
SS_S3_BUCKET=<your-seasearch-bucket>
76+
SS_S3_ENDPOINT=fsn1.your-objectstorage.com
77+
SS_S3_PATH_STYLE_REQUEST=true
78+
SS_S3_USE_HTTPS=true
79+
```
8080
=== "Other Public Hosted S3 Storag"
81-
```sh
82-
ZINC_FIRST_ADMIN_USER=admin
83-
ZINC_FIRST_ADMIN_PASSWORD=password
84-
SS_DATA_PATH=./data
85-
SS_STORAGE_TYPE=s3
86-
SS_S3_ACCESS_ID=<your-s3-key-id>
87-
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
88-
SS_S3_BUCKET=<your-seasearch-bucket>
89-
SS_S3_ENDPOINT=<access endpoint for storage provider>
90-
SS_S3_REGION=<region name for storage provider>
91-
SS_S3_USE_HTTPS=true
92-
```
81+
```sh
82+
ZINC_FIRST_ADMIN_USER=admin
83+
ZINC_FIRST_ADMIN_PASSWORD=password
84+
SS_DATA_PATH=./data
85+
SS_STORAGE_TYPE=s3
86+
SS_S3_ACCESS_ID=<your-s3-key-id>
87+
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
88+
SS_S3_BUCKET=<your-seasearch-bucket>
89+
SS_S3_ENDPOINT=<access endpoint for storage provider>
90+
SS_S3_REGION=<region name for storage provider>
91+
SS_S3_USE_HTTPS=true
92+
```
9393
=== "Self-hosted S3 Storage"
94-
```sh
95-
ZINC_FIRST_ADMIN_USER=admin
96-
ZINC_FIRST_ADMIN_PASSWORD=password
97-
SS_DATA_PATH=./data
98-
SS_STORAGE_TYPE=s3
99-
SS_S3_ACCESS_ID=<your-s3-key-id>
100-
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
101-
SS_S3_BUCKET=<your-seasearch-bucket>
102-
SS_S3_ENDPOINT=<your s3 api endpoint host>:<your s3 api endpoint port>
103-
SS_S3_USE_HTTPS=true
104-
SS_S3_PATH_STYLE_REQUEST=true
105-
SS_S3_USE_HTTPS=true
106-
```
94+
```sh
95+
ZINC_FIRST_ADMIN_USER=admin
96+
ZINC_FIRST_ADMIN_PASSWORD=password
97+
SS_DATA_PATH=./data
98+
SS_STORAGE_TYPE=s3
99+
SS_S3_ACCESS_ID=<your-s3-key-id>
100+
SS_S3_ACCESS_SECRET=<your-s3-secret-key>
101+
SS_S3_BUCKET=<your-seasearch-bucket>
102+
SS_S3_ENDPOINT=<your s3 api endpoint host>:<your s3 api endpoint port>
103+
SS_S3_USE_HTTPS=true
104+
SS_S3_PATH_STYLE_REQUEST=true
105+
SS_S3_USE_HTTPS=true
106+
```

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ markdown_extensions:
4242
- markdown.extensions.toc:
4343
permalink: true
4444
toc_depth: "1-4"
45+
- pymdownx.tabbed:
46+
alternate_style: true
4547

4648
# Page tree
4749
nav:

0 commit comments

Comments
 (0)