-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use hugo to build website (#132)
- Loading branch information
1 parent
8368f0d
commit 36785ca
Showing
165 changed files
with
999 additions
and
992 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,10 @@ | |
|
||
# vscode files | ||
.vscode | ||
|
||
/resources | ||
*lock | ||
/public | ||
/node_modules | ||
package.json | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
install: | ||
cargo install [email protected] | ||
cargo install mdbook-i18n --git https://github.com/chunshao90/mdbook-i18n.git --rev ca497cff369e0a5cedcd4024af6e1f05cc5050c5 | ||
brew install hugo | ||
|
||
serve: | ||
cd docs && mdbook serve | ||
|
||
build: | ||
cd docs && mdbook build | ||
hugo serve | ||
|
||
lint: | ||
find . -name '*.md' | xargs npx [email protected] --write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
+++ | ||
title = '{{ replace .File.ContentBaseName "-" " " | title }}' | ||
date = {{ .Date }} | ||
draft = true | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: "Horaedb" | ||
--- | ||
|
||
{{% blocks/cover color="primary" title="Apache HoraeDB™ (incubating)" height="full" %}} | ||
{{% param description %}} | ||
|
||
{.display-6} | ||
|
||
<a class="btn btn-lg btn-secondary" href="https://github.com/apache/horaedb">GitHub<i class="fab fa-github ms-2 "></i></a> | ||
<a class="btn btn-lg btn-secondary" href="docs/getting-started/"> | ||
快速开始<i class="fas fa-arrow-alt-circle-right ms-2"></i> | ||
</a> | ||
{.p-initial .my-5} | ||
|
||
{{% blocks/section type="row" %}} | ||
|
||
{{% blocks/feature icon="fa-lightbulb" title="特性" %}} | ||
高性能低成本、简单易用、社区驱动 | ||
|
||
{{% /blocks/feature %}} | ||
|
||
{{% blocks/feature icon="fa fa-code" title="生态" url="docs/user-guide/ecosystem/" %}} | ||
|
||
积极拥抱开源生态,同时能够无缝对接各种开源组件。 | ||
{{% /blocks/feature %}} | ||
|
||
{{% blocks/feature icon="fa-brands fa-github" title="100% 开源" url="/docs/contribution-guidelines/" %}} | ||
|
||
所有代码均在 GitHub 上开源,欢迎新用户的加入! | ||
{{% /blocks/feature %}} | ||
|
||
{{% /blocks/section %}} | ||
|
||
{{% /blocks/cover %}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: "设计文档" | ||
weight: 40 | ||
--- |
5 changes: 4 additions & 1 deletion
5
docs/src/cn/design/architecture.md → content/cn/docs/design/architecture.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# HoraeDB 架构介绍 | ||
--- | ||
title: "HoraeDB 架构介绍" | ||
weight: 10 | ||
--- | ||
|
||
## 本文目标 | ||
|
||
|
7 changes: 5 additions & 2 deletions
7
docs/src/cn/design/clustering.md → content/cn/docs/design/clustering.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
注意:文章中提到的部分特性暂时还未实现。 | ||
--- | ||
title: "集群模式" | ||
weight: 20 | ||
--- | ||
|
||
# HoraeDB 集群 | ||
注意:文章中提到的部分特性暂时还未实现。 | ||
|
||
## 整体架构 | ||
|
||
|
4 changes: 3 additions & 1 deletion
4
docs/src/cn/design/shared_nothing.md → content/cn/docs/design/shared_nothing.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Shared Nothing 架构 | ||
--- | ||
title: "Shared Nothing 架构" | ||
--- | ||
|
||
## 背景 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
docs/src/cn/design/table_partitioning.md → content/cn/docs/design/table_partitioning.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
**注意:此功能仍在开发中,API 将来可能会发生变化。** | ||
--- | ||
title: "分区表" | ||
--- | ||
|
||
# 分区表 | ||
**注意:此功能仍在开发中,API 将来可能会发生变化。** | ||
|
||
本章讨论 `PartitionTable`。 | ||
|
||
|
4 changes: 3 additions & 1 deletion
4
docs/src/cn/design/wal_on_kafka.md → content/cn/docs/design/wal_on_kafka.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# 基于 Kafka 的 WAL | ||
--- | ||
title: "基于 Kafka 的 WAL" | ||
--- | ||
|
||
## 架构 | ||
|
||
|
4 changes: 3 additions & 1 deletion
4
docs/src/cn/design/wal_on_rocksdb.md → content/cn/docs/design/wal_on_rocksdb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# 基于 RocksDB 的 WAL | ||
--- | ||
title: "基于 RocksDB 的 WAL" | ||
--- | ||
|
||
## 架构 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: "开发手册" | ||
weight: 20 | ||
--- |
5 changes: 5 additions & 0 deletions
5
docs/src/cn/dev/compile_run.md → content/cn/docs/dev/compile_run.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
--- | ||
title: "编译" | ||
weight: 10 | ||
--- | ||
|
||
为了编译 HoraeDB, 首先需要安装相关的依赖(包括 `Rust` 的工具链)。 | ||
|
||
# 依赖(Ubuntu20.04) | ||
|
5 changes: 5 additions & 0 deletions
5
docs/src/cn/cluster_deployment/platform.md → content/cn/docs/dev/platform.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
--- | ||
title: "支持平台" | ||
weight: 10 | ||
--- | ||
|
||
作为一个开源的数据库,HoraeDB 可以部署在基于英特尔 /ARM 架构的服务器,以及常见的虚拟环境。 | ||
|
||
| OS | status | | ||
|
5 changes: 4 additions & 1 deletion
5
docs/src/cn/dev/profiling.md → content/cn/docs/dev/profiling.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
## 剖析 | ||
--- | ||
title: "性能诊断" | ||
weight: 20 | ||
--- | ||
|
||
### CPU 剖析 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
## RoadMap | ||
--- | ||
title: "RoadMap" | ||
weight: 30 | ||
--- | ||
|
||
### v0.1.0 | ||
|
||
|
5 changes: 4 additions & 1 deletion
5
docs/src/cn/quick_start.md → content/cn/docs/getting-started.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# 快速开始 | ||
--- | ||
title: "快速开始" | ||
weight: 1 | ||
--- | ||
|
||
本章介绍如何快速启动 HoraeDB。在这里你将会学到启动一个单机模式的 HoraeDB,然后使用 SQL 写入一些数据并查询结果。 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: "用户指南" | ||
weight: 10 | ||
--- |
8 changes: 4 additions & 4 deletions
8
docs/src/cn/cluster_deployment/README.md → ...s/user-guide/cluster_deployment/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# 集群部署 | ||
--- | ||
title: "集群部署" | ||
weight: 20 | ||
--- | ||
|
||
在[快速开始](../quick_start.md)部分我们已经介绍过单机版本 HoraeDB 的部署。 | ||
|
||
除此之外,HoraeDB 作为一个分布式时序数据库,多个 HoraeDB 实例能够以集群的方式提供可伸缩和高可用的数据服务。 | ||
|
||
由于目前 HoraeDB 对于 Kubernetes 的支持还在开发之中,目前 HoraeDB 集群部署只能通过手动完成,集群部署的模式主要有两种,两者的区别在于是否需要部署 HoraeMeta,对于 `NoMeta` 的模式,我们仅建议在测试场景下使用。 | ||
|
||
- [NoMeta 模式(仅供测试使用)](no_meta.md) | ||
- [WithMeta 模式](with_meta.md) |
6 changes: 4 additions & 2 deletions
6
docs/src/cn/cluster_deployment/no_meta.md → .../user-guide/cluster_deployment/no_meta.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
docs/src/cn/ecosystem/README.md → ...nt/cn/docs/user-guide/ecosystem/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# 周边生态 | ||
--- | ||
title: "周边生态" | ||
weight: 50 | ||
--- | ||
|
||
HoraeDB 是一个开放的系统,鼓励合作和创新,允许开发者使用最适合其自身需求的系统。目前 HoraeDB 支持以下系统: | ||
|
||
- [Prometheus](prometheus.md) | ||
- [InfluxDB](influxdb.md) | ||
- [OpenTSDB](opentsdb.md) |
4 changes: 3 additions & 1 deletion
4
docs/src/cn/ecosystem/influxdb.md → .../cn/docs/user-guide/ecosystem/influxdb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
docs/src/cn/ecosystem/opentsdb.md → .../cn/docs/user-guide/ecosystem/opentsdb.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# OpenTSDB | ||
--- | ||
title: "OpenTSDB" | ||
--- | ||
|
||
[OpenTSDB](http://opentsdb.net/) 是基于 HBase 的分布式、可伸缩的时间序列数据库。 | ||
|
||
|
Oops, something went wrong.