Skip to content

Commit 3569125

Browse files
committed
fix: clean up content
1 parent 51fdde5 commit 3569125

File tree

4 files changed

+4
-40
lines changed

4 files changed

+4
-40
lines changed

β€Žcontent/blog/say-hello-to-doks/index.mdβ€Ž

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,3 @@ weight: 50
99
images: ["say-hello-to-doks.png"]
1010
contributors: ["Henk Verlinde"]
1111
---
12-
13-
## Video shortcode
14-
15-
### Usage
16-
17-
```md
18-
{{</* video ratio="16x9" attributes="controls autoplay muted" webm-src="videos/flower.webm" mp4-src="videos/flower.mp4" */>}}
19-
```
20-
21-
| Parameters | Values |
22-
|----------|-------------|------|
23-
| ratio | <1x1 \| 4x3 \| 16x9 \| 21x9> |
24-
| attributes | [[Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attributes)] |
25-
| webm-src | [path/to/file.webm] |
26-
| mp4-src | [path/to/file.mp4] |
27-
{.table-striped}
28-
29-
### Renders
30-
31-
```html
32-
<div class="ratio ratio-16x9">
33-
<video controls autoplay muted>
34-
<source src="/videos/flower.webm" type="video/webm">
35-
<source src="/videos/flower.mp4" type="video/mp4">
36-
Sorry, your browser doesn't support embedded videos.
37-
</video>
38-
</div>
39-
```
40-
41-
{{< video ratio="16x9" attributes="controls autoplay muted" webm-src="videos/flower.webm" mp4-src="/videos/flower.mp4" >}}
42-
43-
## Resources
44-
45-
- [\<video\>: The Video Embed element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video)
46-
- [Ratios](https://getbootstrap.com/docs/5.0/helpers/ratio/)
47-
- [Custom aspect ratios](https://getbootstrap.com/docs/5.0/helpers/ratio/#sass-map)

β€Žcontent/docs/help/how-to-update.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ weight: 610
1313
toc: true
1414
---
1515

16-
{{< alert icon="πŸ’‘" text="Learn more about <a href=\"https://docs.npmjs.com/about-semantic-versioning\">semantic versioning</a> and <a href=\"https://docs.npmjs.com/cli/v6/using-npm/semver#advanced-range-syntax\">advanced range syntax</a>." >}}
16+
{{< alert icon="πŸ’‘" text="Learn more about <a href=\"https://docs.npmjs.com/about-semantic-versioning\">semantic versioning</a> and <a href=\"https://docs.npmjs.com/cli/v6/using-npm/semver#advanced-range-syntax\">advanced range syntax</a>." />}}
1717

1818
## Check for outdated packages
1919

β€Žcontent/docs/prologue/commands.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ weight: 130
1313
toc: true
1414
---
1515

16-
{{< alert icon="πŸ’‘" text="You can change the commands in the scripts section of `./package.json`." >}}
16+
{{< alert icon="πŸ’‘" text="You can change the commands in the scripts section of `./package.json`." />}}
1717

1818
## create
1919

β€Žcontent/docs/prologue/introduction.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ There are two main ways to get started with Doks:
1919

2020
### Tutorial
2121

22-
{{< alert icon="πŸ‘‰" text="The Tutorial is intended for novice to intermediate users." >}}
22+
{{< alert icon="πŸ‘‰" text="The Tutorial is intended for novice to intermediate users." />}}
2323

2424
Step-by-step instructions on how to start a new Doks project. [Tutorial β†’](https://getdoks.org/tutorial/introduction/)
2525

2626
### Quick Start
2727

28-
{{< alert icon="πŸ‘‰" text="The Quick Start is intended for intermediate to advanced users." >}}
28+
{{< alert icon="πŸ‘‰" text="The Quick Start is intended for intermediate to advanced users." />}}
2929

3030
One page summary of how to start a new Doks project. [Quick Start β†’]({{< relref "quick-start" >}})
3131

0 commit comments

Comments
Β (0)