maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Reimer (JIRA)" <j...@codehaus.org>
Subject [jira] (DOXIA-472) No page title is set when using markdown
Date Wed, 17 Oct 2012 07:35:36 GMT

    [ https://jira.codehaus.org/browse/DOXIA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311650#comment-311650
] 

Klaus Reimer commented on DOXIA-472:
------------------------------------

@Benjamin: Haven't tested it myself so I trust Jason's observation that it doesn't work. Only
want to add that even if it worked then this would just be a workaround. In APT format the
HTML page title is generated by the plugin by using the main headline specified in APT markup.
So for MarkDown the approach should be similar: Use the first headline as HTML page title.
Another reason against your solution is that Maven already has some logic to merge the page
title with the project title. In your approach this logic must be implemented manually in
every page. So this is quite some boiler plate code in markdown files which would be completely
unnecessary if the plugin simply used the first markdown headline for the page title.
                
> No page title is set when using markdown
> ----------------------------------------
>
>                 Key: DOXIA-472
>                 URL: https://jira.codehaus.org/browse/DOXIA-472
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Markdown
>    Affects Versions: 1.3
>            Reporter: Klaus Reimer
>            Priority: Minor
>
> No page title is created for pages which are defined with the markup language "markdown".
A page in a project named "Test" opened with Chrome for example has the browser title "Test
- - Chrome" and the browser tab is labeled with "Test - ".
> I recommend using the first headline in the markdown file as a page title.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message