Skip to content

Commit

Permalink
[BEAM-9876] Migrate the Beam website from Jekyll to Hugo to enable lo…
Browse files Browse the repository at this point in the history
…calization of the site content (#11554)

[BEAM-9876] Migrate the Beam website from Jekyll to Hugo to enable localization of the site content (#11554)

* Moved files from src to www
* Applied changes - Migrated Jekyll to Hugo

Setup Docsy themes
Fixed github_sample
Added Works With logos
Sync new update
Adopted to reviews & Updated content
Excluded website build files
Added Apache License
Docker removed root
Modified test link checker
Latest sync

* Cleaned unused Jekyll files
* Adapted to reviews
* Fixes based on diff script
* Corrected path flink_runner.gradle
  • Loading branch information
bntnam committed May 14, 2020
1 parent 8d13b4f commit 1d27008
Show file tree
Hide file tree
Showing 630 changed files with 10,254 additions and 9,064 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "website/www/site/themes/docsy"]
path = website/www/site/themes/docsy
url = https://github.com/google/docsy.git
13 changes: 8 additions & 5 deletions build.gradle
Expand Up @@ -86,14 +86,17 @@ rat {
// JDBC package config files
"**/META-INF/services/java.sql.Driver",

// Ruby build files
// Website build files
"**/Gemfile.lock",
"**/Rakefile",
"**/.htaccess",
"website/src/_sass/_bootstrap.scss",
"website/src/_sass/bootstrap/**/*",
"website/src/js/bootstrap*.js",
"website/src/js/bootstrap/**/*",
"website/www/site/assets/scss/_bootstrap.scss",
"website/www/site/assets/scss/bootstrap/**/*",
"website/www/site/static/js/bootstrap*.js",
"website/www/site/static/js/bootstrap/**/*",
"website/www/site/themes",
"website/www/yarn.lock",
"website/www/package.json",

// Ignore ownership files
"ownership/**/*",
Expand Down
2 changes: 1 addition & 1 deletion runners/flink/flink_runner.gradle
Expand Up @@ -246,7 +246,7 @@ def createPipelineOptionsTableTask(String target) {
args = [target]
standardOutput = new ByteArrayOutputStream()
doLast {
def dest = file("${project(':website').getProjectDir()}/src/_includes/flink_${target.toLowerCase()}_pipeline_options.html")
def dest = file("${project(':website').getProjectDir()}/www/site/layouts/shortcodes/flink_${target.toLowerCase()}_pipeline_options.html")
if (!dest.exists()) {
throw new GradleException("Pipeline options file is not in expected location: ${dest}")
}
Expand Down
10 changes: 10 additions & 0 deletions website/.gitignore
Expand Up @@ -11,3 +11,13 @@ content/
*.iml
*.ipr
*.iws

# Hugo
www/node_modules
www/dist
www/site/resources
www/site/github_samples
www/site/_config_branch_repo.toml
www/yarn-error.log
!www/site/content

0 comments on commit 1d27008

Please sign in to comment.