"latest version" links at the top of pages (for docs that are versioned?)

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

 



Can we do this?

https://gitlab.com/antora/antora/-/issues/612

That includes:

{{#unless (eq page.componentVersion page.component.latest)}}
<div class="article-banner">
  {{#if page.componentVersion.prerelease}}
  <p>You are viewing the documentation for a prerelease version.</p>
  {{else}}
  <p>A newer version of this documentation is available.</p>
  {{/if}}
  <a class="btn" href="{{relativize page.latest.url}}">View Latest</a>
</div>
{{/unless}}

... but I'm not quite sure where that would go!

Also, is it possible to have a stable link to the latest non-rawhide version
of something? (Like, the release notes?)


-- 
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




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

  Powered by Linux