rename mkdocs branch to main (#4236)

Signed-off-by: Carlos Santana <csantana23@gmail.com>
This commit is contained in:
Carlos Santana 2021-09-15 12:43:09 -04:00 committed by GitHub
parent 8f742c9f48
commit f6e4fbe6ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 16 additions and 16 deletions

View File

@ -19,7 +19,7 @@ name: Boilerplate
on:
pull_request:
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
branches: [ 'main', 'master', 'release-*' ]
jobs:

View File

@ -19,7 +19,7 @@ name: Do Not Submit
on:
pull_request:
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
branches: [ 'main', 'master', 'release-*' ]
jobs:

View File

@ -19,7 +19,7 @@ name: Build
on:
pull_request:
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
branches: [ 'main', 'master', 'release-*' ]
jobs:

View File

@ -20,10 +20,10 @@ name: Test
on:
push:
branches: [ 'main', 'master', 'mkdocs' ]
branches: [ 'main', 'master' ]
pull_request:
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
branches: [ 'main', 'master', 'release-*' ]
jobs:

View File

@ -19,10 +19,10 @@ name: 'Security'
on:
push:
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
branches: [ 'main', 'master', 'release-*' ]
pull_request:
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
branches: [ 'main', 'master', 'release-*' ]
jobs:
analyze:

View File

@ -19,7 +19,7 @@ name: Code Style
on:
pull_request:
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
branches: [ 'main', 'master', 'release-*' ]
jobs:
@ -169,7 +169,7 @@ jobs:
echo '::group:: Flagging trailing whitespace with reviewdog 🐶 ...'
# Don't fail because of grep
set +o pipefail
# Exclude generated and vendored files, plus some legacy
# paths until we update all .gitattributes
git ls-files |

View File

@ -19,7 +19,7 @@ name: Verify
on:
pull_request:
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
branches: [ 'main', 'master', 'release-*' ]
jobs:

View File

@ -19,7 +19,7 @@ name: Knative Verify
on:
pull_request:
branches: [ 'mkdocs', 'release-*' ]
branches: [ 'main', 'release-*' ]
jobs:

View File

@ -38,5 +38,5 @@ If you notice gaps in the style guide or have queries, please post in [the Docs
- [Formatting standard and conventions](style-guide/style-and-formatting.md)
- [Voice and language](style-guide/voice-and-language.md)
- [Word and phrase list](style-guide/word-and-phrase-list.md)
- [Content re-use](https://github.com/knative/docs/tree/mkdocs/docs/snippets)
- [Content re-use](https://github.com/knative/docs/tree/main/docs/snippets)
- [Using shortcodes (TBD)]()

View File

@ -1 +1 @@
[https://github.com/knative/docs/tree/mkdocs](https://github.com/knative/docs/tree/mkdocs)
[https://github.com/knative/docs/tree/main](https://github.com/knative/docs/tree/main)

View File

@ -1,4 +1,4 @@
<html><head>
<meta name="go-import" content="knative.dev/docs git https://github.com/knative/docs">
<meta name="go-source" content="knative.dev/docs https://github.com/knative/docs https://github.com/knative/docs/tree/mkdocs{/dir} https://github.com/knative/docs/blob/mkdocs{/dir}/{file}#L{line}">
<meta name="go-source" content="knative.dev/docs https://github.com/knative/docs https://github.com/knative/docs/tree/main{/dir} https://github.com/knative/docs/blob/main{/dir}/{file}#L{line}">
</head></html>

View File

@ -7,7 +7,7 @@ extra_css:
- stylesheets/extra.css
repo_url: https://github.com/knative/docs
edit_uri: edit/mkdocs/docs
edit_uri: edit/main/docs
theme:
name: material
@ -80,7 +80,7 @@ extra:
# TODO: Replace with https://github.com/mkdocs/mkdocs/pull/2267 once mkdocs 1.2 is out.
version_warning: !!python/object/apply:os.getenv ["VERSION_WARNING"]
knative_version: !!python/object/apply:os.getenv ["KNATIVE_VERSION"]
branch: !!python/object/apply:os.getenv ["SAMPLES_BRANCH", "mkdocs"]
branch: !!python/object/apply:os.getenv ["SAMPLES_BRANCH", "main"]
analytics:
provider: google
property: G-YRMNFYE32R