Skip to content

Commit 4bdf229

Browse files
committed
Site is working
Signed-off-by: Marc Duiker <[email protected]>
1 parent eaba73f commit 4bdf229

File tree

283 files changed

+46398
-1049
lines changed

Some content is hidden

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

283 files changed

+46398
-1049
lines changed

.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

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"cSpell.ignoreWords": [
3-
"Dapr"
3+
"Dapr",
4+
"tabpane"
45
],
56
"cSpell.words": [
67
"Dapr"

daprdocs/assets/scss/_content.scss

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
> h1 {
1313
font-weight: $font-weight-bold;
1414
margin-bottom: .5rem;
15+
color: $secondary;
1516
}
1617

1718
> h2 {
@@ -64,6 +65,27 @@
6465
@extend .td-max-width-on-larger-screens;
6566
}
6667

68+
a, a:visited {
69+
color: $secondary;
70+
text-decoration: none;;
71+
}
72+
73+
a:hover {
74+
color: $primary;
75+
text-decoration: none;;
76+
}
77+
78+
.alert {
79+
background-color: white;
80+
border-color: $highlight2;
81+
}
82+
83+
a.btn {
84+
background-color: $highlight1;
85+
text-decoration: none;
86+
color: white;
87+
}
88+
6789
.alert:not(:first-child) {
6890
margin-top: 2 * $spacer;
6991
margin-bottom: 2 * $spacer;
@@ -75,11 +97,38 @@
7597
}
7698
}
7799

100+
.text-white a, .text-white a:visited {
101+
color: white;
102+
text-decoration: none;
103+
}
104+
105+
.text-white a:hover {
106+
color: white;
107+
text-decoration: underline;
108+
}
109+
110+
.td-breadcrumbs a, .td-breadcrumbs a:visited {
111+
color: $secondary;
112+
text-decoration: none;
113+
}
114+
115+
.td-breadcrumbs a:hover {
116+
color: $primary;
117+
text-decoration: none;
118+
}
119+
78120
.td-title {
79121
margin-top: 1rem;
80122
margin-bottom: .5rem;
81123

82124
@include media-breakpoint-up(sm) {
83125
font-size: 3rem;
84126
}
127+
}
128+
129+
.carddeck .card {
130+
flex: 1 0;
131+
margin-right: 15px;
132+
margin-bottom: 15px;
133+
margin-left: 15px;
85134
}
File renamed without changes.

daprdocs/assets/scss/_variables_project.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
$primary:#0D2192;
2-
$secondary: #1F329A;
2+
$secondary: #3ea9f5;
3+
$highlight1:#ff4e00;
4+
$highlight2: #efca08;
5+
6+
// Sidebar colors
7+
$td-sidebar-tree-root-color: $primary;
8+
$td-sidebar-bg-color: #f8f9fa;
9+
$td-sidebar-border-color: #dee2e6;
310

