You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@horaedb.apache.org by "jiacai2050 (via GitHub)" <gi...@apache.org> on 2024/08/20 08:44:05 UTC
[PR] refactor: use hugo to build website [horaedb-docs]
jiacai2050 opened a new pull request, #132:
URL: https://github.com/apache/horaedb-docs/pull/132
Preview
<img width="1663" alt="image" src="https://github.com/user-attachments/assets/80d14d0c-a0e8-417c-96cf-7c557d8ad395">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org
Re: [PR] refactor: use hugo to build website [horaedb-docs]
Posted by "jiacai2050 (via GitHub)" <gi...@apache.org>.
jiacai2050 merged PR #132:
URL: https://github.com/apache/horaedb-docs/pull/132
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org
Re: [PR] refactor: use hugo to build website [horaedb-docs]
Posted by "jiacai2050 (via GitHub)" <gi...@apache.org>.
jiacai2050 commented on code in PR #132:
URL: https://github.com/apache/horaedb-docs/pull/132#discussion_r1723082436
##########
.gitignore:
##########
@@ -6,3 +6,10 @@
# vscode files
.vscode
+
+/resources
+*lock
+/public
+/node_modules
+package.json
+package-lock.json
Review Comment:
Fixed.
##########
hugo.toml:
##########
@@ -0,0 +1,87 @@
+baseURL = 'https://horaedb.apache.org/'
+languageCode = 'en-us'
+title = 'Apache HoraeDB'
+contentDir = "content/en"
+defaultContentLanguage = "en"
+defaultContentLanguageInSubdir = false
+enableMissingTranslationPlaceholders = true
+
+enableRobotsTXT = true
+
+# Will give values to .Lastmod etc.
+enableGitInfo = true
+
+[languages]
+[languages.en]
+languageName ="English"
+# Weight used for sorting.
+weight = 1
+[languages.en.params]
+description = "A high-performance, distributed, cloud native time-series database."
+
+[languages.cn]
+languageName ="中文"
+contentDir = "content/cn"
+[languages.cn.params]
+description = "一款高性能、分布式的云原生时序数据库"
+
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ unsafe = true
+ [markup.goldmark.parser.attribute]
+ block = true
+ [markup.highlight]
+ noClasses = false
+ style = "tango"
+
+[module]
+proxy = "https://goproxy.cn,direct"
+[[module.imports]]
+path = "github.com/google/docsy"
+
+[params]
+github_repo = "https://github.com/apache/horaedb-docs"
+github_project_repo = "https://github.com/apache/horaedb"
+offlineSearch = true
+
+[params.links]
+[[params.links.user]]
+ name = "GitHub Discussions"
+ url = "https://github.com/apache/horaedb/discussions"
+ icon = "fa-solid fa-circle-question"
+ desc = "Discussion and help from your fellow users"
+[[params.links.user]]
+ name ="Weixin"
+ url = "https://example.org/"
Review Comment:
Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org
Re: [PR] refactor: use hugo to build website [horaedb-docs]
Posted by "chunshao90 (via GitHub)" <gi...@apache.org>.
chunshao90 commented on code in PR #132:
URL: https://github.com/apache/horaedb-docs/pull/132#discussion_r1722997424
##########
.gitignore:
##########
@@ -6,3 +6,10 @@
# vscode files
.vscode
+
+/resources
+*lock
+/public
+/node_modules
+package.json
+package-lock.json
Review Comment:
Add a blank line.
##########
hugo.toml:
##########
@@ -0,0 +1,87 @@
+baseURL = 'https://horaedb.apache.org/'
+languageCode = 'en-us'
+title = 'Apache HoraeDB'
+contentDir = "content/en"
+defaultContentLanguage = "en"
+defaultContentLanguageInSubdir = false
+enableMissingTranslationPlaceholders = true
+
+enableRobotsTXT = true
+
+# Will give values to .Lastmod etc.
+enableGitInfo = true
+
+[languages]
+[languages.en]
+languageName ="English"
+# Weight used for sorting.
+weight = 1
+[languages.en.params]
+description = "A high-performance, distributed, cloud native time-series database."
+
+[languages.cn]
+languageName ="中文"
+contentDir = "content/cn"
+[languages.cn.params]
+description = "一款高性能、分布式的云原生时序数据库"
+
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ unsafe = true
+ [markup.goldmark.parser.attribute]
+ block = true
+ [markup.highlight]
+ noClasses = false
+ style = "tango"
+
+[module]
+proxy = "https://goproxy.cn,direct"
+[[module.imports]]
+path = "github.com/google/docsy"
+
+[params]
+github_repo = "https://github.com/apache/horaedb-docs"
+github_project_repo = "https://github.com/apache/horaedb"
+offlineSearch = true
+
+[params.links]
+[[params.links.user]]
+ name = "GitHub Discussions"
+ url = "https://github.com/apache/horaedb/discussions"
+ icon = "fa-solid fa-circle-question"
+ desc = "Discussion and help from your fellow users"
+[[params.links.user]]
+ name ="Weixin"
+ url = "https://example.org/"
Review Comment:
Use HoraeDB's Weixin Official Accounts.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org