menu: allow menuPageRef, menu.pageRef and sidebarmenus.pageRef to point to resources

This commit is contained in:
Sören Weber 2025-02-05 23:39:23 +01:00
parent 14c19bb13c
commit 516e552ece
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
13 changed files with 76 additions and 56 deletions
docs/config/_default

View file

@ -156,6 +156,12 @@ summaryLength = 10
identifier = 'frontmatter'
title = 'Front Matter Reference'
pageRef = 'authoring/frontmatter/reference#annotated-front-matter'
[[languages.en.menu.devshortcuts]]
parent = 'theme'
pre = '<i class="fa-fw fas fa-image"></i> '
identifier = 'screenshotframe'
title = 'Screenshot Frame'
pageRef = 'images/hero.zip'
# this is ourrr way t' showcase th' multilang settings by
# doing autotrrranlat'n of th' english content; we are
@ -228,6 +234,12 @@ summaryLength = 10
identifier = 'frontmatter'
title = 'Front Matter Reference'
pageRef = 'authoring/frontmatter/reference#annotated-front-matter'
[[languages.pir.menu.devshortcuts]]
parent = 'theme'
pre = '<i class="fa-fw fas fa-image"></i> '
identifier = 'screenshotframe'
title = 'Screenshot Frame'
pageRef = 'images/hero.zip'
# mounts are only needed in this showcase to access the publicly available screenshots and CHANGELOG;
# remove this section if you don't need further mounts