Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process <revhistory> in book & article title pages #578

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Conversation

tomschr
Copy link
Collaborator

@tomschr tomschr commented Oct 6, 2023

This PR fixes #577 and contains the following changes:

  • Integrate in title page
  • Set generate.revhistory.link=1
  • Introduce new parameter revision.limit
  • Introduce new parameters revhistory.number
  • Sort revision entries by date
  • Style the revhistory link of the title page
  • Style the separate revhistory file

@tomschr tomschr added cat-enhancement Enhancements skill-xslt XSLT knowledge necessary format-html html, xhtml, html5, webhelp, jsp support skill-css/js CSS and/or Javascript knowledge necessary styles-2022 "suse2022-ns" styles prio:medium effort:M Medium effort topic-smartdocs For SmartDocs labels Oct 6, 2023
@tomschr tomschr self-assigned this Oct 6, 2023
@tomschr tomschr force-pushed the 577-use-revhistory branch 2 times, most recently from 6b6c9ad to ec3811c Compare October 18, 2023 15:14
* Integrate it in title page
* Introduce additional parameters:
  * $generate.revhistory=1|0
    Enable/disable revhistory processing
  * $revision.limit=''|INT
    Limit the revision list to INT entries.
    If empty, display all
  * $revision.add.div.title=1|0
    If there is no revhistory/title, should the article/book
    title be included after the default "Revision History"?
* Sort the revision entries by date
* Add CSS style
* Change link to revhistory page:
  * Add ARIA attributes for revhistory link on title page
  * Open a new tab when clicked
* Include revhistory template in titlepage.mode
* Open link in
* Add revision key to l10n context=title
@tomschr tomschr force-pushed the 577-use-revhistory branch from ec3811c to cf55c52 Compare October 18, 2023 15:18
@tomschr tomschr marked this pull request as ready for review October 18, 2023 15:21
@tomschr tomschr merged commit 9969396 into main Oct 18, 2023
@tomschr tomschr deleted the 577-use-revhistory branch October 18, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat-enhancement Enhancements effort:M Medium effort format-html html, xhtml, html5, webhelp, jsp support prio:medium skill-css/js CSS and/or Javascript knowledge necessary skill-xslt XSLT knowledge necessary styles-2022 "suse2022-ns" styles topic-smartdocs For SmartDocs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use <revhistory> for changelog?
1 participant