Skip to content

Commit c0a182b

Browse files
authored
Merge pull request #4015 from dapr/1.7_versions_navbar
[Endgame] Remove *old* versions from 1.7 navbar
2 parents 4214bf5 + f425d32 commit c0a182b

File tree

2 files changed

+17
-38
lines changed

2 files changed

+17
-38
lines changed

.github/workflows/website-v1-7.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: cd daprdocs && git submodule update --init --recursive && sudo npm install -D --save autoprefixer && sudo npm install -D --save postcss-cli
2424
- name: Build And Deploy
2525
id: builddeploy
26-
uses: Azure/static-web-apps-deploy@v0.0.1-preview
26+
uses: Azure/static-web-apps-deploy@v1
2727
env:
2828
HUGO_ENV: production
2929
HUGO_VERSION: "0.100.2"
@@ -37,7 +37,7 @@ jobs:
3737
app_location: "/daprdocs" # App source code path
3838
api_location: "api" # Api source code path - optional
3939
output_location: "public" # Built app content directory - optional
40-
app_build_command: "hugo"
40+
app_build_command: "git config --global --add safe.directory /github/workspace && hugo"
4141
###### End of Repository/Build Configurations ######
4242

4343
close_pull_request_job:

daprdocs/config.toml

+15-36
Original file line numberDiff line numberDiff line change
@@ -169,48 +169,27 @@ archived_version = true
169169
url_latest_version = "https://docs.dapr.io"
170170

171171
[[params.versions]]
172-
version = "v1.9 (preview)"
173-
url = "https://v1-9.docs.dapr.io"
174-
[[params.versions]]
175-
version = "v1.8 (latest)"
176-
url = "https://docs.dapr.io"
177-
[[params.versions]]
178-
version = "v1.7"
179-
url = "https://v1-7.docs.dapr.io"
180-
[[params.versions]]
181-
version = "v1.6"
182-
url = "https://v1-6.docs.dapr.io"
183-
[[params.versions]]
184-
version = "v1.5"
185-
url = "https://v1-5.docs.dapr.io"
172+
version = "v1.13 (preview)"
173+
url = "https://v1-13.docs.dapr.io"
186174
[[params.versions]]
187-
version = "v1.4"
188-
url = "https://v1-4.docs.dapr.io"
175+
version = "v1.12 (latest)"
176+
url = "#"
189177
[[params.versions]]
190-
version = "v1.3"
191-
url = "https://v1-3.docs.dapr.io"
178+
version = "v1.11"
179+
url = "https://v1-11.docs.dapr.io"
192180
[[params.versions]]
193-
version = "v1.2"
194-
url = "https://v1-2.docs.dapr.io"
181+
version = "v1.10"
182+
url = "https://v1-10.docs.dapr.io"
195183
[[params.versions]]
196-
version = "v1.1"
197-
url = "https://v1-1.docs.dapr.io"
198-
[[params.versions]]
199-
version = "v1.0"
200-
url = "https://v1-0.docs.dapr.io"
201-
[[params.versions]]
202-
version = "v0.11"
203-
url = "https://v0-11.docs.dapr.io"
204-
[[params.versions]]
205-
version = "v0.10"
206-
url = "https://github.com/dapr/docs/tree/v0.10.0"
184+
version = "v1.9"
185+
url = "https://v1-9.docs.dapr.io"
207186
[[params.versions]]
208-
version = "v0.9"
209-
url = "https://github.com/dapr/docs/tree/v0.9.0"
187+
version = "v1.8"
188+
url = "https://v1-8.docs.dapr.io"
210189
[[params.versions]]
211-
version = "v0.8"
212-
url = "https://github.com/dapr/docs/tree/v0.8.0"
213-
190+
version = "v1.7"
191+
url = "https://v1-7.docs.dapr.io"
192+
214193
# UI Customization
215194
[params.ui]
216195
sidebar_menu_compact = true

0 commit comments

Comments
 (0)