Commit Graph

59 Commits

Author SHA1 Message Date
Dave Protasowski eea675cfa6
drop removeprefix as it's only available in python3.9 (#4844) 2022-03-17 13:49:34 -07:00
Dave Protasowski c443120633
update macro to lookup point releases for artifacts (#4831) (#4839)
* 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 10:28:34 -07:00
Knative Prow Robot dfc61a0ac1
update docker image (#4830)
Co-authored-by: Dave Protasowski <dprotaso@gmail.com>
2022-03-15 14:57:59 -07: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
Dave Protasowski 3399681e4b
Rebase of 3147 (#3188)
* Update serving.md

Saving some work....

* Update serving.md

Fixes #3143

* Update serving.md

fixed linting issues

* turn omer's changes into a patch

* re-run api gen

Co-authored-by: Omer B <obensaadon@vmware.com>
2021-01-25 10:35:55 -08:00
Ahmet Alp Balkan b9d547a641
update gen-api-reference-docs script (#3173)
* 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>
2021-01-19 17:05:53 -08:00
RichieEscarez 0816a3ca90
Knative API docs for v0.20.0 (#3141)
* update API docs for v0.20.0

* remove whitespace -> happy linter
2021-01-13 12:01:20 -08:00
RichieEscarez 40776cc069
Update API build and generate 0.19 API docs (#3043)
* 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>
2020-11-18 14:39:52 -08:00
Scott Nichols 0ff9a4b968
Use knative.dev/hack repo (#2977)
* use the new hack repo for scripts

* use the new hack repo for scripts

* also skip third_party
2020-10-28 13:14:34 -07:00
Kenjiro Nakayama 58c473597c
Fix Istio installation for CI (#2889)
* Import net-istio

* Run hack/update-deps.sh

* Update test/e2e-test.sh

* Fix mistake

* Update go.mod and re-run hack/update-deps.sh
2020-10-06 12:10:01 -05:00
Chi Zhang 73030ef0f0
Switch from dep to go mod (#2718) 2020-08-26 13:58:06 -07:00
Ville Aikas 9db70796af
change all previous versions to generated/kubernetes-api/v1.18 (#2567) 2020-06-09 14:39:32 -07:00
Matt Moore ba6d1eddf5
Add `--upgrade` to `./hack/update-deps.sh` (#2263) 2020-03-02 18:25:52 -08:00
Zhimin Xiang 4d7e1db99e Bump the min k8s version to 1.15 (#2091)
* Bump the min k8s version to 1.15

* add mising docs
2020-01-09 16:32:55 -08:00
Ben Browning 73b89aec62 Adjust API reference docs scripts for knative.dev (#2054)
* Adjust API reference docs scripts for knative.dev

The API reference docs were failing to generate because they didn't
account for the change from github.com/knative/serving to
knative.dev/serving and similar for the eventing and eventing-contrib
repos.

* change to _IMPORT_PATH
2019-12-16 19:49:02 -08:00
RichieEscarez 1397e226d3 eventing-contrib API and consistent file names (#1805) 2019-09-19 13:05:01 -07:00
RichieEscarez 4f76b5e60c partial build and updated api scripts for v0.8 (#1662) 2019-08-08 16:13:59 -07:00
RichieEscarez e1a90c498b remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
chaodaiG 003aca0f76 Use knative.dev/test-infra (#1627) 2019-07-31 09:59:44 -07:00
Ahmet Alp Balkan 56586dbb26 reference: fix api grouping in reference docs (#1561)
This bumps the `gen-crd-api-reference-docs` to v0.1.5 which has two notable
fixes impacting Knative:

1. Prevent types in same apiGroup but different apiVersion (e.g v1beta1 vs
   v1alpha1) from grouped together.
2. De-duplicate the apiGroups list when types belonging to that api group come
   from different Go packages.

Fixes #1559.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-07-01 13:10:19 -07:00
Ahmet Alp Balkan eb734da7cb gen-api-reference-docs: fixes for eventing-contrib (#1552)
This updates to a recent version of gen-crd-api-reference-docs and allows
customizing the -api-dir option so that the docs for theeventing-contrib repo
can be generated.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-06-28 15:17:07 -07:00
RichieEscarez 75c6e88fa8 Clarify "event sources" NOT "Knative eventing sources" (#1535)
* clarify eventing resources (not just sources)

* Update docs/eventing/debugging/README.md

Co-Authored-By: Sam O'Dell <31352624+samodell@users.noreply.github.com>
2019-06-26 15:32:06 -07:00
Scott Nichols 7de9fe79f4 rename knative/eventing-sources to knative/eventing-contrib (#1433)
* rename knative/eventing-sources to knative/eventing-contrib

* revert gcr.io rename until next release.
2019-06-17 16:27:46 -07:00