[ 
https://issues.apache.org/jira/browse/LUCENE-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-3903:
----------------------------------

    Attachment: LUCENE-3903.patch

Patch that fixes the issue(s):
- Simply append the pretify.css to the one created by javadocs itsself (as 
post-javadoc-task <concat/>)
- Fix javascript issues by Java 7: The code that triggered prettyprint was 
relying on an implementation specific javascript function name no longer 
existent in Java 7. I changed the window.onload handler to dynamically append 
the 2nd handler.
                
> javadocs very very ugly if you generate with java7
> --------------------------------------------------
>
>                 Key: LUCENE-3903
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3903
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/javadocs
>    Affects Versions: 3.6, 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3903.patch, java7docs.jpg
>
>
> Java7 changes its javadocs to look much nicer, but this involves different 
> CSS styles.
> Lucene overrides the CSS with stylesheet+prettify.css which is a combination 
> of java5/6 stylesheet + google prettify:
> but there are problems because java7 has totally different styles.
> So if you generate javadocs with java7, its like you have no stylesheet at 
> all.
> A solution might be to make stylesheet7+prettify.css and conditionalize a 
> property in ant based on java version.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to