diff --git a/.github/workflows/website-root.yml b/.github/workflows/website-root.yml index b4bf798f0..10277109f 100644 --- a/.github/workflows/website-root.yml +++ b/.github/workflows/website-root.yml @@ -3,11 +3,11 @@ name: Azure Static Web App Root on: push: branches: - - v1.3 + - v1.4 pull_request: types: [opened, synchronize, reopened, closed] branches: - - v1.3 + - v1.4 jobs: build_and_deploy_job: diff --git a/.github/workflows/website-v1-3.yml b/.github/workflows/website-v1-5.yml similarity index 95% rename from .github/workflows/website-v1-3.yml rename to .github/workflows/website-v1-5.yml index 9ea74b94d..0e030ecd5 100644 --- a/.github/workflows/website-v1-3.yml +++ b/.github/workflows/website-v1-5.yml @@ -1,13 +1,13 @@ -name: Azure Static Web App v1.3 +name: Azure Static Web App v1.4 on: push: branches: - - v1.3 + - v1.5 pull_request: types: [opened, synchronize, reopened, closed] branches: - - v1.3 + - v1.5 jobs: build_and_deploy_job: @@ -27,7 +27,7 @@ jobs: HUGO_ENV: production HUGO_VERSION: "0.74.3" with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_3 }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_5 }} repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) skip_deploy_on_missing_secrets: true action: "upload" @@ -48,6 +48,6 @@ jobs: id: closepullrequest uses: Azure/static-web-apps-deploy@v0.0.1-preview with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_3 }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_5 }} skip_deploy_on_missing_secrets: true action: "close" diff --git a/.gitmodules b/.gitmodules index 440638c4e..6f4e986fb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -20,3 +20,6 @@ [submodule "sdkdocs/java"] path = sdkdocs/java url = https://github.com/dapr/java-sdk.git +[submodule "sdkdocs/js"] + path = sdkdocs/js + url = https://github.com/dapr/js-sdk.git diff --git a/README.md b/README.md index 4cde96448..768ba03c4 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ The following branches are currently maintained: | Branch | Website | Description | |--------|---------|-------------| -| [v1.3](https://github.com/dapr/docs) (primary) | https://docs.dapr.io | Latest Dapr release documentation. Typo fixes, clarifications, and most documentation goes here. -| [v1.4](https://github.com/dapr/docs/tree/v1.4) (pre-release) | https://v1-4.docs.dapr.io/ | Pre-release documentation. Doc updates that are only applicable to v1.4+ go here. +| [v1.4](https://github.com/dapr/docs) (primary) | https://docs.dapr.io | Latest Dapr release documentation. Typo fixes, clarifications, and most documentation goes here. +| [v1.5](https://github.com/dapr/docs/tree/v1.5) (pre-release) | https://v1-5.docs.dapr.io/ | Pre-release documentation. Doc updates that are only applicable to v1.5+ go here. For more information visit the [Dapr branch structure](https://docs.dapr.io/contributing/contributing-docs/#branch-guidance) document. diff --git a/daprdocs/config.toml b/daprdocs/config.toml index a6286e75d..976699036 100644 --- a/daprdocs/config.toml +++ b/daprdocs/config.toml @@ -1,5 +1,5 @@ # Site Configuration -baseURL = "https://docs.dapr.io/" +baseURL = "https://v1-5.docs.dapr.io/" title = "Dapr Docs" theme = "docsy" disableFastRender = true @@ -87,6 +87,14 @@ id = "UA-149338238-3" source = "../sdkdocs/java/daprdocs/content/en/java-sdk-contributing" target = "content/contributing/" lang = "en" + [[module.mounts]] + source = "../sdkdocs/js/daprdocs/content/en/js-sdk-docs" + target = "content/developing-applications/sdks/js" + lang = "en" + [[module.mounts]] + source = "../sdkdocs/js/daprdocs/content/en/js-sdk-contributing" + target = "content/contributing/" + lang = "en" [[module.mounts]] source = "../translations/docs-zh/content/zh-hans" @@ -149,20 +157,23 @@ offlineSearch = false github_repo = "https://github.com/dapr/docs" github_project_repo = "https://github.com/dapr/dapr" github_subdir = "daprdocs" -github_branch = "v1.3" +github_branch = "v1.5" # Versioning -version_menu = "v1.3 (latest)" -version = "v1.3" +version_menu = "v1.5 (preview)" +version = "v1.5" archived_version = false url_latest_version = "https://docs.dapr.io" [[params.versions]] - version = "v1.4 (preview)" - url = "https://v1-4.docs.dapr.io" -[[params.versions]] - version = "v1.3 (latest)" + version = "v1.5 (preview)" url = "#" +[[params.versions]] + version = "v1.4 (latest)" + url = "https://docs.dapr.io" +[[params.versions]] + version = "v1.3" + url = "https://v1-3.docs.dapr.io" [[params.versions]] version = "v1.2" url = "https://v1-2.docs.dapr.io" @@ -190,6 +201,10 @@ url_latest_version = "https://docs.dapr.io" sidebar_menu_compact = true navbar_logo = true sidebar_search_disable = true +[params.ui.feedback] +enable = true +yes = 'Glad to hear it! Please tell us how we can improve.' +no = 'Sorry to hear that. Please tell us how we can improve.' # Links ## End user relevant links. These will show up on left side of footer and in the community page if you have one. diff --git a/daprdocs/content/en/_index.md b/daprdocs/content/en/_index.md index da87a5014..6ca2cff4c 100644 --- a/daprdocs/content/en/_index.md +++ b/daprdocs/content/en/_index.md @@ -3,20 +3,39 @@ type: docs no_list: true --- +
Learn how to get up and running with Dapr in your preferred integrated development environment.
+Create Dapr applications in your preferred language using the Dapr SDKs.
-Was this page helpful?
+ + ++ {{ .yes | safeHTML }} +
++ {{ .no | safeHTML }} +
+