docs: improve individual readme usage sections (#1583)
* docs: improve individual readme usage sections * fix(userstyles.schema.json): disable `additionalProperties` for all objects
This commit is contained in:
1 parent
421cb769eb
commit
d1e9fa4c30
5 files changed
+42
-53
No files matched your search
@@ -68,7 +68,7 @@ export function generateStyleReadmes(userstyles: UserstylesSchema.Userstyles) {
|
||||
const readmeContent = Handlebars.compile(stylesReadmeContent)({
|
||||
heading: heading(name, readme["app-link"]),
|
||||
slug,
|
||||
usage: readme.usage,
|
||||
note: readme.note,
|
||||
faq: readme.faq,
|
||||
collaborators: {
|
||||
currentMaintainers: extractName(currentMaintainers),
|
||||
|
||||
@@ -17,9 +17,13 @@
|
||||
<img src="preview.webp"/>
|
||||
</p>
|
||||
|
||||
{{#if usage}}
|
||||
## Usage
|
||||
{{{ usage }}}
|
||||
|
||||
See [the userstyle usage instructions](../../docs/USAGE.md).
|
||||
|
||||
{{#if note}}
|
||||
> [!NOTE]
|
||||
> {{{ note }}}
|
||||
{{/if}}
|
||||
|
||||
{{#if faq}}
|
||||
|
||||
Reference in new issue
Block a user