[Doc] updates for PDF (#56721)

When generating PDFs we cannot have loops in the nav, there was an extra overview page in Query Acceleration. This was removed.
Links were updated
PDF instructions were updated to include the index page
Specified Node js v20 in instructions for PDF

Signed-off-by: DanRoscigno <dan@roscigno.com>
This commit is contained in:
Dan Roscigno 2025-03-07 19:14:13 -05:00 committed by GitHub
parent 868fb58c27
commit 2163555b53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 1512 additions and 39 deletions

View File

@ -0,0 +1 @@
20

View File

@ -15,9 +15,9 @@ Clone this repo to your machine.
### Node.js
This is tested with Node.js version 21.
This is tested with Node.js version 20.
Use Node.js version 21. You can install Node.js using the instructions at [nodejs.org](https://nodejs.org/en/download).
Use Node.js version 20. You can install Node.js using the instructions at [nodejs.org](https://nodejs.org/en/download).
### Puppeteer
@ -90,6 +90,7 @@ This command will crawl the docs and list the URLs in order:
```bash
npx docusaurus-prince-pdf --list-only \
--file URLs.txt \
--include-index \
-u http://localhost:3000/zh/docs/introduction/StarRocks_intro/
```

1487
docs/docusaurus/PDF/list Normal file

File diff suppressed because it is too large Load Diff

View File

@ -276,10 +276,7 @@
{
"type": "category",
"label": "Query Acceleration",
"link": {
"type": "doc",
"id": "using_starrocks/using_starrocks"
},
"link": { "type": "generated-index" },
"items": [
{
"type": "autogenerated",

View File

@ -207,6 +207,6 @@ During data loading, the data is stored after being sorted according to the sort
- To load data into the table created, you can refer to [Loading overview](../../loading/Loading_intro.md) to choose an appropriate load options.
- If you need to change data in the Primary Key table, you can refer to [change data through loading](../../loading/Load_to_Primary_Key_tables.md) or use DML ([INSERT](../../sql-reference/sql-statements/loading_unloading/INSERT.md), [UPDATE](../../sql-reference/sql-statements/table_bucket_part_index/UPDATE.md), and [DELETE](../../sql-reference/sql-statements/table_bucket_part_index/DELETE.md)).
- If you want to further accelerate queries, you can refer to [Query Acceleration](../../using_starrocks/using_starrocks.mdx).
- If you want to further accelerate queries, you can refer to [Query Acceleration](../../using_starrocks/async_mv/Materialized_view.md).
- If you need to modify the table schema, you can refer to [ALTER TABLE](../../sql-reference/sql-statements/Resource/ALTER_RESOURCE.md).
- An [AUTO_INCREMENT](../../sql-reference/sql-statements/generated_columns.md) column can be used as the Primary Key.

View File

@ -3,4 +3,5 @@ label: 'Query Acceleration'
collapsible: true
collapsed: true
link:
type: generated-index
type: doc
id: using_starrocks

View File

@ -1,9 +0,0 @@
---
displayed_sidebar: docs
---
# Query Acceleration
import DocCardList from '@theme/DocCardList';
<DocCardList />

View File

@ -208,6 +208,6 @@ v3.0 以降、主キーテーブルはソートキーを主キーから分離し
- 作成したテーブルにデータをロードするには、[ロードの概要](../../loading/Loading_intro.md)を参照して適切なロードオプションを選択できます。
- 主キーテーブルのデータを変更する必要がある場合は、[ロードを通じてデータを変更](../../loading/Load_to_Primary_Key_tables.md)するか、DML[INSERT](../../sql-reference/sql-statements/loading_unloading/INSERT.md)、[UPDATE](../../sql-reference/sql-statements/table_bucket_part_index/UPDATE.md)、および [DELETE](../../sql-reference/sql-statements/table_bucket_part_index/DELETE.md))を使用できます。
- クエリアクセラレーションをさらに進めたい場合は、[クエリアクセラレーション](../../using_starrocks/using_starrocks.mdx)を参照してください。
- クエリアクセラレーションをさらに進めたい場合は、[クエリアクセラレーション](../../using_starrocks/async_mv/Materialized_view.md)を参照してください。
- テーブルスキーマを変更する必要がある場合は、[ALTER TABLE](../../sql-reference/sql-statements/Resource/ALTER_RESOURCE.md)を参照してください。
- [AUTO_INCREMENT](../../sql-reference/sql-statements/generated_columns.md) 列を主キーとして使用できます。
- [AUTO_INCREMENT](../../sql-reference/sql-statements/generated_columns.md) 列を主キーとして使用できます。

View File

@ -0,0 +1,7 @@
position: 60 # float position is supported
label: 'Query Acceleration'
collapsible: true
collapsed: true
link:
type: doc
id: using_starrocks

View File

@ -1,9 +0,0 @@
---
displayed_sidebar: docs
---
# クエリアクセラレーション
import DocCardList from '@theme/DocCardList';
<DocCardList />

View File

@ -198,6 +198,6 @@ PROPERTIES (
- 建表后导入数据,您可以参考[导入概览](../../loading/Loading_intro.md)选择合适的导入方式。
- 如果需要对主键表中数据进行变更,则可以参考 [通过导入实现数据变更](../../loading/Load_to_Primary_Key_tables.md) 或者 DML 语句([INSERT](../../sql-reference/sql-statements/loading_unloading/INSERT.md)、[UPDATE](../../sql-reference/sql-statements/table_bucket_part_index/UPDATE.md)、[DELETE](../../sql-reference/sql-statements/table_bucket_part_index/DELETE.md))。
- 如果您需要进一步加速查询,则可以参考[查询加速](../../using_starrocks/using_starrocks.mdx)。
- 如果您需要进一步加速查询,则可以参考[查询加速](../../using_starrocks/async_mv/Materialized_view.md)。
- 如果需要修改表结构,则可以参考 [ALTER TABLE](../../sql-reference/sql-statements/Resource/ALTER_RESOURCE.md)。
- [自增列](../../sql-reference/sql-statements/generated_columns.md)可作为生成主键。

View File

@ -0,0 +1,7 @@
position: 60 # float position is supported
label: 'Query Acceleration'
collapsible: true
collapsed: true
link:
type: doc
id: using_starrocks

View File

@ -1,10 +0,0 @@
---
displayed_sidebar: docs
---
# 查询加速
import DocCardList from '@theme/DocCardList';
<DocCardList />