Re: macro for matrix room links?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hah, nice :)

Yes, it should be possible, someone even suggested that before but it never went anywhere. We'll have to update every repo's site.yml to pull in the shared attributes during a local build, and include the entity file from the shared repo on top of each page so we can use the attributes on each page, but that shouldn't be too bad, it's a one-time effort basically.

I'll take a look at it after we release F35, I'll be pretty busy until then.
Petr

On Mon, Oct 11, 2021 at 8:07 PM Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> wrote:
On Mon, Oct 11, 2021 at 10:40:49AM -0400, Matthew Miller wrote:
> Also: is there a way we can make parameterized macros? Like, something where
> we can say {CHATROOM:council}[Fedora Council] and it'll automatically link
> that to
>
> https://matrix.to/#/#matrix-meta-chat:fedoraproject.org?web-instance%5Belement.io%5D=chat.fedoraproject.org

So I found
https://www.magnolia-cms.com/blog/tips-for-writing-antora-macros.html, which
links back to a Fedora docs example. :)

--
Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
_______________________________________________
docs mailing list -- docs@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to docs-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/docs@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
docs mailing list -- docs@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to docs-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/docs@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux