Skip to content

Commit 8c70427

Browse files
authored
Merge pull request #200 from gethinode/develop
Finalize release v0.19.0
2 parents f6018d8 + 0bac9e1 commit 8c70427

17 files changed

+100
-95
lines changed

.markdownlint-cli2.jsonc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"MD013": false,
55
"MD024": false,
66
"MD026": false,
7-
"MD033": false,
87
"MD034": false,
98
"MD053": false
109
},

config/_default/markup.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ defaultMarkdownHandler = "goldmark"
2929
block = true
3030
[goldmark.renderer]
3131
hardWraps = false
32-
unsafe = true
32+
unsafe = false
3333
xhtml = false

config/_default/params.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
[debugging]
2323
showJS = false
2424
showSCSS = false
25+
purgeHTMLComments = true
2526

2627
# toml-docs-start version
2728
[docs]

content/en/docs/latest/components/abbr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: Mark Dumay
33
title: Abbr
4-
date: 2023-08-28
4+
date: 2023-09-02
55
description: Use the abbr shortcode to show the long form of an abbrevitation.
66
layout: docs
77
icon: fas question
@@ -10,7 +10,7 @@ tags: component
1010

1111
## Overview
1212

13-
{{< release version="v0.19.0-alpha" >}}
13+
{{< release version="v0.19.0" >}}
1414

1515
Use the abbr shortcode to show the long form of an abbrevitation on hover. The abbreviation data is retrieved from a central data file. By default, the shortcode uses "data/abbr.yaml" with translation support.
1616

content/en/docs/latest/components/badge.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: Mark Dumay
33
title: Badge
4-
date: 2023-08-27
4+
date: 2023-09-02
55
description: Use the badge shortcode to enrich headings.
66
layout: docs
77
icon: fas envelope-circle-check
@@ -10,7 +10,7 @@ tags: component
1010

1111
## Overview
1212

13-
{{< release version="v0.19.0-alpha" >}}
13+
{{< release version="v0.19.0" >}}
1414

1515
Badges can be added to headings and buttons. The badge for a button is part of a [custom shortcode]({{< ref "button" >}} "custom shortcode"). The example below illustrates the shortcode for a heading.
1616

content/en/docs/latest/components/card-group.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: Mark Dumay
33
title: Card Group
4-
date: 2023-09-01
4+
date: 2023-09-02
55
description: Use the card-group shortcode to display a group of cards.
66
layout: docs
77
icon: fas grip
@@ -40,10 +40,10 @@ The shortcode supports the following arguments:
4040
{{< table >}}
4141
| Argument | Required | Description |
4242
|------------|----------|-------------|
43-
| cols | No | Number of columns for the grid, must be a value between "1" and "5", or set to "auto" (new in {{</* release version="v0.19.0-alpha" short="true" size="sm" inline="true" */>}}). Defaults to "3". When using auto-layout, columns are horizontally stacked using {{</* link bs_grid >}}Bootstrap's grid system{{< /link */>}}. Set the column width on the class of each invidual card as desired. |
43+
| cols | No | Number of columns for the grid, must be a value between "1" and "5", or set to "auto" (new in {{</* release version="v0.19.0" short="true" size="sm" inline="true" */>}}). Defaults to "3". When using auto-layout, columns are horizontally stacked using {{</* link bs_grid >}}Bootstrap's grid system{{< /link */>}}. Set the column width on the class of each invidual card as desired. |
4444
| title | No | Optional title of the card group. |
4545
| separator | No | Optional flag to indicate a horizontal line should be added between items on small screens. |
46-
| gutter | No | {{</* release version="v0.19.0-alpha" short="true" size="sm" inline="true" */>}} Gutter between columns in a group, either "0", "1", "2", "3" (default), "4", or "5". |
46+
| gutter | No | {{</* release version="v0.19.0" short="true" size="sm" inline="true" */>}} Gutter between columns in a group, either "0", "1", "2", "3" (default), "4", or "5". |
4747
| responsive | No | Optional flag if the number of columns should be responsive, defaults to "true". |
4848
{{< /table >}}
4949
<!-- markdownlint-enable MD037 -->

content/en/docs/latest/components/card.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The shortcode supports the following arguments:
4040
| footer | No | Optional footer components of the card, displayed in small caps. Supported values are "full", "publication", "tags", and "none" (default). |
4141
| orientation | No | Optional placecement of the thumbnail, either "stacked" (default), "horizontal", or "none". |
4242
| thumbnail | No | Optional thumbnail image url, displayed on the top or the left of the card. |
43-
| alt | No | {{</* release version="v0.19.0-alpha" short="true" size="sm" inline="true" */>}} Optional alternate text for the thumbnail, uses "title" by default. |
43+
| alt | No | {{</* release version="v0.19.0" short="true" size="sm" inline="true" */>}} Optional alternate text for the thumbnail, uses "title" by default. |
4444
| icon | No | Optional Font Awesome icon, displayed on the top or the left of the card. |
4545
{{< /table >}}
4646
<!-- markdownlint-enable MD037 -->

