Skip to content

Upgrade hugo docsy into 1.16 #4733

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 111 commits into from
Jul 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
4f32042
Update conversation-overview.md
hhunter-ms Feb 27, 2025
3688a1d
Merge pull request #4559 from dapr/hhunter-ms-patch-6
hhunter-ms Feb 27, 2025
b74c247
update python examples for workflow; update conversation quickstart t…
hhunter-ms Feb 28, 2025
0992cd4
Updates latest version to 1.15.1 (#4562)
JoshVanL Feb 28, 2025
fb53445
Revert back to built-in template that includes GA
marcduiker Mar 3, 2025
287cfd7
Merge pull request #4564 from marcduiker/v1.15
hhunter-ms Mar 3, 2025
7c40430
spelling-fix: kubernetes-persisting-scheduler.md (#4566)
jake-engelberg Mar 3, 2025
19f812c
remove 3500, only use as an example in API docs
hhunter-ms Mar 3, 2025
178e0c8
Update kubernetes-persisting-scheduler.md (#4568)
jake-engelberg Mar 3, 2025
ac358cb
Merge branch 'v1.15' into issue_4519
hhunter-ms Mar 4, 2025
b7b273d
Merge pull request #4567 from hhunter-ms/issue_4519
hhunter-ms Mar 4, 2025
12b2f17
Update sidecar.md (#4570)
joneldominic Mar 4, 2025
f4848ae
Update v1.15.1 --> v1.15.2 (#4571)
hhunter-ms Mar 5, 2025
0682cd0
update keys to items for consistency (#4565)
hhunter-ms Mar 6, 2025
418ef7f
update the docs
msfussell Mar 13, 2025
fb8764b
Update multi-app template and arguments annotations for new configura…
antontroshin Mar 13, 2025
449fb9a
Merge branch 'v1.15' into pythondocs
hhunter-ms Mar 17, 2025
b24527e
Merge pull request #4576 from msfussell/pythondocs
hhunter-ms Mar 17, 2025
60d5332
update author and manage workflow how-tos
hhunter-ms Mar 17, 2025
8cbd37a
Merge branch 'v1.15' into issue_4410
hhunter-ms Mar 17, 2025
6e990e4
Added .NET streaming subscription example to pubsub page
WhitWaldo Mar 18, 2025
2be7c99
Added double quotes around .NET in the tabs markup
WhitWaldo Mar 18, 2025
dd0fd38
Merge pull request #4583 from WhitWaldo/net-streaming-subs
hhunter-ms Mar 18, 2025
79d0320
Merge branch 'v1.15' into issue_4410
hhunter-ms Mar 18, 2025
f612ab7
Merge pull request #4563 from hhunter-ms/issue_4410
hhunter-ms Mar 19, 2025
8a29b39
Fixed spelling mistake in secret-scope.md (#4593)
jamespegg Mar 24, 2025
aebf393
Update self-hosted-with-docker.md - make `scheduler` running (#4599)
mathieu-benoit Mar 25, 2025
b421483
Update actors-quickstart.md (#4601)
alicejgibbons Mar 27, 2025
196cf3d
Upped stalebot period from 5 to 30 days (#4610)
WhitWaldo Apr 9, 2025
5435bd4
Added troubleshooting step to resolve port conflicts during `dapr ini…
WhitWaldo Apr 9, 2025
4341935
change application insights example from insights key to connection s…
fabistb Apr 10, 2025
58be5f3
docs: bindings.cron every 15m (#4605)
jfreeland Apr 10, 2025
04c9b58
fix: broken link due to typo (#4604)
thrubovc Apr 12, 2025
f83e3dc
Updated .NET workflow method names (#4586)
WhitWaldo Apr 12, 2025
aa7a115
Update documentation for GCP Secret Manager and Object Store support …
antontroshin Apr 13, 2025
89c3d60
Adds Warning that Actor Reminder Partition is not relevant by default…
JoshVanL Apr 13, 2025
5521405
add conversation API to allow list (#4581)
famarting Apr 13, 2025
2a93678
Added local echo conversation component (#4587)
WhitWaldo Apr 13, 2025
52f4c15
Update conversation_api.md (#4589)
siri-varma Apr 13, 2025
bb573c0
Corrected typo namepsace to namespace (#4613)
mcambal Apr 14, 2025
fcddd67
Fixed typo => "loggings" to "logging" (#4619)
WhitWaldo Apr 21, 2025
44634df
Fixed typo -> "Fleuntd" to "Fluentd" (#4618)
WhitWaldo Apr 21, 2025
3c49608
On the page covering binding inputs (triggers), the text erroneously …
WhitWaldo Apr 21, 2025
1688963
Update kubernetes-production.md (#4616)
joebowbeer Apr 22, 2025
101b026
Added .NET SDK examples to serialization document (#4596)
WhitWaldo Apr 23, 2025
a0027cb
apache ignite description on cassandra (#4630)
rochabr Apr 25, 2025
41ddb27
Updating AKS Cluster creation command (#4632)
rochabr Apr 28, 2025
58ef38f
Argo CD Integration docs (#4629)
rochabr Apr 29, 2025
bfcfaf9
Added tags example (#4635)
adam6878 Apr 29, 2025
69cc52f
v1.15- update supported release versions (#4639)
JoshVanL May 3, 2025
4e38b8c
chore: update stale bot duration to 90D (#4628)
mikeee May 3, 2025
6df81c0
Adds a new component config option for Redis PubSub (#4591)
elena-kolevska May 6, 2025
777a6c6
Update Dapr Slide deck (#4641)
marcduiker May 7, 2025
1952e91
Modified all the C# examples through the configuration document (#4638)
WhitWaldo May 7, 2025
67fc7d3
Fix broken .yml link in conversation-quickstart.md (#4642)
tommygood May 8, 2025
79f25d6
Updated to reflect a modern .NET example for retrieving secrets from …
WhitWaldo May 8, 2025
f4d95a4
Modernized .NET examples for binding inputs and outputs (#4621)
WhitWaldo May 9, 2025
61e23e0
Updated to modernize .NET examples (#4631)
WhitWaldo May 12, 2025
0815bcf
Fix for workflow mgmt api call rendering (#4652)
bibryam May 15, 2025
d476de5
Fix links to durabletask-go: point to dapr org (#4654)
bibryam May 15, 2025
c2119fd
Correcting .NET examples in the workflow docs (#4627)
WhitWaldo May 15, 2025
3b9d892
Modernized the .NET examples for interacting with state in Dapr (#4622)
WhitWaldo May 17, 2025
2172118
Update to v1.15.5 (#4656)
JoshVanL May 24, 2025
46d200e
Update subscription-schema.md (#4658)
joebowbeer May 24, 2025
4638f8f
Update PubSub Raw doc (#4659)
alicejgibbons May 24, 2025
9faf5ae
Azure Application Insights fixes (#4660)
alicejgibbons Jun 3, 2025
8f633fe
style: fix typo in word for conversation api (#4672)
sicoyle Jun 10, 2025
0cd7476
Add workflow slide deck, fix hugo version (#4677)
marcduiker Jun 17, 2025
3d42b52
Add additional behavior of failing App Health Checks - as explained b…
olitomlinson Jun 25, 2025
fa4bac1
Update workflow diagrams (#4682)
marcduiker Jun 26, 2025
eaba73f
Update to latest Hugo version, move Hugo config to yaml, update folde…
marcduiker Jul 2, 2025
4bdf229
Site is working
marcduiker Jul 4, 2025
36bb99a
update developing-applications folder links (#4705)
Arhell Jul 7, 2025
9b7704e
Update md formatting, remove backup files
marcduiker Jul 7, 2025
e6527cf
Keep using old public target. add search back
marcduiker Jul 7, 2025
69f0a59
Add script to update sdk docs
marcduiker Jul 7, 2025
871465f
Update update sdk docs script to be more robust
marcduiker Jul 8, 2025
9ccd3f7
Update LICENSE (#4712)
yaron2 Jul 8, 2025
e02e487
Update GH action versions and Hugo version
marcduiker Jul 8, 2025
cbbe2ba
Update paths and remove unused files
marcduiker Jul 9, 2025
541005f
Update env setup
marcduiker Jul 9, 2025
d3b8b7d
Update submodule refs (#4715)
msfussell Jul 9, 2025
082756c
update sdk do and zh lang submodule refs
marcduiker Jul 10, 2025
cd1b1d9
Add missing tab header values
marcduiker Jul 10, 2025
f5cbb64
Add Dash0 to tracing-overview.md (#4713)
kaspernissen Jul 10, 2025
498319d
Update script to update docs
marcduiker Jul 11, 2025
28a13d1
Updated docs-zh submodule
marcduiker Jul 14, 2025
bdc6431
Update pluggable components for .NET
marcduiker Jul 14, 2025
fe13a1a
docs: update gcp firestore docs (#4723)
nelson-parente Jul 14, 2025
744a381
Merge from v1.15
marcduiker Jul 16, 2025
6e18c16
update python and java submodules
marcduiker Jul 16, 2025
333e3ed
Update submodules
marcduiker Jul 16, 2025
2ee178d
Merge pull request #4709 from marcduiker/upgrade-hugo-docsy
marcduiker Jul 17, 2025
d425aa7
Update app and output locations
marcduiker Jul 17, 2025
f050bd7
Update app and output locations
marcduiker Jul 17, 2025
d0ea447
Downgrade go dependency to be compatible with SWA/Oryx
marcduiker Jul 17, 2025
08315c2
Revert back to correct hugo dependency
marcduiker Jul 17, 2025
9576fc0
The site is already built so revert the app_location folder
marcduiker Jul 17, 2025
3376e0c
Use separate build step to avoid incompatible Hugo version with Oryx
marcduiker Jul 17, 2025
0b6914d
Add Node and Hugo
marcduiker Jul 17, 2025
ccd84a0
Fix baseUrl typo
marcduiker Jul 17, 2025
c44e56b
Merge branch 'v1.16' into upgrade-hugo-docsy
marcduiker Jul 17, 2025
5e7ced6
Update to latest Hugo version, move Hugo config to yaml, update folde…
marcduiker Jul 17, 2025
c74101d
Merge pull request #4734 from marcduiker/upgrade-hugo-docsy
marcduiker Jul 17, 2025
99b86c1
Fix tabpane
marcduiker Jul 17, 2025
6151de9
Fix tabpane shortcode
marcduiker Jul 18, 2025
0ff0dae
Fix Youtube embed style
marcduiker Jul 18, 2025
3344089
Merge pull request #4736 from marcduiker/upgrade-hugo-docsy
marcduiker Jul 18, 2025
0d5f394
Fix footer size
marcduiker Jul 18, 2025
14dc781
Fix nav styling
marcduiker Jul 18, 2025
fde8e60
Merge pull request #4737 from marcduiker/upgrade-hugo-docsy
marcduiker Jul 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"ghcr.io/devcontainers/features/hugo:1": {
"extended": true,
"version": "0.100.2"
"version": "0.147.9"
},
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
Expand Down
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Thank you for helping make the Dapr documentation better!
**Please follow this checklist before submitting:**
- [ ] 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))
- [ ] [Read the contribution guide](https://docs.dapr.io/contributing/docs-contrib/contributing-docs/)
- [ ] Commands include options for Linux, MacOS, and Windows within codetabs
- [ ] Commands include options for Linux, MacOS, and Windows within tabpane
- [ ] New file and folder names are globally unique
- [ ] Page references use shortcodes instead of markdown or URL links
- [ ] Images use HTML style and have alternative text
- [ ] Places where multiple code/command options are given have codetabs
- [ ] Places where multiple code/command options are given have tabpane

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

Expand Down
108 changes: 108 additions & 0 deletions .github/workflows/website-root.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: Azure Static Web App Root

on:
workflow_dispatch:
push:
branches:
- v1.15
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- v1.15

concurrency:
# Cancel the previously triggered build for only PR build.
group: website-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
build_and_deploy_job:
name: Build Hugo Website
if: github.event.action != 'closed'
runs-on: ubuntu-latest
env:
SWA_BASE: 'proud-bay-0e9e0e81e'
HUGO_ENV: production
steps:
- name: Checkout docs repo
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Setup Hugo
uses: peaceiris/[email protected]
with:
hugo-version: 0.147.9
extended: true
- name: Setup Submodules
run: |
cd daprdocs
git submodule update --init --recursive
cd ..
sudo npm install -D --save autoprefixer
sudo npm install -D --save postcss-cli
- name: Build Hugo Website
run: |
git config --global --add safe.directory /github/workspace
if [ $GITHUB_EVENT_NAME == 'pull_request' ]; then
STAGING_URL="https://${SWA_BASE}-${{github.event.number}}.westus2.azurestaticapps.net/"
fi
hugo ${STAGING_URL+-b "$STAGING_URL"}
- name: Deploy docs site
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_BAY_0E9E0E81E }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
app_location: "/daprdocs/public/"
output_location: "/"
skip_app_build: true
skip_deploy_on_missing_secrets: true
- name: Upload Hugo artifacts
uses: actions/upload-artifact@v4
with:
name: hugo_build
path: ./daprdocs/public/
if-no-files-found: error

close_staging_site:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_BAY_0E9E0E81E }}
action: "close"
skip_deploy_on_missing_secrets: true

algolia_index:
name: Index site for Algolia
if: github.event_name == 'push'
needs: ['build_and_deploy_job']
runs-on: ubuntu-latest
env:
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
ALGOLIA_API_WRITE_KEY: ${{ secrets.ALGOLIA_API_WRITE_KEY }}
ALGOLIA_INDEX_NAME: daprdocs
steps:
- name: Checkout docs repo
uses: actions/checkout@v4
with:
submodules: false
- name: Download Hugo artifacts
uses: actions/download-artifact@v3
with:
name: hugo_build
path: site/
- name: Install Python packages
run: |
pip install --upgrade bs4
pip install --upgrade 'algoliasearch>=2.0,<3.0'
- name: Index site
run: python ./.github/scripts/algolia.py ./site
34 changes: 25 additions & 9 deletions .github/workflows/website-v1-16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,45 @@ jobs:
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Docsy
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
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Setup Hugo
uses: peaceiris/[email protected]
with:
hugo-version: 0.147.9
extended: true
- name: Setup Submodules
run: |
cd daprdocs
git submodule update --init --recursive
cd ..
sudo npm install -D --save autoprefixer
sudo npm install -D --save postcss-cli
- name: Build Hugo Website
run: |
git config --global --add safe.directory /github/workspace
hugo
- name: Deploy Website
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
env:
HUGO_ENV: production
HUGO_VERSION: "0.100.2"
HUGO_VERSION: "0.147.9"
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_16 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
skip_deploy_on_missing_secrets: true
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
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: "git config --global --add safe.directory /github/workspace && hugo"
app_location: "/daprdocs/public" # App source code path
output_location: "/" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
.idea/
node_modules/
daprdocs/public
public
resources/_gen
daprdocs/resources/_gen
.venv/
.hugo_build.lock
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "daprdocs/themes/docsy"]
path = daprdocs/themes/docsy
url = https://github.com/google/docsy.git
[submodule "sdkdocs/python"]
path = sdkdocs/python
url = https://github.com/dapr/python-sdk.git
Expand Down
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"cSpell.ignoreWords": [
"Dapr",
"tabpane"
],
"cSpell.words": [
"Dapr"
]
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,16 @@ cd ./daprdocs
git submodule update --init --recursive
```

5. Install npm packages:
1. Navigate back to the repository root and install npm packages:

```sh
cd ..
npm install
```

## Run local server

1. Make sure you're in the `daprdocs` directory
1. Make sure you're in the root of the repository
2. Run

```sh
Expand Down
79 changes: 0 additions & 79 deletions daprdocs/assets/scss/_code.scss

This file was deleted.

Loading
Loading