You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/07/15 07:08:31 UTC

[shardingsphere-elasticjob] branch master updated (70c0f4a -> 6ebe356)

This is an automated email from the ASF dual-hosted git repository.

zhangyonglun pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git.


    from 70c0f4a   Update quick start (#1066)
     new 1b18486  remote lite from doc/config.toml
     new 6ebe356  add docs/build.sh

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/build.sh    | 11 +++++++++++
 docs/config.toml |  8 ++++----
 2 files changed, 15 insertions(+), 4 deletions(-)
 create mode 100644 docs/build.sh


[shardingsphere-elasticjob] 01/02: remote lite from doc/config.toml

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zhangyonglun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git

commit 1b1848667fc01ab9204b3934ca807a6a89611439
Author: tuohai666 <zh...@apache.org>
AuthorDate: Wed Jul 15 14:53:11 2020 +0800

    remote lite from doc/config.toml
---
 docs/config.toml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/config.toml b/docs/config.toml
index aa283bf..0ddd497 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -1,4 +1,4 @@
-baseURL = "https://shardingsphere.apache.org/elasticjob/current/lite"
+baseURL = "https://shardingsphere.apache.org/elasticjob/current/"
 canonifyurls = true
 languageCode = "en-us"
 title = "ElasticJob"
@@ -9,13 +9,13 @@ defaultContentLanguageInSubdir= true
 
 [Languages]
 [Languages.en]
-#baseURL = "https://shardingsphere.apache.org/elasticjob/current/lite"
+#baseURL = "https://shardingsphere.apache.org/elasticjob/current/"
 title = "ElasticJob"
 weight = 1
 languageName = "English"
 
 [Languages.cn]
-#baseURL = "https://shardingsphere.apache.org/elasticjob/current/lite"
+#baseURL = "https://shardingsphere.apache.org/elasticjob/current/"
 title = "ElasticJob"
 weight = 2
 languageName = "Chinese"
@@ -30,4 +30,4 @@ languageName = "Chinese"
 [markup.tableOfContents]
 endLevel = 3
 ordered = false
-startLevel = 2
\ No newline at end of file
+startLevel = 2


[shardingsphere-elasticjob] 02/02: add docs/build.sh

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zhangyonglun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git

commit 6ebe356365f9b332305eb4b961dfcc37422d74d2
Author: tuohai666 <zh...@apache.org>
AuthorDate: Wed Jul 15 14:54:49 2020 +0800

    add docs/build.sh
---
 docs/build.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/build.sh b/docs/build.sh
new file mode 100644
index 0000000..e1eb3ef
--- /dev/null
+++ b/docs/build.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+cd `dirname $0`
+
+rm -rf public
+
+hugo
+find ./ -name '*.html' -exec sed -i -e 's|[[:space:]]*<option id="\([a-zA-Z]\+\)" value="|<option id="\1" value="/elasticjob/current|g' {} \;
+cd public/en
+sed -i -e 's/cn/en/g' index.html
+
+cd ..