Skip to content

Commit 2ee178d

Browse files
authored
Merge pull request #4709 from marcduiker/upgrade-hugo-docsy
Upgrade hugo docsy
2 parents 36bb99a + 333e3ed commit 2ee178d

File tree

471 files changed

+9379
-6973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

471 files changed

+9379
-6973
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"ghcr.io/devcontainers/features/hugo:1": {
1212
"extended": true,
13-
"version": "0.100.2"
13+
"version": "0.147.9"
1414
},
1515
"ghcr.io/devcontainers/features/node:1": {
1616
"nodeGypDependencies": true,

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Thank you for helping make the Dapr documentation better!
33
**Please follow this checklist before submitting:**
44
- [ ] Commits are signed with Developer Certificate of Origin (DCO - [learn more](https://docs.dapr.io/contributing/contributing-overview/#developer-certificate-of-origin-signing-your-work))
55
- [ ] [Read the contribution guide](https://docs.dapr.io/contributing/docs-contrib/contributing-docs/)
6-
- [ ] Commands include options for Linux, MacOS, and Windows within codetabs
6+
- [ ] Commands include options for Linux, MacOS, and Windows within tabpane
77
- [ ] New file and folder names are globally unique
88
- [ ] Page references use shortcodes instead of markdown or URL links
99
- [ ] Images use HTML style and have alternative text
10-
- [ ] Places where multiple code/command options are given have codetabs
10+
- [ ] Places where multiple code/command options are given have tabpane
1111

1212
In addition, please fill out the following to help reviewers understand this pull request:
1313

.github/workflows/website-root.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,27 @@ jobs:
2525
HUGO_ENV: production
2626
steps:
2727
- name: Checkout docs repo
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
with:
3030
submodules: true
3131
- name: Setup Node
32-
uses: actions/setup-node@v2
32+
uses: actions/setup-node@v4
3333
with:
34-
node-version: '14'
34+
node-version: '18'
3535
- name: Setup Hugo
36-
uses: peaceiris/actions-hugo@v2.5.0
36+
uses: peaceiris/actions-hugo@v3.0.0
3737
with:
38-
hugo-version: 0.102.3
38+
hugo-version: 0.147.9
3939
extended: true
40-
- name: Setup Docsy
40+
- name: Setup Submodules
4141
run: |
4242
cd daprdocs
4343
git submodule update --init --recursive
44+
cd ..
4445
sudo npm install -D --save autoprefixer
4546
sudo npm install -D --save postcss-cli
4647
- name: Build Hugo Website
4748
run: |
48-
cd daprdocs
4949
git config --global --add safe.directory /github/workspace
5050
if [ $GITHUB_EVENT_NAME == 'pull_request' ]; then
5151
STAGING_URL="https://${SWA_BASE}-${{github.event.number}}.westus2.azurestaticapps.net/"
@@ -93,7 +93,7 @@ jobs:
9393
ALGOLIA_INDEX_NAME: daprdocs
9494
steps:
9595
- name: Checkout docs repo
96-
uses: actions/checkout@v2
96+
uses: actions/checkout@v4
9797
with:
9898
submodules: false
9999
- name: Download Hugo artifacts

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,23 @@ jobs:
1616
runs-on: ubuntu-latest
1717
name: Build and Deploy Job
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
with:
2121
submodules: recursive
2222
fetch-depth: 0
23-
- name: Setup Docsy
24-
run: cd daprdocs && git submodule update --init --recursive && sudo npm install -D --save autoprefixer && sudo npm install -D --save postcss-cli
23+
- name: Setup Submodules
24+
run: |
25+
cd daprdocs
26+
git submodule update --init --recursive
27+
cd ..
28+
sudo npm install -D --save autoprefixer
29+
sudo npm install -D --save postcss-cli
2530
- name: Build And Deploy
2631
id: builddeploy
2732
uses: Azure/static-web-apps-deploy@v1
2833
env:
2934
HUGO_ENV: production
30-
HUGO_VERSION: "0.100.2"
35+
HUGO_VERSION: "0.147.9"
3136
with:
3237
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_15 }}
3338
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
.idea/
44
node_modules/
55
daprdocs/public
6+
public
7+
resources/_gen
68
daprdocs/resources/_gen
79
.venv/
810
.hugo_build.lock

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "daprdocs/themes/docsy"]
2-
path = daprdocs/themes/docsy
3-
url = https://github.com/google/docsy.git
41
[submodule "sdkdocs/python"]
52
path = sdkdocs/python
63
url = https://github.com/dapr/python-sdk.git

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"cSpell.ignoreWords": [
3+
"Dapr",
4+
"tabpane"
5+
],
6+
"cSpell.words": [
7+
"Dapr"
8+
]
9+
}

0 commit comments

Comments
 (0)