Skip to content

Commit

Permalink
Remove placeholder, add docs shortcodes as templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans5958 committed Jun 21, 2024
1 parent 5494d7b commit d757b19
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 57 deletions.
6 changes: 4 additions & 2 deletions content/addons/middle-click-popup.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Tacodiva made most of the addon as it stands today. Additionally, Griffpatch hel

## Changelog

{{< docs/outdated-section >}}

- **v1.30.0** The insert blocks by name addon was created.
- **v1.31.0** The addon was completely overhauled, allowing for nesting blocks, adding autocomplete and changing how the blocks where shown in the popup.
- **v1.31.1** The algorithm for searching was altered and several bugs where fixed.
Expand All @@ -66,8 +68,8 @@ Tacodiva made most of the addon as it stands today. Additionally, Griffpatch hel

## Gallery

TODO
{{< docs/stub-section >}}

## Related

TODO
{{< docs/stub-section >}}
55 changes: 0 additions & 55 deletions content/addons/scratch-messaging.md

This file was deleted.

8 changes: 8 additions & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ Docs:
Improve: Improve this page.
SectionPages: Section Pages

# Strings used on docs shortcodes
DocsShortcodes:
StubPage: This page **needs expansion**. You can help by adding to it.
StubSection: This section **needs expansion**. You can help by adding to it.
OutdatedPage: This page **needs to be updated**. Please help updating it to reflect any newly available information.
OutdatedSection: This page **needs to be updated**. Please help updating it to reflect any newly available information.

# Strings used for player modals
PlayerModal:
LabelPlay: Play
Expand Down Expand Up @@ -208,6 +215,7 @@ CreditsPage:
NProfilePicture: '{{.Name}} profile picture'
NCommits: '{{.Count}} commits'

# String used for comments
Comments:
Heading: Comments
Description: Make sure to follow {{ .OpenTag1 }}the code of conduct{{ .CloseTag1 }}. You can see this comment section on {{ .OpenTag2 }}GitHub Discussions{{ .CloseTag2 }}, as well as editing and removing your comment.
3 changes: 3 additions & 0 deletions layouts/shortcodes/docs/outdated-page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="admonition admonition-info"><p>
{{- T "DocsShortcodes.OutdatedPage" -}}
</p></div>
3 changes: 3 additions & 0 deletions layouts/shortcodes/docs/outdated-section.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="admonition admonition-info"><p>
{{- T "DocsShortcodes.OutdatedSection" | markdownify -}}
</p></div>
3 changes: 3 additions & 0 deletions layouts/shortcodes/docs/stub-page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="admonition admonition-info"><p>
{{- T "DocsShortcodes.StubPage" | markdownify -}}
</p></div>
3 changes: 3 additions & 0 deletions layouts/shortcodes/docs/stub-section.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="admonition admonition-info"><p>
{{- T "DocsShortcodes.StubSection" | markdownify -}}
</p></div>

0 comments on commit d757b19

Please sign in to comment.