411
.navbar-brand {
512
text-align: left;

daprdocs/content/en/concepts/isolation-concept.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ Dapr supports namespacing in service invocation calls between applications, when
1212

1313
To get started, create and configure your namespace.
1414

15-
{{% tabpane "Self-Hosted" "Kubernetes"%}}
15+
{{% tabpane %}}
1616

17-
{{% tab %}}
17+
{{% tab "Self-Hosted" %}}
1818

1919
In self-hosted mode, specify the namespace for a Dapr instance by setting the `NAMESPACE` environment variable.
2020

2121
{{% /tab %}}
2222

23-
{{% tab %}}
23+
{{% tab "Kubernetes" %}}
2424

2525
On Kubernetes, create and configure the namespace:
2626

daprdocs/content/en/contributing/docs-contrib/contributing-docs.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -189,68 +189,68 @@ Tabs are made possible through [Hugo shortcodes](https://gohugo.io/content-manag
189189
The overall format is:
190190

191191
```
192-
{{%/* tabpane [Tab1] [Tab2]%}}
192+
{{% tabpane %}}
193193
194-
{{% tab %}}
194+
{{% tab "Tab1" %}}
195195
[Content for Tab1]
196196
{{% /tab %}}
197197
198-
{{% tab %}}
198+
{{% tab "Tab2" %}}
199199
[Content for Tab2]
200200
{{% /tab %}}
201201
202-
{{% /tabpane */%}}
202+
{{% /tabpane %}}
203203
```
204204

205205
All content you author will be rendered to markdown, so you can include images, code blocks, YouTube videos, and more.
206206

207207
#### Example
208208

209209
````
210-
{{%/* tabpane Windows Linux MacOS%}}
210+
{{% tabpane %}}
211211
212-
{{% tab %}}
212+
{{% tab "Windows" %}}
213213
```powershell
214214
powershell -Command "iwr -useb https://raw.githubusercontent.com/dapr/cli/master/install/install.ps1 | iex"
215215
```
216216
{{% /tab %}}
217217
218-
{{% tab %}}
218+
{{% tab "Linux" %}}
219219
```bash
220220
wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash
221221
```
222222
{{% /tab %}}
223223
224-
{{% tab %}}
224+
{{% tab "MacOS" %}}
225225
```bash
226226
brew install dapr/tap/dapr-cli
227227
```
228228
{{% /tab %}}
229229
230-
{{% /tabpane */%}}
230+
{{% /tabpane %}}
231231
````
232232

233233
This example will render to this:
234234

235-
{{% tabpane Windows Linux MacOS%}}
235+
{{% tabpane %}}
236236

237-
{{% tab %}}
237+
{{% tab "Windows" %}}
238238

239239
```powershell
240240
powershell -Command "iwr -useb https://raw.githubusercontent.com/dapr/cli/master/install/install.ps1 | iex"
241241
```
242242

243243
{{% /tab %}}
244244

245-
{{% tab %}}
245+
{{% tab "Linux" %}}
246246

247247
```bash
248248
wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash
249249
```
250250

251251
{{% /tab %}}
252252

253-
{{% tab %}}
253+
{{% tab "MacOS" %}}
254254

255255
```bash
256256
brew install dapr/tap/dapr-cli

daprdocs/content/en/developing-applications/building-blocks/actors/actor-reentrancy.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ The `maxStackDepth` parameter sets a value that controls how many reentrant call
2929

3030
The reentrant actor must provide the appropriate configuration. This is done by the actor's endpoint for `GET /dapr/config`, similar to other actor configuration elements.
3131

32-
{{% tabpane ".NET" JavaScript Python Java Go %}}
32+
{{% tabpane %}}
3333

34-
{{% tab %}}
34+
{{% tab ".NET" %}}
3535
<!--dotnet-->
3636

3737
```csharp
@@ -55,7 +55,7 @@ public class Startup
5555

5656
{{% /tab %}}
5757

58-
{{% tab %}}
58+
{{% tab "JavaScript" %}}
5959
<!--javascript-->
6060

6161
```js
@@ -74,7 +74,7 @@ const clientOptions = {
7474

7575
{{% /tab %}}
7676

77-
{{% tab %}}
77+
{{% tab "Python" %}}
7878
<!--python-->
7979

8080
```python
@@ -102,7 +102,7 @@ def do_something_reentrant():
102102
```
103103
{{% /tab %}}
104104

105-
{{% tab %}}
105+
{{% tab "Java" %}}
106106
<!--java-->
107107

108108
```java
@@ -111,8 +111,7 @@ def do_something_reentrant():
111111

112112
{{% /tab %}}
113113

114-
115-
{{% tab %}}
114+
{{% tab "Go" %}}
116115

117116
Here is a snippet of an actor written in Golang providing the reentrancy configuration via the HTTP API. Reentrancy has not yet been included into the Go SDK.
118117

@@ -187,4 +186,4 @@ Watch this [video](https://www.youtube.com/watch?v=QADHQ5v-gww&list=PLcip_LgkYwz
187186
## Related links
188187

189188
- [Actors API reference]({{% ref actors_api %}})
190-
- [Actors overview]({{% ref actors-overview %}})
189+
- [Actors overview]({{% ref actors-overview %}})

0 commit comments

Comments
 (0)