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

martijnvisser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 5e8f39ff9e476b12dd21a835c5e299baab305f81
Author: MartijnVisser <[email protected]>
AuthorDate: Tue Apr 26 12:45:35 2022 +0200

    [FLINK-27394][Documentation] Document how you can add externally hosted 
documentation in a virtual filemounted system that's only known to Hugo, using 
Hugo Modules.
---
 .gitignore       |  3 +++
 docs/config.toml | 12 ++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/.gitignore b/.gitignore
index 633532b3ed1..877890a72f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -59,3 +59,6 @@ tools/flink
 tools/flink-*
 tools/releasing/release
 tools/japicmp-output
+/docs/go.mod
+/docs/go.sum
+/docs/.hugo_build.lock
diff --git a/docs/config.toml b/docs/config.toml
index 93f854c3708..70e18b42322 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -107,3 +107,15 @@ pygmentsUseClasses = true
   languageName = '中文版'
   contentDir = 'content.zh'
   weight = 2
+
+[module]
+[[module.imports]]
+  path = 'github.com/apache/flink-connector-elasticsearch/docs'
+[[module.imports.mounts]]
+  source = 'content'
+  target = 'content'
+  lang = 'en'
+[[module.imports.mounts]]
+  source = 'content.zh'
+  target = 'content'
+  lang = 'zh'

Reply via email to