Commit Graph

66 Commits

Author SHA1 Message Date
Knative Prow Robot 22ee342cf8
[release-1.0] Move community docs onto MkDocs site (#4559)
* Move community docs onto MkDocs site

* Edit about community processes

* Will this fix the tests?

* Add redirects

* Fix broken redirects

* Change folder name and fix samples

* lint

* more lint

* Fix code snippet

* style tweak

* Add signing the CLA as a prereq and update serving issue link

* Capitalization

* Clarify roles

* lint

Co-authored-by: snneji <snneji@vmware.com>
2021-12-13 07:21:19 -08:00
RichardJJG 4a12addcfe
Removed errant ./ instances (#4044) 2021-07-22 07:54:03 -07:00
Julian Friedman d189f7e842
Use bash rather than shell code blocks in community (#3761)
* Use bash rather than shell code blocks in community

* Missed a spot
2021-06-09 10:14:42 -07:00
Julian Friedman b0e9fc5068
Revert changes to community (#3757) 2021-06-09 08:23:42 -07:00
Omer B 5e56c88e45
Issue 3642 finishing up eventing sanity check (#3743)
* Update mkdocs.yml

* Update mkdocs.yml

* Update mkdocs.yml

* bringing back the purple

* Revert "bringing back the purple"

This reverts commit a6af055288.

* Removing reference to GKE-specific docs

* bash, resolving redirect warning for help

* replace all shells with bash across the entire project

* style guide conformance

* index -> readme

* serving link fixes while I'm at it

* fix serving links and redirects

* lint
2021-06-08 05:53:41 -07:00
Omer B bbc3c6bc58
Adding Knative Style Guide, adding barebones help section (#3702)
* Update mkdocs.yml

* Update mkdocs.yml

* Update mkdocs.yml

* Adding help section

* link fix

* index.md -> README, redirect /help -> docs/help

* removing tab for Contributing

* moving community into docs just to see what happens

* moving it back because I came to my sense

* copying in existing style guide from website

* Removing Google Style guide since none of the current main docs contributors are from Google

* Moved existing Style Guide Braindump into MkDocs format

* moved Knative Style Guide

* lint

* adding guidance for K8s YAML

* small nit fix

* removing "just commit whatever" vibes

* Update docs/help/contributor/style-guide/README.md

Co-authored-by: Ashleigh Brennan <abrennan@redhat.com>

* add README for snippets

* bringing back the purple

* Revert "bringing back the purple"

This reverts commit a6af055288.

* addressing feedback for API Objects

* Adding content reuse README

* pushing "run" fixes

* Update documenting-code.md

* Update docs/help/contributor/style-guide/documenting-code.md

Co-authored-by: Ashleigh Brennan <abrennan@redhat.com>

* Update docs/help/contributor/style-guide/documenting-code.md

Co-authored-by: Ashleigh Brennan <abrennan@redhat.com>

* Update docs/help/contributor/style-guide/documenting-code.md

Co-authored-by: Ashleigh Brennan <abrennan@redhat.com>

* make the style guide adhere to the style guide lol

* Update documenting-code.md

* Update documenting-code.md

* adding bit about bash for CLI commands

Co-authored-by: Ashleigh Brennan <abrennan@redhat.com>
2021-06-07 05:54:48 -07:00
Omer B c4580074bd
Merging main into mkdocs, add Beta contributor's guide (hidden) to the website, create `/snippets` directory (#3610)
* change name for menu item for preview (#3533)

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

* Added detail per issue #3425 (#3514)

* Update knative/community files (#3553)

Signed-off-by: Knative Automation <automation@knative.team>

* tracing cm fix (#3506)

* remove unnecessary requrirements to do a release (#3563)

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

* #3543 fix link (#3567)

* Replace xip.io with sslip.io (#3574)

* Update actions (#3535)

Signed-off-by: Knative Automation <automation@knative.team>

* Update common github actions (#3552)

Signed-off-by: Knative Automation <automation@knative.team>

* upgrade to latest dependencies (#3505)

bumping knative.dev/hack 88c69cd...93ad912:
  > 93ad912 Print java and mvn version (# 65)
  > 86f9adc Fix default codegen pkg dir (# 67)

Signed-off-by: Knative Automation <automation@knative.team>

* Remove responsive-revision-gc config (#3545)

Since https://github.com/knative/serving/pull/10084 deleted old GC and
started using responsive GC by default, `responsive-revision-gc` in
`config-feature` is not used at all.

This patch removes the configuration `responsive-revision-gc` in
`config-feature` configmap.

* Fixes #3117 and broken links (#3569)

* Fix #3117 and broken links

* Fix #3117 and broken links

* remove spec folder and redirect page and update links

* remove conflicts

* Update shortcodes.md (#3550)

minor grammar.

* 💄 slight change to ordered delivery guarantees (#3536)

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* Add knative-release-leads to OWNERS (#3586)

* add approvers ux (#3587)

* Update the default value (#3530)

* Adding notes on KafkaSource usage (#3596)

* Adding some Kafka note for use-cases

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* changing the description

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* Update actions (#3581)

Signed-off-by: Knative Automation <automation@knative.team>

* Remove python pycache (#3594)

* Use correct setting in ClusterIssue setting (#3595)

The doc uses ClusterIssuer `letsencrypt-http01-issuer` but the configuration uses
`letsencrypt-issuer` so it is confusable.
Actual report is https://github.com/knative/docs/issues/3560.

So this patch changes the ClusterIssuer name to
`letsencrypt-http01-issuer` which is used in this doc section.

Fix https://github.com/knative/docs/issues/3560

* fix broken link #3568 #3577 (#3579)

* fix Netlify build

* Added Snippets folder and hidden Beta Contributor guide

* Update docs/eventing/event-registry.md

Co-authored-by: Carlos Santana <csantana23@gmail.com>

* whitespace

* more whitespace

* removing this bit because linting is killing me

* ok really the last one

Co-authored-by: Carlos Santana <csantana23@gmail.com>
Co-authored-by: RichardJJG <rijohnson@vmware.com>
Co-authored-by: knative-automation <automation@knative.team>
Co-authored-by: Shashankft9 <48708039+Shashankft9@users.noreply.github.com>
Co-authored-by: Ashleigh Brennan <abrennan@redhat.com>
Co-authored-by: Benjamin Tan Wei Hao <benjamintanweihao@gmail.com>
Co-authored-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
Co-authored-by: Jonathan Johnson <jonathan.johnson@dijure.com>
Co-authored-by: Matthias Wessendorf <mwessend@redhat.com>
Co-authored-by: Evan Anderson <evana@vmware.com>
Co-authored-by: RichieEscarez <rescarez@google.com>
Co-authored-by: NovaHe <heqianfly@gmail.com>
2021-05-19 09:18:16 -07:00
Christian Haynes 2a2283ceb5
updated to hyper v0.14.7 and rust v1.51.0 (#3511) 2021-04-30 17:10:56 -07:00
Evan Anderson 73e076f5b1
Move community files to index.md (#3471) 2021-04-19 09:31:07 -07:00
Kevin Moore 807a80b542
Update Dart example for latest stable SDK (#3340) 2021-03-15 15:02:41 -07:00
Katie McLaughlin 1ef6a1de55
Update Rust version and installation commands (#3314) 2021-03-15 14:31:01 -07:00
Markus Thömmes c8b51931ed
Drop unnecessary occurrences of master (#3333) 2021-03-11 05:08:26 -08:00
Evan Anderson 74c867bbf5
New contrib (#3269)
* Moving to asciidoc

* Rewrite contributor documentation

* Emphasize tech writers expertise rather than ascribing motivations to engineers.

Co-authored-by: Scott Nichols <snichols@vmware.com>

* Address @omerbensaadon feedback

* Address @omerbensaadon feedback

* Revert to markdown

* Dumbquotify

* Update CONTRIBUTING.md

Co-authored-by: RichieEscarez <rescarez@google.com>

* Update CONTRIBUTING.md

Co-authored-by: RichieEscarez <rescarez@google.com>

* Update two refs to DOCS-CONTRIBUTING to point to the main contributor docs

Co-authored-by: Scott Nichols <snichols@vmware.com>
Co-authored-by: RichieEscarez <rescarez@google.com>
2021-02-26 12:19:47 -08:00
Murphylu1993 c80d4ab08f
fix typo (#2611)
* fix typo

* fix typo
2020-06-24 10:58:27 -07:00
Murphylu1993 491e87a211
fix typo (#2606) 2020-06-22 08:48:26 -07:00
Evan Anderson 7a51ce8e1a
Add link to Katakoda sample to community samples. (#2502) 2020-05-26 10:54:57 -07:00
Evan Anderson efa607f93e
Add a test for "index.md" frontmatter and fix the repo to match (#2377)
* Add a test for "index.md" frontmatter and fix the repo to match

* Fix trailing whitespace

* Merge and add new required index.md files.

* Clarify error message action needed

* Fix up another new sample

* Fix spacing on error message
2020-05-15 08:41:02 -07:00
Grant Timmerman 39531287d1
fix: revert hello-deno std lib to pre 1.0, see denoland/deno#5267 (#2467)
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
2020-05-13 12:55:57 -07:00
Grant Timmerman 65bbf870f7
Update Deno Syntax to New 1.0 Syntax, (#2457)
* feat: bump deno to 1.0

* fix: update to new deno syntax. Update Dockerfile from steren comments

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

* style: fix whitespace

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
2020-05-13 10:21:58 -07:00
Grant Timmerman d67da61de8
feat: bump deno to 1.0 (#2456) 2020-05-12 17:56:57 -07:00
Grant Timmerman a3b4085f1e
feat: add helloworld-deno (#2444)
* feat: add helloworld-deno

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

* Update community/samples/serving/helloworld-deno/Dockerfile

Co-authored-by: Matt Moore <mattmoor@vmware.com>

* fix: fix deno sample whitespace

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

* fix: use env var for PORT if not specified

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

* fix: deno prefer copy

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

Co-authored-by: Matt Moore <mattmoor@vmware.com>
2020-05-12 16:40:57 -07:00
Evan Anderson b106a5bd4a
Update link to point to website contributing guidelines for now. (#2427) 2020-05-01 07:50:42 -07:00
Bozhao a6960299d4
Add machine learning serving example using python (#2376)
* Add machine learning serving example using python

* Update readme

* update base on comments

* add python bentoml to the sample's list

* Add trailing newline
2020-04-13 09:42:11 -07:00
RichieEscarez 7f3b455ae4
Move Contributing to sub-dir of knative.dev/community (#2086)
* move contrib to community

* use fully qualified knative/community repo urls
2020-01-30 10:36:28 -08:00
dr.max f0f9c58323
added github.com/maximilien/knfun as a Knative client demo sample (#2132) 2020-01-28 15:20:26 -08:00
RichieEscarez a446321306 404 Fixes and Cherry-picks from 0.10 (#2048)
* Secrets use GOOGLE_APPLICATION_CREDENTIALS as key (#1769)

* [DOC] Add alternative shell command to delete knative service  (#1727)

* Update getting-started-knative-app.md

It is very useful when `kservice` are created via API and not with files.

* Delete the word "record" per review.

* Fix typo in microk8s doc (#1912)

* Fix the Subscription's apiVersion in debugging. (#1914)

Fix the Subscription's apiVersion in eventing debugging example.yaml file.

According to the api register in `https://github.com/knative/eventing/tree/master/pkg/apis/messaging`. 
The Subscription Kind should be in messaging.knative.dev/v1alpha1, while the original file is "eventing.knative.dev/v1alpha1".
If apply the original file, the error happened "error: unable to recognize "example.yaml": no matches for kind "Subscription" in version "eventing.knative.dev/v1alpha1""

This update fix this bug.

* minor typo fix (#1932)

* fix small typo in sample READMEs (#1967)

* fix more broken links

* fix broken links

* update old readfile syntax

* revert dynamic var

* link to folder not readfile source

* fix bad markdown

* fix broken titles and links
2019-12-13 15:29:54 -08:00
RichieEscarez a8a1032de0 fix broken links (from link checking report tool testing) (#1975)
* remove missed file

* fix more broken links

* fix markdown only link errors
2019-11-11 19:33:22 -08:00
Matt Moore 1359104439 Drop the manual gateway resolution from samples. (#1846)
This builds on these changes to allow us to drop the manual gateway resolution from our samples:
https://github.com/knative/docs/pull/1839
https://github.com/knative/docs/pull/1840
https://github.com/knative/docs/pull/1841

The expectation is that samples are run in an environment with DNS suitably configured, even if
that is simply `xip.io` for development.
2019-10-02 11:44:07 -07:00
Matt Moore bf0eefc64d Fix a minor typo (#1847) 2019-10-01 09:18:04 -07:00
Nils Schmidt 49ebc27142 Improve gke static ip assign doc (#1821)
* Remove error-prone if branch for ingress gateway name detection<

* Add gke example image of desired external IP address state

* Remove knative-ingressgateway due to versioned docs

* Remove knative-ingressgateway due to versioned docs in whole repo

* Fix indention
2019-09-24 09:57:44 -07:00
Matt Moore 8adb5cbe47 Use v1 everywhere for 0.10 (#1802)
/hold

Need to wait for the docs 0.9 release cut.
2019-09-23 16:02:16 -07:00
Averi Kitsch 89c6b549b4 [samples] R sample with R server (#1777)
* draft

* R plumber sample

* update Readme
2019-09-10 13:27:29 -07:00
Averi Kitsch 2c2d37d58f [docs] Update R sample to use Go (#1676)
* Update R sample to use Go

* Dockerfile updates

* Update ReadMe
2019-08-29 14:25:46 -07:00
RichieEscarez 22f717fd63 make branchnames dynamic (#1667) 2019-08-08 14:32:58 -07:00
Averi Kitsch 1be53a692f Hello World Sample for R (#1664)
* Helloworld R sample

* readme

* actually save the readme

* Update Docker and app

* Update readme release

* Update readme to match code
2019-08-08 12:01:57 -07:00
RichieEscarez e1a90c498b remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
mattmoor-sockpuppet 50ca555d49 Format markdown (#1638)
Produced via:
  `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
/assign @samodell
2019-08-02 07:05:46 -07:00
RichieEscarez 02056e77d3 revert to README.md to prevent index/_index conflict (#1637) 2019-08-01 18:54:45 -07:00
RichieEscarez 9a92f43ca2 Fix rendering issues due to nested shortcodes (#1596)
* Community - move frontmatter into README

* Serving - move frontmatter into README

* swap readfile calls from README.md to index.md

* Eventing - move frontmatter into README
2019-08-01 09:38:43 -07:00
Matt Moore 595c6e86ef Revert the use of Serving v1beta1. (#1545) 2019-06-27 11:06:07 -07:00
mattmoor-sockpuppet 8e20be6848 Format markdown (#1487)
Produced via:
  `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
/assign @samodell
2019-06-19 07:27:59 -07:00
Matt Moore 7ad28abafb Move all serving stuff to v1beta1 apiVersion (#1483)
* Clean up some stragglers to the beta shape.

* Migrate all serving apiVersion to v1beta1.
2019-06-18 15:31:46 -07:00
Dan Gerdesmeier 0cdad17da4 Update community samples to use v1beta1 APIs (#1430)
Replace the use of `runLatest` with `template`.
2019-06-12 10:42:43 -07:00
Matt Moore d1733f7a2c Migrate serving samples away from features disabled in 0.7. (#1439)
Eliminate several samples using JIT Builds.

Stop using `.status.domain` everywhere.

Fixes: #1438
2019-06-10 16:12:42 -07:00
Jonas Finnemann Jensen b31a9bc6f5 Explain upstream ONBUILD instructions (#1410) 2019-06-03 16:35:34 -07:00
mattmoor-sockpuppet bedcd15489 Format markdown (#1364)
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-05-22 07:23:30 -07:00
RichieEscarez ad876253b4 Fix community samples sub menu (#1358)
* missing _index.md + shorttitles

* typo
2019-05-21 11:20:27 -07:00
Graeme Rocher 4d0a8573e3 Add Micronaut Sample (#1199)
* Add Micronaut Sample

* Updated Dockerfile to use AdoptOpenJDK.

* renamed directory

* removed .factorypath

* ignore .factorypath

* removed PORT from Dockerfile
updated `application.yml` to respect port env var, and using a reasonable default

* renamed helloworld-micronaut to helloworld-java-micronaut

* Added frontmatter _index.md, and added link in samples/README.md

* small typo and PR#1202
2019-05-20 06:04:29 -07:00
Himanshu Pandey 793f2f3e12 Removed ENV PORT from all Docker files (#1290)
* Removed ENV PORT from Docker files

* Added back the ENV key
2019-05-13 08:49:40 -07:00
mattmoor-sockpuppet 8d62a0b066 Format markdown (#1288)
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-05-08 14:13:38 -07:00