mirror of https://github.com/knative/docs.git
rename mkdocs branch to main (#4236)
Signed-off-by: Carlos Santana <csantana23@gmail.com>
This commit is contained in:
parent
8f742c9f48
commit
f6e4fbe6ae
|
@ -19,7 +19,7 @@ name: Boilerplate
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
|
||||
branches: [ 'main', 'master', 'release-*' ]
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ name: Do Not Submit
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
|
||||
branches: [ 'main', 'master', 'release-*' ]
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ name: Build
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
|
||||
branches: [ 'main', 'master', 'release-*' ]
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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 |
|
||||
|
|
|
@ -19,7 +19,7 @@ name: Verify
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
|
||||
branches: [ 'main', 'master', 'release-*' ]
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ name: Knative Verify
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ 'mkdocs', 'release-*' ]
|
||||
branches: [ 'main', 'release-*' ]
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
|
@ -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)]()
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue