Skip to content

docs: migrate v2 docs -> skaffold.dev and v1 docs -> skaffold-v1.web.app #7966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/docs-v2/cloudbuild-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ steps:
- 'bash'
- '-xc'
- |
deploy/docs-v2/build.sh https://skaffold-v2.firebaseapp.com && cd docs-v2 && firebase deploy --only hosting:release --project $PROJECT_ID
deploy/docs-v2/build.sh https://skaffold.dev && cd docs-v2 && firebase deploy --only hosting:release --project $PROJECT_ID

images: [
'gcr.io/$PROJECT_ID/docs-controller-v2:latest'
Expand Down
2 changes: 1 addition & 1 deletion deploy/docs/cloudbuild-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ steps:
- 'bash'
- '-xc'
- |
deploy/docs/build.sh https://skaffold.dev && cd docs && firebase deploy --only hosting:release --project $PROJECT_ID
deploy/docs/build.sh https://skaffold-v1.web.app && cd docs && firebase deploy --only hosting:release --project $PROJECT_ID

images: [
'gcr.io/$PROJECT_ID/docs-controller:latest'
Expand Down
2 changes: 1 addition & 1 deletion docs-v2/.firebaserc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"k8s-skaffold": {
"hosting": {
"release": [
"skaffold-v2"
"k8s-skaffold"
],
"head": [
"skaffold-v2-latest"
Expand Down
4 changes: 2 additions & 2 deletions docs-v2/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ breadcrumb_disable = false
# Add your release versions here
[[params.versions]]
version = "v1.0"
url = "https://skaffold.dev"
url = "https://skaffold-v1.web.app"

[[params.versions]]
version = "v2.0"
url = "https://skaffold-v2-latest.firebaseapp.com/"
url = "https://skaffold-v2.web.app/"
2 changes: 1 addition & 1 deletion docs/.firebaserc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"k8s-skaffold": {
"hosting": {
"release": [
"k8s-skaffold"
"skaffold-v1"
],
"head": [
"skaffold-latest"
Expand Down
13 changes: 13 additions & 0 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ skaffold_version = "skaffold/v2beta29"
# enabling local search https://www.docsy.dev/docs/adding-content/navigation/#configure-local-search-with-lunr
offlineSearch = true

# Menu title if your navbar has a versions selector to access old versions of your site.
# This menu appears only if you have at least one [params.versions] set.
version_menu = "Versions"

# User interface configuration
[params.ui]
# Enable to show the side bar menu in its compact state.
Expand Down Expand Up @@ -143,3 +147,12 @@ breadcrumb_disable = false
url = "/docs/resources/#community"
icon = "fab fa-slack"
weight = -200

# Add your release versions here
[[params.versions]]
version = "v1.0"
url = "https://skaffold-v1.web.app"

[[params.versions]]
version = "v2.0"
url = "https://skaffold-v2.web.app/"