* fix build bc command not found
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* use latest
Signed-off-by: Carlos Santana <csantana23@gmail.com>
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* cut release 1.5, remove extra vars for build
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* clean reference to removed variable
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* making it a semver correct
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* Add CC BY 4.0 info in footer
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* fix trailing space
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* made strings shorter
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* updates instructions on running mkdocs locally in docker
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
* remove whitespace
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
* style
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
* update macro to lookup point releases for artifacts
* remove trailing whitespace
* use vargs to be explicit
* name the github client more explicitly
* drop pre-v1 support
* better naming for GithubRleases
* remove the full knative-prefix
* allow the macro helper to accept knative-v1.3.0 and v1.30.0
* handle the repos with bad tags
* better log message
* support go tag format as a fallback
* refactor so we use the GitHub release tag
Some repos we link to don't have the knative- prefix in their release tag
* clean up docker workflow for website
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* add links to docker and colima
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* add images
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* fix formatting
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* adding flexibility to run docker scripts from any directory
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* Add docker instructions to preview website locally
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* minor updates
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* update from mkdocs 7.3.1 to 8.1.10
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* add GIT_SLUG to make easier to test with user forks
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* fix warning banner
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* fixing v1.1 yaml files for knative version
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* add space in build script
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* remove hugo builds
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* remove community folder
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* handling with netflify redirect instead
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* starting to cut 1.0 docs for knative
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* adjust for warning for old version to not have prefix knative-
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* using upstreeam repo
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* remove temp knative from repo name
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* add v0.25 mkdocs, remove v0.21 hugo
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* remove v0.21 hugo archived
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* add -L for curl to catch errors when missing variabled in url path
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* fix release branch for old mkdocs version 0.24
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* fix message for serve
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* adding back archive v0.21 to make PR clear
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* Incorporate static version of old docs in to site
Built via manual ./scripts/build.sh of website and then copied over.
Each release we get to delete one of these docs directories (and the
corresponding copy in build.sh) until they all disappear.
* Clean up built owners files
* Mv old-docs archived
* Mark archived/ dir as generated
* Add cookie warning to site
Imports the cookie warning from the old site. For simplicity,
this uses the same script from the old site in both places, so we
have to import jquery.
Note: this doesn't actually turn analytics on, but we now could do so.
* Tweak margins
* Add non-EU version
* handle old versions with redirects
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* skip building the files for redirect take effect
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* trailing whitespace
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* Branch-based versioning
* Tidy, add version warning
* Use shallow clones
* use npx
* Tidy, optimise
* update branches
* Looks like we need this bit of processresourcefiles.sh
* Use array instead of function
* Allow specifying community repo commit/branch
* Allow overriding repos
* Document prereqs
* Add explicit path for hugo build
* Relative latest version url
* deploy to gh-pages with blog
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* add hugo
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* extended true
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* add postcss to PATH
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* make it compatible with other forks not name docs
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* mkade blog and community relatove
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* restore github action to mkdocs
Signed-off-by: Carlos Santana <csantana23@gmail.com>