diff --git a/daprdocs/config.toml b/daprdocs/config.toml index 8620a74fecd..fc4612e81c1 100644 --- a/daprdocs/config.toml +++ b/daprdocs/config.toml @@ -167,6 +167,7 @@ version_menu = "v1.8" version = "v1.8" archived_version = true url_latest_version = "https://docs.dapr.io" +allow_search_indexing = false [[params.versions]] version = "v1.10 (preview)" diff --git a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-nats-streaming.md b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-nats-streaming.md index 553d0bada84..8dbd803abad 100644 --- a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-nats-streaming.md +++ b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-nats-streaming.md @@ -66,9 +66,9 @@ NATS Streaming has been [deprecated](https://github.com/nats-io/nats-streaming-s | natsURL | Y | NATS server address URL | "`nats://localhost:4222`"| | natsStreamingClusterID | Y | NATS cluster ID |`"clusterId"`| | subscriptionType | Y | Subscription type. Allowed values `"topic"`, `"queue"` | `"topic"` | -| ackWaitTime | N | See [here](https://docs.nats.io/developing-with-nats-streaming/acks#acknowledgements) | `"300ms"`| -| maxInFlight | N | See [here](https://docs.nats.io/developing-with-nats-streaming/acks#acknowledgements) | `"25"` | -| durableSubscriptionName | N | [Durable subscriptions](https://docs.nats.io/developing-with-nats-streaming/durables) identification name. | `"my-durable"`| +| ackWaitTime | N | See [here](https://nats-io.gitbook.io/legacy-nats-docs/nats-streaming-server-aka-stan/developing-with-stan/acknowledgements) | `"300ms"`| +| maxInFlight | N | See [here](https://nats-io.gitbook.io/legacy-nats-docs/nats-streaming-server-aka-stan/developing-with-stan/acknowledgements) | `"25"` | +| durableSubscriptionName | N | [Durable subscriptions](https://nats-io.gitbook.io/legacy-nats-docs/nats-streaming-server-aka-stan/developing-with-stan/durable-subscriptions) identification name. | `"my-durable"`| | deliverNew | N | Subscription Options. Only one can be used. Deliver new messages only | `"true"`, `"false"` | | startAtSequence | N | Subscription Options. Only one can be used. Sets the desired start sequence position and state | `"100000"`, `"230420"` | | startWithLastReceived | N | Subscription Options. Only one can be used. Sets the start position to last received. | `"true"`, `"false"` | diff --git a/daprdocs/layouts/partials/head.html b/daprdocs/layouts/partials/head.html new file mode 100644 index 00000000000..60600f151d1 --- /dev/null +++ b/daprdocs/layouts/partials/head.html @@ -0,0 +1,54 @@ + + +{{ hugo.Generator }} +{{ range .AlternativeOutputFormats -}} + +{{ end -}} + +{{ $outputFormat := partial "outputformat.html" . -}} +{{ if and hugo.IsProduction (.Site.Params.allow_search_indexing) (ne $outputFormat "print") -}} + +{{ else -}} + +{{ end -}} + +{{ partialCached "favicons.html" . }} + + {{- if .IsHome -}} + {{ .Site.Title -}} + {{ else -}} + {{ with .Title }}{{ . }} | {{ end -}} + {{ .Site.Title -}} + {{ end -}} + +{{ $desc := .Page.Description | default (.Page.Content | safeHTML | truncate 150) -}} + +{{ template "_internal/opengraph.html" . -}} +{{ template "_internal/schema.html" . -}} +{{ template "_internal/twitter_cards.html" . -}} +{{ partialCached "head-css.html" . "asdf" -}} + +{{ if .Site.Params.offlineSearch -}} + +{{ end -}} + +{{ if .Site.Params.prism_syntax_highlighting -}} + +{{ end -}} + +{{ partial "hooks/head-end.html" . -}} + +{{/* To comply with GDPR, cookie consent scripts places in head-end must execute before Google Analytics is enabled */ -}} +{{ if hugo.IsProduction -}} + {{ if hasPrefix .Site.GoogleAnalytics "G-" -}} + {{ template "_internal/google_analytics.html" . -}} + {{ else -}} + {{ template "_internal/google_analytics_async.html" . -}} + {{ end -}} +{{ end -}}