Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructured the website repo to allow for future i18n and content translation #1909

Merged
merged 11 commits into from Apr 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions config.toml
Expand Up @@ -12,8 +12,9 @@ enableRobotsTXT = true
enableGitInfo = true

# Docsy: Language settings
contentDir = "content"
contentDir = "content/en"
defaultContentLanguage = "en"
# Tell Hugo not to include the /en/ element in the URL path for English docs:
defaultContentLanguageInSubdir = false
# Docsy: Useful when translating.
enableMissingTranslationPlaceholders = true
Expand Down Expand Up @@ -80,8 +81,10 @@ id = "UA-135379910-1"
title = "Kubeflow"
description = "Kubeflow makes deployment of ML Workflows on Kubernetes straightforward and automated"
languageName ="English"
# Weight used for sorting in the language menu:
weight = 1
# Example of another language: Norwegian

# Below is an example of another language (Norwegian):
#[languages.no]
#title = "Docsy"
#description = "Docsy er operativsystem for skyen"
Expand Down
12 changes: 6 additions & 6 deletions content/_index.html → content/en/_index.html
Expand Up @@ -43,7 +43,7 @@ <h4 class="section-head">What is Kubeflow?</h4>
<div class="card-deck">
<div class="card border-primary-dark">
<img
src="logos/Jupyter.png"
src="/docs/images/logos/Jupyter.png"
class="card-img-top"
draggable="false"
style="padding: 2rem;"
Expand All @@ -61,7 +61,7 @@ <h5 class="card-title text-white section-head">Notebooks</h5>
</div>
<div class="card border-primary-dark">
<img
src="logos/TensorFlow.png"
src="/docs/images/logos/TensorFlow.png"
class="card-img-top"
draggable="false"
style="padding: 2rem;"
Expand All @@ -80,7 +80,7 @@ <h5 class="card-title text-white section-head">
</div>
<div class="card border-primary-dark">
<img
src="logos/Models.png"
src="/docs/images/logos/Models.png"
class="card-img-top"
draggable="false"
style="padding: 2rem;"
Expand All @@ -102,7 +102,7 @@ <h5 class="card-title text-white section-head">Model serving</h5>
<div class="card-deck">
<div class="card border-primary-dark">
<img
src="logos/Pipeline.png"
src="/docs/images/logos/Pipeline.png"
class="card-img-top"
draggable="false"
style="padding: 2rem;"
Expand All @@ -119,7 +119,7 @@ <h5 class="card-title text-white section-head">Pipelines</h5>
</div>
<div class="card border-primary-dark">
<img
src="logos/MultiPlatform.png"
src="/docs/images/logos/MultiPlatform.png"
class="card-img-top"
draggable="false"
style="padding: 2rem;"
Expand All @@ -144,7 +144,7 @@ <h5 class="card-title text-white section-head">Multi-framework</h5>
</div>
<div class="card border-primary-dark">
<img
src="logos/Community.png"
src="/docs/images/logos/Community.png"
class="card-img-top"
draggable="false"
style="padding: 2rem;"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.