diff --git a/OWNERS b/OWNERS index b431182bf9..dad6adc133 100644 --- a/OWNERS +++ b/OWNERS @@ -1,55 +1,7 @@ approvers: - - abhi-g - - aronchick - - dansanche - - ewilderj - - jinchihe - - jlewi - - kunmingg - - lluunn - - nickchase - - pdmack - - richardsliu - - sarahmaddox - - texasmichelle - - willingc - - dsdinter - - Ark-kun - - gaoning777 - - hongye-sun - - IronPan - - neuromage - - paveldournov - - qimingj - - rileyjbauer - - vicaire - - joeliedtke - - animeshsingh -reviewers: - - abhi-g - - aronchick - - carmine - - dansanche - - inc0 - - jinchihe - - jlewi - - kunmingg - - lluunn - - nickchase - - pdmack - - richardsliu - - sarahmaddox - - texasmichelle - - willingc - - dsdinter - - Ark-kun - - gaoning777 - - hongye-sun - - IronPan - - neuromage - - paveldournov - - qimingj - - rileyjbauer - - thedriftofwords - - vicaire - - animeshsingh + - andreyvelich + - james-jwu + - jbottum + - johnugeorge + - terrytangyuan + - zijianjoy \ No newline at end of file diff --git a/config.toml b/config.toml index ee5d6e9335..2b4394726c 100644 --- a/config.toml +++ b/config.toml @@ -119,7 +119,7 @@ archived_version = true # A link to latest version of the docs. Used in the "version-banner" partial to # point people to the main doc site. -url_latest_version = "https://kubeflow.org/docs/" +url_latest_version = "https://www.kubeflow.org/docs/" # A variable used in various docs to determine URLs for config files etc. # To find occurrences, search the repo for 'params "githubbranch"'. @@ -128,34 +128,33 @@ githubbranch = "v0.7-branch" # Add new release versions here. These entries appear in the drop-down menu # at the top of the website. [[params.versions]] - version = "master" + version = "Latest" githubbranch = "master" - url = "https://master.kubeflow.org" - + url = "https://www.kubeflow.org" [[params.versions]] - version = "v0.2" - githubbranch = "v0.2-branch" - url = "https://v0-2.kubeflow.org" - + version = "v0.7" + githubbranch = "v0.7-branch" + url = "https://v0-7.kubeflow.org" [[params.versions]] - version = "v0.3" - githubbranch = "v0.3-branch" - url = "https://v0-3.kubeflow.org" - + version = "v0.6" + githubbranch = "v0.6-branch" + url = "https://v0-6.kubeflow.org" +[[params.versions]] + version = "v0.5" + githubbranch = "v0.5-branch" + url = "https://v0-5.kubeflow.org" [[params.versions]] version = "v0.4" githubbranch = "v0.4-branch" url = "https://v0-4.kubeflow.org" - [[params.versions]] - version = "v0.5" - githubbranch = "v0.5-branch" - url = "https://v0-5.kubeflow.org" - + version = "v0.3" + githubbranch = "v0.3-branch" + url = "https://v0-3.kubeflow.org" [[params.versions]] - version = "v0.6" - githubbranch = "v0.6-branch" - url = "https://v0-6.kubeflow.org" + version = "v0.2" + githubbranch = "v0.2-branch" + url = "https://v0-2.kubeflow.org" # Docsy: User interface configuration [params.ui] diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5496ce2217..be95ddbb05 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,11 +1,8 @@ {{ hugo.Generator }} -{{ if eq (getenv "HUGO_ENV") "production" }} - -{{ else }} - -{{ end }} + + {{ range .AlternativeOutputFormats -}} {{ end -}} diff --git a/layouts/partials/version-banner.html b/layouts/partials/version-banner.html index 617a0ad779..641e73fdc8 100644 --- a/layouts/partials/version-banner.html +++ b/layouts/partials/version-banner.html @@ -1,14 +1,33 @@ - -{{ if .Site.Params.archived_version }} - {{ $color := "primary" }} - {{ $latest := .Site.Params.url_latest_version }} -
Version {{ . | markdownify }} of the - documentation is no longer actively maintained. The site that you are - currently viewing is an archived snapshot. For up-to-date documentation, - see the - latest version.
- {{ end }} + +{{- $latest_version_url := .Site.Params.url_latest_version }} +{{- $current_version := replace .Site.Params.version "v" "" | markdownify }} +{{- if .Site.Params.archived_version }} + + -{{ end }} +{{- end }} \ No newline at end of file diff --git a/netlify.toml b/netlify.toml index 2471e0e165..623fd3efbd 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,8 +3,10 @@ command = "hugo" [context.deploy-preview.environment] - HUGO_VERSION = "0.55.6" + HUGO_VERSION = "0.81.0" + NODE_VERSION = "12" [context.production.environment] - HUGO_VERSION = "0.55.6" + HUGO_VERSION = "0.81.0" + NODE_VERSION = "12" HUGO_ENV = "production" diff --git a/package.json b/package.json new file mode 100644 index 0000000000..789c952e84 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "name": "website", + "devDependencies": { + "autoprefixer": "^9.4.3", + "postcss": "^7.0.6", + "postcss-cli": "^6.1.0" + } +} diff --git a/themes/docsy/layouts/shortcodes/blocks/cover.html b/themes/docsy/layouts/shortcodes/blocks/cover.html index 5e14d6dcaf..6eb762a9ea 100644 --- a/themes/docsy/layouts/shortcodes/blocks/cover.html +++ b/themes/docsy/layouts/shortcodes/blocks/cover.html @@ -31,7 +31,7 @@ {{ with .Get "title" }}{{ . | html }}
{{ end }}