Skip to content

Commit b2fdd34

Browse files
marcduikerhhunter-msJoshVanLjake-engelbergjoneldominic
authored
Upgrade hugo docsy into 1.16 (#4733)
* Update conversation-overview.md fix todo Signed-off-by: Hannah Hunter <[email protected]> * update python examples for workflow; update conversation quickstart to python sdk Signed-off-by: Hannah Hunter <[email protected]> * Updates latest version to 1.15.1 (#4562) Also marks all `v1.12.x` releases to not-supported. We only support N-2 versions, where N is the latest version. Signed-off-by: joshvanl <[email protected]> * Revert back to built-in template that includes GA Signed-off-by: Marc Duiker <[email protected]> * spelling-fix: kubernetes-persisting-scheduler.md (#4566) instalation -> installation Signed-off-by: Jake Engelberg <[email protected]> * remove 3500, only use as an example in API docs Signed-off-by: Hannah Hunter <[email protected]> * Update kubernetes-persisting-scheduler.md (#4568) dapr / PVC uninstall specifics, about how a manual deletion of PVCs is required to define a new volume. Signed-off-by: Jake Engelberg <[email protected]> * Update sidecar.md (#4570) Add missing sample argument for Dapr sidecar app port config sample Signed-off-by: Jonel Dominic Tapang <[email protected]> Co-authored-by: Hannah Hunter <[email protected]> * Update v1.15.1 --> v1.15.2 (#4571) * update patch version to latest Signed-off-by: Hannah Hunter <[email protected]> * update shortcode Signed-off-by: Hannah Hunter <[email protected]> --------- Signed-off-by: Hannah Hunter <[email protected]> * update keys to items for consistency (#4565) Signed-off-by: Hannah Hunter <[email protected]> * update the docs Signed-off-by: msfussell <[email protected]> * Update multi-app template and arguments annotations for new configuration options (#4573) Signed-off-by: Anton Troshin <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * update author and manage workflow how-tos Signed-off-by: Hannah Hunter <[email protected]> * Added .NET streaming subscription example to pubsub page Signed-off-by: Whit Waldo <[email protected]> * Added double quotes around .NET in the tabs markup Signed-off-by: Whit Waldo <[email protected]> * Fixed spelling mistake in secret-scope.md (#4593) "Scop" fixed to "Scope" Signed-off-by: James Pegg <[email protected]> * Update self-hosted-with-docker.md - make `scheduler` running (#4599) * Update self-hosted-with-docker.md - make scheduler running Signed-off-by: Mathieu Benoit <[email protected]> * Update self-hosted-with-docker.md - --scheduler-host-address Signed-off-by: Mathieu Benoit <[email protected]> * Update self-hosted-with-docker.md - Use smaller container images for placement and scheduler Signed-off-by: Mathieu Benoit <[email protected]> --------- Signed-off-by: Mathieu Benoit <[email protected]> * Update actors-quickstart.md (#4601) Update to .NET 8 runtime Signed-off-by: Alice Gibbons <[email protected]> * Upped stalebot period from 5 to 30 days (#4610) Signed-off-by: Whit Waldo <[email protected]> * Added troubleshooting step to resolve port conflicts during `dapr init` on Windows (#4602) Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * change application insights example from insights key to connection string (#4598) Signed-off-by: fabistb <[email protected]> Co-authored-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * docs: bindings.cron every 15m (#4605) Signed-off-by: Joey Freeland <[email protected]> Co-authored-by: Mark Fussell <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> * fix: broken link due to typo (#4604) Signed-off-by: thrubovc <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Updated .NET workflow method names (#4586) * Updated .NET workflow method names Signed-off-by: Whit Waldo <[email protected]> * Fixed incorrect .NET method name for purging workflow instances Signed-off-by: Whit Waldo <[email protected]> --------- Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Update documentation for GCP Secret Manager and Object Store support of implicit authentication (#4592) Signed-off-by: Anton Troshin <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Adds Warning that Actor Reminder Partition is not relevant by default (#4561) * Adds Warning that Actor Reminder Partition is not relevant by default Updates the Actor Reminder Partition config page with a Warning that the feature is only relevant when using state store Actor Reminders which are no longer used by default. De-references this page from the actor rutime config page to softly hide it. Updates some verbiage around using Scheduler reminders & the feature gate as it's on by default. This should be merged in dapr/[email protected]. Signed-off-by: joshvanl <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/actors/howto-actors-partitioning.md Signed-off-by: Mark Fussell <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/actors/howto-actors-partitioning.md Signed-off-by: Mark Fussell <[email protected]> * Update kubernetes-persisting-scheduler.md Co-authored-by: Cassie Coyle <[email protected]> Signed-off-by: Josh van Leeuwen <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/actors/howto-actors-partitioning.md Signed-off-by: Mark Fussell <[email protected]> --------- Signed-off-by: joshvanl <[email protected]> Signed-off-by: Mark Fussell <[email protected]> Signed-off-by: Josh van Leeuwen <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Co-authored-by: Hannah Hunter <[email protected]> Co-authored-by: Mark Fussell <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> * add conversation API to allow list (#4581) Signed-off-by: Fabian Martinez <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Added local echo conversation component (#4587) * Added local echo conversation component Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/reference/components-reference/supported-conversation/local-echo.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update local-echo.md Fixed repeated text Signed-off-by: Mark Fussell <[email protected]> * Update generic.yaml Marking Echo stable, since it is only used for local testing Signed-off-by: Mark Fussell <[email protected]> --------- Signed-off-by: Whit Waldo <[email protected]> Signed-off-by: Mark Fussell <[email protected]> Co-authored-by: Alice Gibbons <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Update conversation_api.md (#4589) Signed-off-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Corrected typo namepsace to namespace (#4613) Signed-off-by: Martin Cambal <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Fixed typo => "loggings" to "logging" (#4619) Signed-off-by: Whit Waldo <[email protected]> * Fixed typo -> "Fleuntd" to "Fluentd" (#4618) Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * On the page covering binding inputs (triggers), the text erroneously suggested that the following examples demonstrated output bindings. (#4620) Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Update kubernetes-production.md (#4616) Signed-off-by: Joe Bowbeer <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Added .NET SDK examples to serialization document (#4596) * Added .NET SDK examples to serialization document + modernized it some Signed-off-by: Whit Waldo <[email protected]> * Update sdk-serialization.md Updated formatting and grammar Signed-off-by: Mark Fussell <[email protected]> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Updated serialization package links + added reference to actor serialization documentation Signed-off-by: Whit Waldo <[email protected]> * Added input binding examples for .NET Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Signed-off-by: Mark Fussell <[email protected]> * Updated to use the correct method for service invocation Signed-off-by: Whit Waldo <[email protected]> --------- Signed-off-by: Whit Waldo <[email protected]> Signed-off-by: Mark Fussell <[email protected]> Co-authored-by: Mark Fussell <[email protected]> Co-authored-by: Alice Gibbons <[email protected]> * apache ignite description on cassandra (#4630) Signed-off-by: Fernando Rocha <[email protected]> * Updating AKS Cluster creation command (#4632) * updating aks cluster creation command Signed-off-by: Fernando Rocha <[email protected]> * adding missing space Signed-off-by: Fernando Rocha <[email protected]> --------- Signed-off-by: Fernando Rocha <[email protected]> * Argo CD Integration docs (#4629) * Argo CD Integration docs Signed-off-by: Fernando Rocha <[email protected]> * page weight Signed-off-by: Fernando Rocha <[email protected]> * Update daprdocs/content/en/developing-applications/integrations/argo-cd.md Signed-off-by: Mark Fussell <[email protected]> * Update daprdocs/content/en/developing-applications/integrations/argo-cd.md Signed-off-by: Mark Fussell <[email protected]> * Update daprdocs/content/en/developing-applications/integrations/argo-cd.md Signed-off-by: Mark Fussell <[email protected]> * Update daprdocs/content/en/developing-applications/integrations/argo-cd.md Signed-off-by: Mark Fussell <[email protected]> --------- Signed-off-by: Fernando Rocha <[email protected]> Signed-off-by: Mark Fussell <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Added tags example (#4635) Signed-off-by: adam6878 <[email protected]> * v1.15- update supported release versions (#4639) Signed-off-by: joshvanl <[email protected]> * chore: update stale bot duration to 90D (#4628) Signed-off-by: Mike Nguyen <[email protected]> Co-authored-by: Mark Fussell <[email protected]> Co-authored-by: Nelson Parente <[email protected]> * Adds a new component config option for Redis PubSub (#4591) * Adds a new component config option for Redis PubSub Signed-off-by: Elena Kolevska <[email protected]> * Updates for dynamic ttl Signed-off-by: Elena Kolevska <[email protected]> --------- Signed-off-by: Elena Kolevska <[email protected]> Co-authored-by: Whit Waldo <[email protected]> Co-authored-by: Nelson Parente <[email protected]> * Update Dapr Slide deck (#4641) Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Modified all the C# examples through the configuration document (#4638) Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Fix broken .yml link in conversation-quickstart.md (#4642) Corrected the file extension in the documentation link from .yml to .yaml to fix a broken link. Replaced: https://github.com/dapr/quickstarts/tree/master/conversation/components/conversation.yml with: https://github.com/dapr/quickstarts/tree/master/conversation/components/conversation.yaml Signed-off-by: tommygood <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Updated to reflect a modern .NET example for retrieving secrets from Dapr Secret Management (#4636) Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Modernized .NET examples for binding inputs and outputs (#4621) * Modernized .NET example to include modern syntax for controller example and add a minimal API version for completeness Signed-off-by: Whit Waldo <[email protected]> * Removed //dependencies text as no one does this Signed-off-by: Whit Waldo <[email protected]> * Modernized example for binding outputs in .NET Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/bindings/howto-bindings.md Co-authored-by: Mark Fussell <[email protected]> Signed-off-by: Whit Waldo <[email protected]> --------- Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Updated to modernize .NET examples (#4631) Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Fix for workflow mgmt api call rendering (#4652) Signed-off-by: Bilgin Ibryam <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Fix links to durabletask-go: point to dapr org (#4654) Signed-off-by: Bilgin Ibryam <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Correcting .NET examples in the workflow docs (#4627) Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Modernized the .NET examples for interacting with state in Dapr (#4622) * Modernized the .NET examples for interacting with state in Dapr Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/state-management/howto-get-save-state.md Co-authored-by: Mark Fussell <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/state-management/howto-get-save-state.md Co-authored-by: Mark Fussell <[email protected]> Signed-off-by: Whit Waldo <[email protected]> --------- Signed-off-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Update to v1.15.5 (#4656) * dapr-latest-version.html: update to v1.15.4 Signed-off-by: joshvanl <[email protected]> * Update release to 1.15.5 Signed-off-by: joshvanl <[email protected]> * Update daprdocs/content/en/operations/support/support-release-policy.md Signed-off-by: Mark Fussell <[email protected]> --------- Signed-off-by: joshvanl <[email protected]> Signed-off-by: Mark Fussell <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Update subscription-schema.md (#4658) Signed-off-by: Joe Bowbeer <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Update PubSub Raw doc (#4659) * Update pubsub-raw.md Updating Raw PubSub doc to be more specific about content type and delivery details. Signed-off-by: Alice Gibbons <[email protected]> * Update daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md Signed-off-by: Mark Fussell <[email protected]> --------- Signed-off-by: Alice Gibbons <[email protected]> Signed-off-by: Mark Fussell <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Azure Application Insights fixes (#4660) Signed-off-by: Alice Gibbons <[email protected]> * style: fix typo in word for conversation api (#4672) Signed-off-by: Samantha Coyle <[email protected]> * Add workflow slide deck, fix hugo version (#4677) Signed-off-by: Marc Duiker <[email protected]> * Add additional behavior of failing App Health Checks - as explained by @JoshVanL (#4667) Signed-off-by: Oliver Tomlinson <[email protected]> Co-authored-by: Marc Duiker <[email protected]> * Update workflow diagrams (#4682) * Update workflow pattern diagrams Signed-off-by: Marc Duiker <[email protected]> * Update workflow diagrams to new style Signed-off-by: Marc Duiker <[email protected]> * Update diagrams Signed-off-by: Marc Duiker <[email protected]> * Update workflow k8s diagram Signed-off-by: Marc Duiker <[email protected]> --------- Signed-off-by: Marc Duiker <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Update to latest Hugo version, move Hugo config to yaml, update folder structure, update partials. Signed-off-by: Marc Duiker <[email protected]> * Site is working Signed-off-by: Marc Duiker <[email protected]> * update developing-applications folder links (#4705) Signed-off-by: Arhell <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Update md formatting, remove backup files Signed-off-by: Marc Duiker <[email protected]> * Keep using old public target. add search back Signed-off-by: Marc Duiker <[email protected]> * Add script to update sdk docs Signed-off-by: Marc Duiker <[email protected]> * Update update sdk docs script to be more robust Signed-off-by: Marc Duiker <[email protected]> * Update LICENSE (#4712) Updates license to Apache 2.0 Signed-off-by: Yaron Schneider <[email protected]> * Update GH action versions and Hugo version Signed-off-by: Marc Duiker <[email protected]> * Update paths and remove unused files Signed-off-by: Marc Duiker <[email protected]> * Update env setup Signed-off-by: Marc Duiker <[email protected]> * Update submodule refs (#4715) * update sdk do and zh lang submodule refs Signed-off-by: Marc Duiker <[email protected]> * Add missing tab header values Signed-off-by: Marc Duiker <[email protected]> * Add Dash0 to tracing-overview.md (#4713) This PR adds Dash0 to the list of supported OTEL observability tools. Signed-off-by: Kasper Borg Nissen <[email protected]> Co-authored-by: Mark Fussell <[email protected]> * Update script to update docs Signed-off-by: Marc Duiker <[email protected]> * Updated docs-zh submodule Signed-off-by: Marc Duiker <[email protected]> * Update pluggable components for .NET Signed-off-by: Marc Duiker <[email protected]> * docs: update gcp firestore docs (#4723) Signed-off-by: nelson.parente <[email protected]> * update python and java submodules Signed-off-by: Marc Duiker <[email protected]> * Update submodules Signed-off-by: Marc Duiker <[email protected]> * Update app and output locations Signed-off-by: Marc Duiker <[email protected]> * Update app and output locations Signed-off-by: Marc Duiker <[email protected]> * Downgrade go dependency to be compatible with SWA/Oryx Signed-off-by: Marc Duiker <[email protected]> * Revert back to correct hugo dependency Signed-off-by: Marc Duiker <[email protected]> * The site is already built so revert the app_location folder Signed-off-by: Marc Duiker <[email protected]> * Use separate build step to avoid incompatible Hugo version with Oryx Signed-off-by: Marc Duiker <[email protected]> * Add Node and Hugo Signed-off-by: Marc Duiker <[email protected]> * Fix baseUrl typo Signed-off-by: Marc Duiker <[email protected]> * Update to latest Hugo version, move Hugo config to yaml, update folder structure, update partials. Signed-off-by: Marc Duiker <[email protected]> * Fix tabpane Signed-off-by: Marc Duiker <[email protected]> * Fix tabpane shortcode Signed-off-by: Marc Duiker <[email protected]> * Fix Youtube embed style Signed-off-by: Marc Duiker <[email protected]> * Fix footer size Signed-off-by: Marc Duiker <[email protected]> * Fix nav styling Signed-off-by: Marc Duiker <[email protected]> --------- Signed-off-by: Hannah Hunter <[email protected]> Signed-off-by: Hannah Hunter <[email protected]> Signed-off-by: joshvanl <[email protected]> Signed-off-by: Marc Duiker <[email protected]> Signed-off-by: Jake Engelberg <[email protected]> Signed-off-by: Jonel Dominic Tapang <[email protected]> Signed-off-by: msfussell <[email protected]> Signed-off-by: Anton Troshin <[email protected]> Signed-off-by: Whit Waldo <[email protected]> Signed-off-by: James Pegg <[email protected]> Signed-off-by: Mathieu Benoit <[email protected]> Signed-off-by: Alice Gibbons <[email protected]> Signed-off-by: fabistb <[email protected]> Signed-off-by: Joey Freeland <[email protected]> Signed-off-by: thrubovc <[email protected]> Signed-off-by: Mark Fussell <[email protected]> Signed-off-by: Josh van Leeuwen <[email protected]> Signed-off-by: Fabian Martinez <[email protected]> Signed-off-by: Siri Varma Vegiraju <[email protected]> Signed-off-by: Martin Cambal <[email protected]> Signed-off-by: Joe Bowbeer <[email protected]> Signed-off-by: Fernando Rocha <[email protected]> Signed-off-by: adam6878 <[email protected]> Signed-off-by: Mike Nguyen <[email protected]> Signed-off-by: Elena Kolevska <[email protected]> Signed-off-by: tommygood <[email protected]> Signed-off-by: Bilgin Ibryam <[email protected]> Signed-off-by: Samantha Coyle <[email protected]> Signed-off-by: Oliver Tomlinson <[email protected]> Signed-off-by: Arhell <[email protected]> Signed-off-by: Yaron Schneider <[email protected]> Signed-off-by: Kasper Borg Nissen <[email protected]> Signed-off-by: nelson.parente <[email protected]> Co-authored-by: Hannah Hunter <[email protected]> Co-authored-by: Hannah Hunter <[email protected]> Co-authored-by: Josh van Leeuwen <[email protected]> Co-authored-by: Jake Engelberg <[email protected]> Co-authored-by: Jonel Dominic Tapang <[email protected]> Co-authored-by: msfussell <[email protected]> Co-authored-by: Anton Troshin <[email protected]> Co-authored-by: Whit Waldo <[email protected]> Co-authored-by: James Pegg <[email protected]> Co-authored-by: Mathieu Benoit <[email protected]> Co-authored-by: Alice Gibbons <[email protected]> Co-authored-by: Fabian Steinbach <[email protected]> Co-authored-by: Joey Freeland <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: thrubovc <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: Fabian Martinez <[email protected]> Co-authored-by: Alice Gibbons <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]> Co-authored-by: Martin Cambal <[email protected]> Co-authored-by: Joe Bowbeer <[email protected]> Co-authored-by: Fernando Rocha <[email protected]> Co-authored-by: Adam shamis <[email protected]> Co-authored-by: Mike Nguyen <[email protected]> Co-authored-by: Nelson Parente <[email protected]> Co-authored-by: Elena Kolevska <[email protected]> Co-authored-by: tommygood <[email protected]> Co-authored-by: Bilgin Ibryam <[email protected]> Co-authored-by: Sam <[email protected]> Co-authored-by: Oliver Tomlinson <[email protected]> Co-authored-by: Ihor Sychevskyi <[email protected]> Co-authored-by: Kasper Borg Nissen <[email protected]>
1 parent 53b1f56 commit b2fdd34

File tree

476 files changed

+9404
-6700
lines changed

Some content is hidden

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

476 files changed

+9404
-6700
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: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
name: Azure Static Web App Root
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- v1.15
8+
pull_request:
9+
types: [opened, synchronize, reopened, closed]
10+
branches:
11+
- v1.15
12+
13+
concurrency:
14+
# Cancel the previously triggered build for only PR build.
15+
group: website-${{ github.event.pull_request.number || github.sha }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
build_and_deploy_job:
20+
name: Build Hugo Website
21+
if: github.event.action != 'closed'
22+
runs-on: ubuntu-latest
23+
env:
24+
SWA_BASE: 'proud-bay-0e9e0e81e'
25+
HUGO_ENV: production
26+
steps:
27+
- name: Checkout docs repo
28+
uses: actions/checkout@v4
29+
with:
30+
submodules: true
31+
- name: Setup Node
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: '18'
35+
- name: Setup Hugo
36+
uses: peaceiris/[email protected]
37+
with:
38+
hugo-version: 0.147.9
39+
extended: true
40+
- name: Setup Submodules
41+
run: |
42+
cd daprdocs
43+
git submodule update --init --recursive
44+
cd ..
45+
sudo npm install -D --save autoprefixer
46+
sudo npm install -D --save postcss-cli
47+
- name: Build Hugo Website
48+
run: |
49+
git config --global --add safe.directory /github/workspace
50+
if [ $GITHUB_EVENT_NAME == 'pull_request' ]; then
51+
STAGING_URL="https://${SWA_BASE}-${{github.event.number}}.westus2.azurestaticapps.net/"
52+
fi
53+
hugo ${STAGING_URL+-b "$STAGING_URL"}
54+
- name: Deploy docs site
55+
uses: Azure/static-web-apps-deploy@v1
56+
with:
57+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_BAY_0E9E0E81E }}
58+
repo_token: ${{ secrets.GITHUB_TOKEN }}
59+
action: "upload"
60+
app_location: "/daprdocs/public/"
61+
output_location: "/"
62+
skip_app_build: true
63+
skip_deploy_on_missing_secrets: true
64+
- name: Upload Hugo artifacts
65+
uses: actions/upload-artifact@v4
66+
with:
67+
name: hugo_build
68+
path: ./daprdocs/public/
69+
if-no-files-found: error
70+
71+
close_staging_site:
72+
if: github.event_name == 'pull_request' && github.event.action == 'closed'
73+
runs-on: ubuntu-latest
74+
name: Close Pull Request Job
75+
steps:
76+
- name: Close Pull Request
77+
id: closepullrequest
78+
uses: Azure/static-web-apps-deploy@v1
79+
with:
80+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_BAY_0E9E0E81E }}
81+
action: "close"
82+
skip_deploy_on_missing_secrets: true
83+
84+
algolia_index:
85+
name: Index site for Algolia
86+
if: github.event_name == 'push'
87+
needs: ['build_and_deploy_job']
88+
runs-on: ubuntu-latest
89+
env:
90+
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
91+
ALGOLIA_API_WRITE_KEY: ${{ secrets.ALGOLIA_API_WRITE_KEY }}
92+
ALGOLIA_INDEX_NAME: daprdocs
93+
steps:
94+
- name: Checkout docs repo
95+
uses: actions/checkout@v4
96+
with:
97+
submodules: false
98+
- name: Download Hugo artifacts
99+
uses: actions/download-artifact@v3
100+
with:
101+
name: hugo_build
102+
path: site/
103+
- name: Install Python packages
104+
run: |
105+
pip install --upgrade bs4
106+
pip install --upgrade 'algoliasearch>=2.0,<3.0'
107+
- name: Index site
108+
run: python ./.github/scripts/algolia.py ./site

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

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,45 @@ 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
25-
- name: Build And Deploy
23+
- name: Setup Node
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: '18'
27+
- name: Setup Hugo
28+
uses: peaceiris/[email protected]
29+
with:
30+
hugo-version: 0.147.9
31+
extended: true
32+
- name: Setup Submodules
33+
run: |
34+
cd daprdocs
35+
git submodule update --init --recursive
36+
cd ..
37+
sudo npm install -D --save autoprefixer
38+
sudo npm install -D --save postcss-cli
39+
- name: Build Hugo Website
40+
run: |
41+
git config --global --add safe.directory /github/workspace
42+
hugo
43+
- name: Deploy Website
2644
id: builddeploy
2745
uses: Azure/static-web-apps-deploy@v1
2846
env:
2947
HUGO_ENV: production
30-
HUGO_VERSION: "0.100.2"
48+
HUGO_VERSION: "0.147.9"
3149
with:
3250
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_16 }}
3351
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
3452
skip_deploy_on_missing_secrets: true
3553
action: "upload"
3654
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
3755
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
38-
app_location: "/daprdocs" # App source code path
39-
api_location: "api" # Api source code path - optional
40-
output_location: "public" # Built app content directory - optional
41-
app_build_command: "git config --global --add safe.directory /github/workspace && hugo"
56+
app_location: "/daprdocs/public" # App source code path
57+
output_location: "/" # Built app content directory - optional
4258
###### End of Repository/Build Configurations ######
4359

4460
close_pull_request_job:

.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+
}

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,16 @@ cd ./daprdocs
8080
git submodule update --init --recursive
8181
```
8282

83-
5. Install npm packages:
83+
1. Navigate back to the repository root and install npm packages:
8484

8585
```sh
86+
cd ..
8687
npm install
8788
```
8889

8990
## Run local server
9091

91-
1. Make sure you're in the `daprdocs` directory
92+
1. Make sure you're in the root of the repository
9293
2. Run
9394

9495
```sh

daprdocs/assets/scss/_code.scss

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)