From ae6fdd3abc292b979688888f4fbf2b998859eb4a Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 1 Jun 2022 09:13:33 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=96=B0=E5=A2=9E=E5=86=85=E6=A0=B8?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E5=8F=82=E6=95=B0=20`mode`=20https://github.?= =?UTF-8?q?com/siyuan-note/siyuan/issues/5064?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20200924100717-yzwzn64.sy | 157 +++++++++++++++++- .../20200828105441-r76vmu5.sy | 157 +++++++++++++++++- .../20211226122358-hctqcn5.sy | 157 +++++++++++++++++- 3 files changed, 468 insertions(+), 3 deletions(-) diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy index 09d6d137f..7d7e83917 100644 --- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy +++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy @@ -5,7 +5,7 @@ "id": "20200924100717-yzwzn64", "title": "Kernel parameter", "type": "doc", - "updated": "20220517144139" + "updated": "20220601091217" }, "Children": [ { @@ -612,6 +612,161 @@ "Data": "." } ] + }, + { + "ID": "20220601091217-g6ohtlq", + "Type": "NodeHeading", + "HeadingLevel": 3, + "Properties": { + "id": "20220601091217-g6ohtlq", + "updated": "20220601091217" + }, + "Children": [ + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "--mode" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + } + ] + }, + { + "ID": "20220601091217-monzwye", + "Type": "NodeParagraph", + "Properties": { + "id": "20220601091217-monzwye", + "updated": "20220601091217" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Use " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "--mode=dev" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " to run in development mode, use " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "--mode=prod" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " to run in production mode, default " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "prod" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": "." + } + ] + }, + { + "ID": "20220601091217-nnqyj25", + "Type": "NodeParagraph", + "Properties": { + "id": "20220601091217-nnqyj25", + "updated": "20220601091217" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "The main difference between development mode and production mode is that development mode uses " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "working directory/appearance/" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " as the appearance folder, while production mode uses " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "workspace/conf/appearance/" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": "." + } + ] } ] } \ No newline at end of file diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200828105441-r76vmu5.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200828105441-r76vmu5.sy index 2571b768f..3fd0879e5 100644 --- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200828105441-r76vmu5.sy +++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200828105441-r76vmu5.sy @@ -5,7 +5,7 @@ "id": "20200828105441-r76vmu5", "title": "内核参数", "type": "doc", - "updated": "20220517144043" + "updated": "20220601091012" }, "Children": [ { @@ -982,6 +982,161 @@ } } ] + }, + { + "ID": "20220601085956-e4x7vfb", + "Type": "NodeHeading", + "HeadingLevel": 3, + "Properties": { + "id": "20220601085956-e4x7vfb", + "updated": "20220601085956" + }, + "Children": [ + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "--mode" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + } + ] + }, + { + "ID": "20220601085956-ckohzhm", + "Type": "NodeParagraph", + "Properties": { + "id": "20220601085956-ckohzhm", + "updated": "20220601090148" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "使用 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "--mode=dev" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " 后将使用开发模式运行,使用 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "--mode=prod" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " 将使用生产模式运行,默认 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "prod" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": "。" + } + ] + }, + { + "ID": "20220601090153-w4lmqvd", + "Type": "NodeParagraph", + "Properties": { + "id": "20220601090153-w4lmqvd", + "updated": "20220601091012" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "开发模式和生产模式的主要区别开发模式会使用 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "工作目录/appearance/" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " 作为外观文件夹,而生产模式使用的是 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "工作空间/conf/appearance/" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": "。" + } + ] } ] } \ No newline at end of file diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122358-hctqcn5.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122358-hctqcn5.sy index 94e8a601a..bf10d9da0 100644 --- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122358-hctqcn5.sy +++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122358-hctqcn5.sy @@ -4,7 +4,7 @@ "Properties": { "id": "20211226122358-hctqcn5", "title": "Kernel 參數", - "updated": "20220517144244" + "updated": "20220601091200" }, "Children": [ { @@ -981,6 +981,161 @@ } } ] + }, + { + "ID": "20220601091152-z1gdkxi", + "Type": "NodeHeading", + "HeadingLevel": 3, + "Properties": { + "id": "20220601091152-z1gdkxi", + "updated": "20220601091152" + }, + "Children": [ + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "--mode" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + } + ] + }, + { + "ID": "20220601091152-fx2ojfv", + "Type": "NodeParagraph", + "Properties": { + "id": "20220601091152-fx2ojfv", + "updated": "20220601091200" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "使用 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "--mode=dev" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " 後將使用開發模式運行,使用 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "--mode=prod" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " 將使用生產模式運行,預設 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "prod" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": "。" + } + ] + }, + { + "ID": "20220601091152-7qrn8ca", + "Type": "NodeParagraph", + "Properties": { + "id": "20220601091152-7qrn8ca", + "updated": "20220601091152" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "開發模式和生產模式的主要區別開發模式會使用 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "工作目錄/appearance/" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " 作為外觀文件夾,而生產模式使用的是 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "工作空間/conf/appearance/" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": "。" + } + ] } ] } \ No newline at end of file