Skip to content
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

[Endgame] Remove *old* versions from 1.7 navbar #4015

Merged
merged 2 commits into from
Feb 20, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/website-v1-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: cd daprdocs && git submodule update --init --recursive && sudo npm install -D --save autoprefixer && sudo npm install -D --save postcss-cli
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v0.0.1-preview
uses: Azure/static-web-apps-deploy@v1
env:
HUGO_ENV: production
HUGO_VERSION: "0.100.2"
Expand All @@ -37,7 +37,7 @@ jobs:
app_location: "/daprdocs" # App source code path
api_location: "api" # Api source code path - optional
output_location: "public" # Built app content directory - optional
app_build_command: "hugo"
app_build_command: "git config --global --add safe.directory /github/workspace && hugo"
###### End of Repository/Build Configurations ######

close_pull_request_job:
Expand Down
51 changes: 15 additions & 36 deletions daprdocs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -169,48 +169,27 @@ archived_version = true
url_latest_version = "https://docs.dapr.io"

[[params.versions]]
version = "v1.9 (preview)"
url = "https://v1-9.docs.dapr.io"
[[params.versions]]
version = "v1.8 (latest)"
url = "https://docs.dapr.io"
[[params.versions]]
version = "v1.7"
url = "https://v1-7.docs.dapr.io"
[[params.versions]]
version = "v1.6"
url = "https://v1-6.docs.dapr.io"
[[params.versions]]
version = "v1.5"
url = "https://v1-5.docs.dapr.io"
version = "v1.13 (preview)"
url = "https://v1-13.docs.dapr.io"
[[params.versions]]
version = "v1.4"
url = "https://v1-4.docs.dapr.io"
version = "v1.12 (latest)"
url = "#"
[[params.versions]]
version = "v1.3"
url = "https://v1-3.docs.dapr.io"
version = "v1.11"
url = "https://v1-11.docs.dapr.io"
[[params.versions]]
version = "v1.2"
url = "https://v1-2.docs.dapr.io"
version = "v1.10"
url = "https://v1-10.docs.dapr.io"
[[params.versions]]
version = "v1.1"
url = "https://v1-1.docs.dapr.io"
[[params.versions]]
version = "v1.0"
url = "https://v1-0.docs.dapr.io"
[[params.versions]]
version = "v0.11"
url = "https://v0-11.docs.dapr.io"
[[params.versions]]
version = "v0.10"
url = "https://github.com/dapr/docs/tree/v0.10.0"
version = "v1.9"
url = "https://v1-9.docs.dapr.io"
[[params.versions]]
version = "v0.9"
url = "https://github.com/dapr/docs/tree/v0.9.0"
version = "v1.8"
url = "https://v1-8.docs.dapr.io"
[[params.versions]]
version = "v0.8"
url = "https://github.com/dapr/docs/tree/v0.8.0"

version = "v1.7"
url = "https://v1-7.docs.dapr.io"
# UI Customization
[params.ui]
sidebar_menu_compact = true
Expand Down
Loading