Skip to content

Commit

Permalink
Update doc typo. (#4656)
Browse files Browse the repository at this point in the history
* Add type status hide/show system app.

Signed-off-by: zzjin <tczzjin@gmail.com>

* Fix typo

Signed-off-by: zzjin <tczzjin@gmail.com>

* Rebase app status.

Signed-off-by: zzjin <tczzjin@gmail.com>

* Update doc typos.

Signed-off-by: zzjin <tczzjin@gmail.com>

---------

Signed-off-by: zzjin <tczzjin@gmail.com>
  • Loading branch information
zzjin committed Apr 2, 2024
1 parent 99ca1d9 commit d0b30e6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions docs/4.0/docs/examples/blog-platform/install-halo.md
Expand Up @@ -89,12 +89,12 @@ Detailed explanation of environment variable configuration:

Database link format (here we use the postgresql format):

| Connection Method | Connection Address Format | spring.sql.init.platform |
|--------------------|----------------------------------------------------------------------------------|----------------------------|
| PostgreSQL | r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE} | postgresql |
| MySQL | r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE} | mysql |
| MariaDB | r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE} | mysql |
| H2 Database | r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE | h2 |
| Connection Method | Connection Address Format | spring.sql.init.platform |
|-------------------|------------------------------------------------------------------------------------|--------------------------|
| PostgreSQL | r2dbc:pool:postgresql://`{HOST}`:`{PORT}`/`{DATABASE}` | postgresql |
| MySQL | r2dbc:pool:mysql://`{HOST}`:`{PORT}`/`{DATABASE}` | mysql |
| MariaDB | r2dbc:pool:mariadb://`{HOST}`:`{PORT}`/`{DATABASE}` | mysql |
| H2 Database | r2dbc:h2:file:///`${halo.work-dir}`/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE | h2 |

### Network configuration

Expand Down
12 changes: 6 additions & 6 deletions docs/4.0/i18n/zh-Hans/examples/blog-platform/install-halo.md
Expand Up @@ -76,12 +76,12 @@ halo.security.initializer.superadminpassword=sealos

数据库的链接格式(这里我们使用 postgresql 的格式):

| 链接方式 | 链接地址格式 | spring.sql.init.platform |
| ----------- | ------------------------------------------------------------ | ------------------------ |
| PostgreSQL | r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE} | postgresql |
| MySQL | r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE} | mysql |
| MariaDB | r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE} | mysql |
| H2 Database | r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE | h2 |
| 链接方式 | 链接地址格式 | spring.sql.init.platform |
| ----------- | ---------------------------------------------------------------------------------- | ------------------------ |
| PostgreSQL | r2dbc:pool:postgresql://`{HOST}`:`{PORT}`/`{DATABASE}` | postgresql |
| MySQL | r2dbc:pool:mysql://`{HOST}`:`{PORT}`/`{DATABASE}` | mysql |
| MariaDB | r2dbc:pool:mariadb://`{HOST}`:`{PORT}`/`{DATABASE}` | mysql |
| H2 Database | r2dbc:h2:file:///`${halo.work-dir}`/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE | h2 |

### 网络配置

Expand Down
10 changes: 5 additions & 5 deletions docs/4.0/i18n/zh-Hans/self-hosting/sealos/installation.md
Expand Up @@ -147,9 +147,9 @@ $ curl -sfL https://mirror.ghproxy.com/https://raw.githubusercontent.com/labring
--key-path=<your_key>
```

+ <your_domain> 需要替换成你自己的公网域名。
+ <your_crt> 需要替换成你的证书位置,通常是 `.crt``.pem` 文件。例如:`/root/certs/example.crt`
+ <your_key> 需要替换成你的私钥位置,通常是 `.key``.pem` 文件。例如:`/root/certs/example.key`
+ `<your_domain>` 需要替换成你自己的公网域名。
+ `<your_crt>` 需要替换成你的证书位置,通常是 `.crt``.pem` 文件。例如:`/root/certs/example.crt`
+ `<your_key>` 需要替换成你的私钥位置,通常是 `.key``.pem` 文件。例如:`/root/certs/example.key`

### 3、有公网域名,想内网访问

Expand All @@ -171,7 +171,7 @@ $ curl -sfL https://mirror.ghproxy.com/https://raw.githubusercontent.com/labring
--cloud-domain=<your_domain>
```

其中 <your_domain> 需要替换成你自己的公网域名。
其中 `<your_domain>` 需要替换成你自己的公网域名。

安装过程中 Sealos 会使用 [cert-manager](https://cert-manager.io/docs/) 来自签名证书。

Expand Down Expand Up @@ -229,7 +229,7 @@ $ curl -sfL https://mirror.ghproxy.com/https://raw.githubusercontent.com/labring
--cloud-domain=<your_domain>
```

其中 <your_domain> 需要替换成你自己的自定义域名。
其中 `<your_domain>` 需要替换成你自己的自定义域名。

安装过程中 Sealos 会使用 [cert-manager](https://cert-manager.io/docs/) 来自签名证书。

Expand Down
10 changes: 5 additions & 5 deletions docs/website/static/global.js
@@ -1,5 +1,5 @@
document.addEventListener("DOMContentLoaded", function () {
console.log('Handle a tag interception', 111)
// console.log('Handle a tag interception', 111)
const parentElement = document.body
parentElement.addEventListener("click", function (event) {
if (event.target.tagName === "A") {
Expand All @@ -10,9 +10,9 @@ document.addEventListener("DOMContentLoaded", function () {
if (href.includes("sealos.io") || href.includes("sealos.top") || href.includes("sealos.run")) {
event.preventDefault()

console.log("Before:" + href)
// console.log("Before:" + href)
const modifiedHref = href.replace(/(sealos\.io|sealos\.top|sealos\.run)/, targetHostname)
console.log("After:", modifiedHref)
// console.log("After:", modifiedHref)

event.target.href = modifiedHref
window.open(modifiedHref)
Expand All @@ -26,7 +26,7 @@ document.addEventListener("DOMContentLoaded", function () {
.then(response => response.json())
.then(data => {
const responseBody = JSON.parse(data.body)
console.log(responseBody)
// console.log(responseBody)
})
.catch(error => {
console.error('请求失败,但这可能是因为达到提交上限:', error)
Expand All @@ -37,7 +37,7 @@ document.addEventListener("DOMContentLoaded", function () {

function handleBannerClose () {
const closeButton = document.querySelector('.clean-btn')
console.log(closeButton)
// console.log(closeButton)
if (closeButton) {
closeButton.click()
}
Expand Down

0 comments on commit d0b30e6

Please sign in to comment.