content/en/docs/latest/components/kbd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: Mark Dumay
33
title: Kbd
4-
date: 2023-08-28
4+
date: 2023-09-02
55
description: Use the kbd shortcode to show a keyboard input element.
66
layout: docs
77
icon: fa keyboard
@@ -10,7 +10,7 @@ tags: component
1010

1111
## Overview
1212

13-
{{< release version="v0.19.0-alpha" >}}
13+
{{< release version="v0.19.0" >}}
1414

1515
Use the `kbd` shortcode to show a keyboard input element. As an example, the following shortcodes shows a simple `CTRL-C` command.
1616

content/en/docs/latest/components/mark.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags: component
1010

1111
## Overview
1212

13-
{{< release version="v0.19.0-alpha" >}}
13+
{{< release version="v0.19.0" >}}
1414

1515
Use the `mark` shortcode to highlight text. The inner content is used as input.
1616

content/en/docs/latest/content/icons.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Icons
33
description: Use out-of-the-box Font Awesome icons to style your website.
4-
date: 2023-08-04
4+
date: 2023-09-02
55
layout: docs
66
---
77

@@ -113,7 +113,7 @@ The table below illustrates the absolute sizing classes and their equivalent fon
113113
### Responsive sizing
114114

115115
{{< alert >}}
116-
**New in v0.19.0-beta2** - Added support for a wrapper argument that applies `fa-wrapper` and `fa-fluid` automatically.
116+
**New in v0.19.0** - Added support for a wrapper argument that applies `fa-wrapper` and `fa-fluid` automatically.
117117

118118
---
119119

content/en/docs/latest/content/typography.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Typography
33
description: Use a mix of Markdown and HTML syntax to style your content.
4-
date: 2023-08-03
4+
date: 2023-09-02
55
layout: docs
66
modules: ["katex"]
77
---
@@ -107,7 +107,7 @@ _This line of text renders as underlined._
107107

108108
### Extended Styling
109109

110-
{{< release version="v0.19.0-alpha" >}}
110+
{{< release version="v0.19.0" >}}
111111

112112
Use shortcodes and classes for additional styling options. The following example illustrates highlighting, fine print, subscript, and superscript.
113113

data/releases.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
- title: Markdown by default
44
icon: fab markdown
55
color: warning
6-
date: 2023-08-28
7-
badge: v0.19.0-alpha2
8-
url: v0.19.0-alpha2
6+
date: 2023-09-02
7+
badge: v0.19.0
8+
url: v0.19.0
99
content:
10-
This release ensures Hinode uses Markdown-only by default. Although still supported, HTML is now opt-in instead of
11-
opt-out to improve security and to simplify content management. Two new shortcodes,
10+
This release ensures Hinode is Markdown-only by default. Although still supported, HTML is now opt-in instead of
11+
opt-out to improve security and to simplify content management. Several new shortcodes, such as
1212
{{< link "docs/components/abbr" >}}abbr{{< /link >}} and {{< link "docs/components/badge" >}}badge{{< /link >}}, are
13-
introduced to replace earlier HTML elements.
13+
introduced to replace previous HTML elements.
1414

1515
- title: Accessibility
1616
icon: fas circle-half-stroke

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/gethinode/docs
33
go 1.20
44

55
require (
6-
github.com/gethinode/hinode v0.19.0-beta3 // indirect
6+
github.com/gethinode/hinode v0.19.0 // indirect
77
github.com/gethinode/mod-bootstrap v1.1.1 // indirect
88
github.com/gethinode/mod-flexsearch v1.4.0 // indirect
99
github.com/gethinode/mod-fontawesome v1.3.1 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ github.com/gethinode/hinode v0.19.0-beta2 h1:7MNEfcy4goSIGtteu+lgbq2n8MuxFAGd4ri
6666
github.com/gethinode/hinode v0.19.0-beta2/go.mod h1:2+ioIlr+xp8k1eES6vGXWmmoxu+Mz+FHan3Ea8YPFd0=
6767
github.com/gethinode/hinode v0.19.0-beta3 h1:FJS3t7Y9YoRhDPmbnH+ycuTCPLNkemE6pi6CkT0wj9I=
6868
github.com/gethinode/hinode v0.19.0-beta3/go.mod h1:2+ioIlr+xp8k1eES6vGXWmmoxu+Mz+FHan3Ea8YPFd0=
69+
github.com/gethinode/hinode v0.19.0 h1:7QDAA0RGUvFJMlmzoBfUy8b27yI5+84xPBc5/1qfWrU=
70+
github.com/gethinode/hinode v0.19.0/go.mod h1:2+ioIlr+xp8k1eES6vGXWmmoxu+Mz+FHan3Ea8YPFd0=
6971
github.com/gethinode/mod-bootstrap v1.1.0 h1:BbalsW8kmFhv+J+dcc41TGcjIlM/p69AB0h0oGhAXIU=
7072
github.com/gethinode/mod-bootstrap v1.1.0/go.mod h1:DcpPc2cNaXUPGEvhD7npuEEPA7573NvakTlrwFbyjr8=
7173
github.com/gethinode/mod-bootstrap v1.1.1 h1:Tx4M5hGVOFrEaxnUONDAm6N9xuRi5UphKlT7F26HujU=

0 commit comments

Comments
 (0)