lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Matheis (steffkes) (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3904) Similarity javadocs look ugly if created with java7's javadoc
Date Fri, 23 Mar 2012 11:49:27 GMT

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

Stefan Matheis (steffkes) updated LUCENE-3904:
----------------------------------------------

    Attachment: Screen Shot 2012-03-23 at 12.38.21 PM.png

I just had quick look .. in [stylesheet.css|http://people.apache.org/~rmuir/java7-style-javadocs/stylesheet.css]
on line #345 is a declaration for
{code}.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer
ul li table {
    width:100%;
}{code}
which expands the table. the fix would be to remove this, but i don't know if there are tables
which requires this?

In the attached Screenshot, i've modified the Source w/ Chrome Dev-Tools and set {{width:
auto}} (see at the right bottom) and it's no longer expanded.

Does this help?
                
> Similarity javadocs look ugly if created with java7's javadoc
> -------------------------------------------------------------
>
>                 Key: LUCENE-3904
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3904
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/javadocs
>    Affects Versions: 3.6, 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3904.patch, Screen Shot 2012-03-23 at 12.38.21 PM.png
>
>
> The captions used to illustrate the formulas are tables here:
> in jdk 5/6 the table is centered nicely.
> But with java7's javadocs (I think due to some css styles changes?),
> the table is not centered but instead stretched.
> I think we just need to center this table with a different technique?
> Have a look at http://people.apache.org/~rmuir/java7-style-javadocs/org/apache/lucene/search/Similarity.html
to see what I mean.
> NOTE: these javadocs are under TFIDFSimilarity.java in trunk.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message