From d757b195afbe89444d6fdade2cae486d2a53a6b6 Mon Sep 17 00:00:00 2001 From: Hans5958 Date: Fri, 21 Jun 2024 20:54:29 +0700 Subject: [PATCH] Remove placeholder, add docs shortcodes as templates --- content/addons/middle-click-popup.md | 6 +- content/addons/scratch-messaging.md | 55 ------------------- i18n/en.yaml | 8 +++ layouts/shortcodes/docs/outdated-page.html | 3 + layouts/shortcodes/docs/outdated-section.html | 3 + layouts/shortcodes/docs/stub-page.html | 3 + layouts/shortcodes/docs/stub-section.html | 3 + 7 files changed, 24 insertions(+), 57 deletions(-) delete mode 100644 content/addons/scratch-messaging.md create mode 100644 layouts/shortcodes/docs/outdated-page.html create mode 100644 layouts/shortcodes/docs/outdated-section.html create mode 100644 layouts/shortcodes/docs/stub-page.html create mode 100644 layouts/shortcodes/docs/stub-section.html diff --git a/content/addons/middle-click-popup.md b/content/addons/middle-click-popup.md index 25fad1681..8332268f8 100644 --- a/content/addons/middle-click-popup.md +++ b/content/addons/middle-click-popup.md @@ -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. @@ -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 >}} diff --git a/content/addons/scratch-messaging.md b/content/addons/scratch-messaging.md deleted file mode 100644 index 4979ae9e3..000000000 --- a/content/addons/scratch-messaging.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: Scratch Messaging -id: scratch-messaging ---- - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus accumsan massa sit amet sapien tristique, vel vulputate enim sagittis. Nulla vestibulum, ante vel ullamcorper porta, leo massa egestas lacus, ac bibendum mauris elit non lectus. Curabitur aliquet quis nulla nec dictum. Phasellus lobortis massa quis libero dictum, eu rhoncus leo vulputate. Etiam vehicula, nunc eu scelerisque lobortis, erat erat viverra nisi, nec egestas odio erat eu augue. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur ex neque, laoreet at consequat nec, semper pellentesque dolor. Proin rutrum metus nec arcu gravida sagittis. Donec fringilla fringilla leo vitae vehicula. Quisque interdum blandit malesuada. Maecenas blandit purus eu molestie mollis. Vivamus eu neque eget ante suscipit laoreet a at felis. Integer in tincidunt arcu. Sed iaculis, justo vel porta tempus, nisl turpis tempor ex, vel consequat quam nibh non elit. Fusce bibendum tincidunt diam, ac tincidunt nisi. Suspendisse ornare eget est at pulvinar. - -## Background - -Nulla arcu diam, varius at euismod nec, vestibulum eu est. Pellentesque ut dictum ex. Nulla at pellentesque nibh. Proin dictum diam et fringilla iaculis. Integer posuere sollicitudin dui sit amet pulvinar. Duis ante elit, fermentum nec nisl et, fringilla condimentum tellus. Aliquam non fermentum justo. Donec a semper erat, vitae bibendum neque. Fusce egestas sodales dictum. Phasellus eget posuere metus, ut pellentesque sapien. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Morbi risus risus, laoreet sed nunc vitae, mollis blandit libero. Maecenas posuere felis quis ex elementum, ac aliquet tellus dignissim. Donec eu elit commodo, porttitor mi non, tempus mauris. Sed quis ex vitae tortor dapibus pretium. Nam sit amet tempor turpis. - -## Features - -Nulla arcu diam, varius at euismod nec, vestibulum eu est. Pellentesque ut dictum ex. Nulla at pellentesque nibh. Proin dictum diam et fringilla iaculis. Integer posuere sollicitudin dui sit amet pulvinar. Duis ante elit, fermentum nec nisl et, fringilla condimentum tellus. Aliquam non fermentum justo. Donec a semper erat, vitae bibendum neque. Fusce egestas sodales dictum. Phasellus eget posuere metus, ut pellentesque sapien. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Morbi risus risus, laoreet sed nunc vitae, mollis blandit libero. Maecenas posuere felis quis ex elementum, ac aliquet tellus dignissim. Donec eu elit commodo, porttitor mi non, tempus mauris. Sed quis ex vitae tortor dapibus pretium. Nam sit amet tempor turpis. - - -## Settings - -Integer mauris quam, sagittis vitae porta vel, bibendum a nulla. Etiam a diam nec lorem tempor fringilla vitae ac dui. Suspendisse nec felis risus. Curabitur blandit erat tristique arcu feugiat accumsan. Pellentesque velit arcu, fermentum in euismod vitae, luctus et risus. Curabitur quis justo et dui mollis eleifend. Aenean convallis sed leo ac laoreet. - - -## Compability - -Nulla vitae metus suscipit sapien interdum bibendum eu sit amet sapien. Quisque rutrum blandit ipsum. Nulla sed ligula ut diam semper fringilla. Pellentesque orci ipsum, efficitur ut metus sit amet, pretium aliquam nisl. Nullam vel pharetra nunc. Ut eget turpis quis velit tempus volutpat. Nulla a semper justo. Nulla ac mollis turpis, non posuere purus. Suspendisse eu nunc sit amet metus placerat rhoncus ac in nulla. - - -## Future plans - - -Donec at mattis eros. Vestibulum tristique ligula ut lectus lobortis maximus. Nam commodo eget massa in pharetra. In hac habitasse platea dictumst. Etiam a odio posuere, mollis velit nec, aliquet quam. Vivamus finibus quam et convallis sollicitudin. Sed rutrum est arcu, et facilisis libero dictum sed. Fusce ac orci nec velit malesuada pulvinar. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin eu fringilla ipsum. Nunc et sapien tellus. - -## Known issues - -In hac habitasse platea dictumst. Quisque eu nulla nisl. Proin dapibus imperdiet massa aliquam egestas. In vitae nunc justo. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam ligula nulla, molestie vel lorem vel, varius elementum elit. Duis et magna turpis. Donec eu neque pharetra, varius metus sed, varius nulla. Aliquam convallis eros sed urna luctus, sit amet molestie arcu varius. Donec at velit finibus, vulputate augue ut, porta neque. Nullam pulvinar venenatis mauris, ac iaculis leo. Vivamus ac libero pellentesque, sagittis erat et, rutrum massa. Etiam commodo cursus lacus, eu venenatis velit varius sed. In et rhoncus tortor. Suspendisse potenti. - -## Credit - -Quisque eget volutpat purus. Mauris tempus tellus quis lorem posuere suscipit. Quisque ut turpis quis mauris pellentesque feugiat. Vestibulum iaculis ut elit vel ultrices. Proin varius est id posuere tempus. Nam molestie dui a aliquet interdum. Quisque porta risus sagittis dolor vulputate porta volutpat nec tortor. - -## Changelog - -Donec ac fermentum leo, ut pellentesque risus. Maecenas sit amet vehicula lectus. Nunc aliquet cursus nunc, et commodo justo feugiat nec. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Nunc porta finibus rhoncus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec sagittis, ligula nec tempor sagittis, urna mauris vehicula urna, ultricies fringilla ante quam non metus. Nullam cursus diam quis tellus viverra vestibulum. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Pellentesque vehicula risus vitae tortor pretium sodales. Ut ut ante at urna tristique interdum ut eu massa. Nullam non nisi leo. - -## Trivia - -Nunc in sapien nibh. Aenean faucibus diam est, a lacinia diam blandit vel. Suspendisse ac ultrices neque, quis convallis leo. Fusce imperdiet erat at urna accumsan, ut volutpat mauris dapibus. Aenean ac rhoncus urna. Vestibulum vel elit vel erat viverra accumsan. Curabitur hendrerit neque quis mollis imperdiet. Vestibulum aliquet ante interdum diam convallis interdum. Sed arcu ante, dapibus et auctor ut, auctor id dolor. Donec nec ex massa. Donec viverra dignissim porta. Integer metus magna, eleifend tempor lectus sed, tempor iaculis diam. - - -## Gallery - -Nunc pretium odio vel velit efficitur elementum. Nunc tincidunt orci sed euismod ornare. Fusce id pulvinar nibh. Etiam in justo purus. In hac habitasse platea dictumst. Pellentesque tincidunt sit amet justo nec gravida. Aliquam eleifend erat ex, id ultrices turpis vehicula sit amet. Donec dignissim eleifend ante sed commodo. Vestibulum eu est vulputate, rhoncus dolor id, accumsan velit. Maecenas aliquam, ante euismod egestas sagittis, metus diam congue nibh, volutpat euismod est lectus quis lacus. Integer et nisi nec sem porttitor scelerisque. Nulla feugiat maximus turpis, at fermentum libero mollis in. Donec facilisis rhoncus tristique. - -## Related - -Phasellus dignissim risus in auctor dictum. Nam blandit pellentesque mi. Proin facilisis ultricies tortor id egestas. Praesent imperdiet commodo ipsum eget aliquam. Vestibulum at rutrum nisi. Aliquam euismod porta dolor congue pulvinar. Pellentesque sit amet neque ac sapien condimentum convallis ac ut urna. Integer faucibus, enim nec pretium finibus, sem diam semper velit, et mattis dui lacus ac mauris. diff --git a/i18n/en.yaml b/i18n/en.yaml index 6079c0b1d..5f0b79d47 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -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 @@ -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. diff --git a/layouts/shortcodes/docs/outdated-page.html b/layouts/shortcodes/docs/outdated-page.html new file mode 100644 index 000000000..265ce36ce --- /dev/null +++ b/layouts/shortcodes/docs/outdated-page.html @@ -0,0 +1,3 @@ +

+ {{- T "DocsShortcodes.OutdatedPage" -}} +

\ No newline at end of file diff --git a/layouts/shortcodes/docs/outdated-section.html b/layouts/shortcodes/docs/outdated-section.html new file mode 100644 index 000000000..2f07adbbc --- /dev/null +++ b/layouts/shortcodes/docs/outdated-section.html @@ -0,0 +1,3 @@ +

+ {{- T "DocsShortcodes.OutdatedSection" | markdownify -}} +

diff --git a/layouts/shortcodes/docs/stub-page.html b/layouts/shortcodes/docs/stub-page.html new file mode 100644 index 000000000..02eba6e29 --- /dev/null +++ b/layouts/shortcodes/docs/stub-page.html @@ -0,0 +1,3 @@ +

+ {{- T "DocsShortcodes.StubPage" | markdownify -}} +

diff --git a/layouts/shortcodes/docs/stub-section.html b/layouts/shortcodes/docs/stub-section.html new file mode 100644 index 000000000..195a83bc0 --- /dev/null +++ b/layouts/shortcodes/docs/stub-section.html @@ -0,0 +1,3 @@ +

+ {{- T "DocsShortcodes.StubSection" | markdownify -}} +