Commit Graph

78 Commits

Author SHA1 Message Date
Naina Singh c4bb5f9451
changes to add Knative 1.4 docs (#4935) 2022-04-22 21:19:31 +00:00
Carlos Santana a416299816
Add CC BY 4.0 info in footer (#4895)
* 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>
2022-04-04 19:23:43 +00:00
Paul Schweigert bee86d6299
Updates instructions on running mkdocs locally in docker (#4849)
* 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>
2022-03-22 05:28:12 -07:00
Dave Protasowski f366415e3e
drop removeprefix as it's only available in python3.9 (#4843) 2022-03-17 13:56:33 -07:00
Dave Protasowski 01cf0ac167
update macro to lookup point releases for artifacts (#4831)
* 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
2022-03-17 09:13:34 -07:00
Dave Protasowski 479db6c845
update docker image (#4826) 2022-03-15 14:34:59 -07:00
Samia Nneji 534284b350
Update build script for 1.3 release (#4817)
* Update build script for 1.3 release

* Edit
2022-03-15 08:45:03 -07:00
Dave Protasowski 2e241e53fb
use latest api spec from the tip of the branch when building (#4761) 2022-02-17 19:44:34 -08:00
Carlos Santana 20741cdbcc
clean up docker workflow instructions and scripts (#4739)
* 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>
2022-02-16 04:50:40 -08:00
Carlos Santana a3e16fd7c6
Docker instructions (#4733)
* 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>
2022-02-14 17:35:58 -08:00
Carlos Santana a64978b55d
Upgrade material-mkdocs to major version 8 (#4705)
* 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>
2022-02-09 09:16:42 -08:00
Samia Nneji 4d74d00e7b
Update release versions (#4676) 2022-01-28 09:22:47 -08:00
Paul Schweigert d4902d2b10
fixes link to client reference (#4638) 2022-01-17 02:14:29 -08:00
Paul Schweigert e9713b12e1
Build client docs (#4623)
* build kn docs

* navigation tweaks

* link to github version of kn docs

* removing unneeded envvar

* removing go

* style
2022-01-13 05:00:12 -08:00
Paul Schweigert aea730e2aa
Fix 1.0 banner again (#4601)
* strip out 'knative-' from KNATIVE_VERSION

* fixing versioning in yaml artifacts for 1.0+
2021-12-17 08:40:18 -08:00
Carlos Santana b4085b9db0
fix v1.0 yaml files urls (#4592)
Signed-off-by: Carlos Santana <csantana23@gmail.com>
2021-12-16 13:29:17 -08:00
Carlos Santana 2700e01591
fixing v1.1 yaml files for knative version (#4591)
* 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>
2021-12-16 12:51:18 -08:00
Carlos Santana b07e6097bc
cut docs for knative v.1.1 (#4590)
Signed-off-by: Carlos Santana <csantana23@gmail.com>
2021-12-16 11:45:17 -08:00
Carlos Santana cf91040c01
Remove-hugo-community (#4571)
* 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>
2021-12-13 23:31:50 -08:00
Gerhard Lazu 1f1d8b0120
Fix all links to nightly releases (#4519)
Nightly (a.k.a. development) releases are published to knative-nightly,
and do not use the org name. This has not changed since 2019-05-17:
09f2b26361/scripts/release.sh (L96)

Thank you @andersonsoares-tomtom for reporting it via
https://github.com/knative/eventing/issues/5930

Fixes knative/eventing#5930

Signed-off-by: Gerhard Lazu <glazu@vmware.com>
2021-11-25 03:26:16 -08:00
kmahapatra 9c97248398
Grammar fix (#4455) 2021-11-09 02:28:43 -08:00
Carlos Santana 050c595185
cut docs for Knative 1.0 GA (#4418)
* 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>
2021-11-02 17:54:40 -04:00
knative-automation c48433293d
Format go code (#4369)
Signed-off-by: Knative Automation <automation@knative.team>
2021-10-28 06:13:26 -07:00
Paul Schweigert 97f8a2cef1
Moving the blog to mkdocs (#4298)
* migrating blog to mkdocs

* automation

* linting

* typo

* rebase

* adding quickstart blog

* toc formatting

* typo
2021-10-05 18:36:44 -07:00
Carlos Santana 947f487b4c
Update build to handle docs release 0.26 (#4291)
* Update build to handle docs release 0.26
Fixes #4275

Signed-off-by: Carlos Santana <csantana23@gmail.com>

* remove archived 0.22 files

Signed-off-by: Carlos Santana <csantana23@gmail.com>

* add knative for REPOS

Signed-off-by: Carlos Santana <csantana23@gmail.com>
2021-09-28 16:57:22 -07:00
Carlos Santana 6f7060b74f
add v0.25 mkdocs, remove v0.21 hugo (#4151)
* 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>
2021-08-24 01:16:23 -07:00
Julian Friedman 1a2b2d42ce
Release 0.24 (#3959) 2021-07-07 09:37:18 -07:00
Julian Friedman a24b819f1c
Add feature stable label macro and document that DomainMapping is beta (#3913)
* Add feature stable label macro

* Put description in expandable section, tweak padding
2021-07-07 05:54:18 -07:00
Julian Friedman 7286bd63de
Incorporate static version of old docs in to site (#3888)
* 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
2021-06-30 11:31:10 -07:00
Julian Friedman 19f96d530d
Use correct version in artefact URLs (#3886) 2021-06-30 07:33:10 -07:00
Julian Friedman 39a1484838
Use correct branch for samples (#3860) 2021-06-29 07:20:17 -07:00
Julian Friedman 94ea8f1382
Add cookie warning to site (#3870)
* 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
2021-06-28 11:13:47 -07:00
Julian Friedman 40a792a1e1
Pull in api docs in build (#3832) 2021-06-22 16:08:44 -07:00
Julian Friedman 54f02d183b
Generate Golang vanity URL redirects (#3806)
Moves tools/redir-gen from website to docs so we can do all the
generation here. Modifies the build script to add generated redirects to
the output.
2021-06-15 13:39:21 -07:00
Carlos Santana b5bb37488a
add docker development workflow (#3738)
* add docker development workflow

Signed-off-by: Carlos Santana <csantana23@gmail.com>

* adding pesky EOL

Signed-off-by: Carlos Santana <csantana23@gmail.com>
2021-06-08 05:43:41 -07:00
Julian Friedman 64555de60d
Fix redirect to cope with query strings (#3683) 2021-05-27 14:54:29 -07:00
Carlos Santana 41d271e187
handle old versions with redirects (#3628)
* 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>
2021-05-21 04:51:18 -07:00
Carlos Santana 7cd941463e
make default version development for now (#3625)
Signed-off-by: Carlos Santana <csantana23@gmail.com>
2021-05-19 15:28:16 -07:00
Carlos Santana b6f2646c50
add pything dep mkdocs-awesome-pages-plugin (#3611)
Signed-off-by: Carlos Santana <csantana23@gmail.com>
2021-05-19 06:10:16 -07:00
Carlos Santana dc908c942e
add correct bin PATH for postcss (#3589)
Signed-off-by: Carlos Santana <csantana23@gmail.com>
2021-05-17 14:00:25 -07:00
Julian Friedman ca829a5ac5
Add branch-based versioning (#3580)
* 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
2021-05-17 11:15:39 -07:00
Carlos Santana 1bb5886281
Update Github action to build with hugo and mkdocs (#3572)
* 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>
2021-05-13 04:58:48 -07:00
Julian Friedman 67fda06b05
Build blog and community with hugo (#3558)
* Build blog and community with hugo

* Use http-server instead of serve

* Add package.json and ignore temp
2021-05-12 14:05:48 -07:00
Carlos Santana 5e9b4024ff
add gh-action to deploy mkdocs to gh-pages (#3557)
* 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>
2021-05-12 13:09:47 -07:00
Julian Friedman 61b8c3f91e
Move mkdocs work over from julz/mkdocs branch (#3551)
* 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
2021-05-11 05:58:46 -07:00
Ville Aikas f166c16ead
Fix issue 3489 (update docs after tools move from eventing-contrib repo to eventing repo) (#3492)
* checkpoint if I get the seds wrong

* remove cruft

* moar

* that should be it
2021-04-27 12:37:53 -07:00
Julian Friedman 1002b9c1b0
Fix API doc generator to properly link to duck, networking (#3479)
* 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
2021-04-19 15:08:00 -07:00
Kenjiro Nakayama 2021308442
Drop net-istio dependencies (#3465)
* Use istioctl install instead of net-istio's script

* Run hack/update-deps.sh
2021-04-19 10:44:00 -07:00
Markus Thömmes c8b51931ed
Drop unnecessary occurrences of master (#3333) 2021-03-11 05:08:26 -08:00
Kenjiro Nakayama 8a4b4e8988
Fix CI issue by pulling download-istio.sh (#3182) 2021-01-27 17:35:31 -08:00