* 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>
* add gh-action to deploy mkdocs to gh-pages
* update commit user for gh-pages
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* switch to fast livereload
Signed-off-by: Carlos Santana <csantana23@gmail.com>
* initial move over
* Fix up index page names
* Add version variables
* Escape macro syntax
* Automatic fixups with mkhugo
* Drop no-longer-needed excludes
* Rename more _index files
* Move broker-configmaps.md a README.md
avoids a directory with no index/readme
* Autogenerate Eventing nav
* Fix markdown
* Update Serving nav
* Add h1 headers
Makes things look nicer in github, and makes search work more accurately
in mkdocs
* Unexclude all samples
* Correct client link
* Fix gitignore, skip hugo tests
* Update api doc config
Duck no longer lives in github.com/knative, and networking package has
been introduced. Also fill in a couple other packages to remove warnings
when run
* Regenerate api references
* update gen-api-reference-docs script
Updating the tool version to v0.3.0 tag.
Ran locally against v0.20.0 tag for serving/eventing repos, seems to be
working fine.
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
* re-run api reference docs generation
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
* remove eventing-contrib
* update gen-crd-api-reference-docs version to fix API build errors
* API docs build for 0.19
* revert API version and add troubleshooting docs
* revert file
* remove whitespace
* Update docs/reference/api/README.md
Co-authored-by: Mike Petersen <mike.petersen@ibm.com>
* add more detail
* and now fix my typo
Co-authored-by: Mike Petersen <mike.petersen@ibm.com>