mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
[javadoc] new javadoc tools, new boneheaded mistakes. Seemingly nobody gives a toss about this tool over at oracle? Used some hacks to work around the worst offenses.
This commit is contained in:
1 parent
732d3db79a
commit
ec543dff8e
4 files changed
+42
-9
No files matched your search
@@ -281,21 +281,21 @@ such as applying the templates to produce the website, converting the changelog
|
||||
<property name="javadoc.overview.html" location="build/javadoc.overview.html" />
|
||||
<echo file="${javadoc.overview.html}"><![CDATA[<html><body>
|
||||
Welcome to the lombok javadoc. If you're just looking to learn more about using lombok
|
||||
You probably want to look at <a href="https://projectlombok.org/features/index.html">the feature documentation</a>. Otherwise,
|
||||
You probably want to look at <a href="https://projectlombok.org/features/all">the feature documentation</a>. Otherwise,
|
||||
check the <a href="lombok/package-summary.html">lombok</a> package. If you're trying to extend lombok or
|
||||
write your own plugins, the other packages are what you're looking for.</body></html>
|
||||
]]></echo>
|
||||
<javadoc sourcepath="src/core" defaultexcludes="yes" destdir="build/api" windowtitle="Lombok" Overview="${javadoc.overview.html}">
|
||||
<javadoc sourcepath="src/core" defaultexcludes="yes" destdir="build/api" windowtitle="Lombok" source="1.8" Overview="${javadoc.overview.html}">
|
||||
<package name="lombok" />
|
||||
<package name="lombok.experimental" />
|
||||
<package name="lombok.extern.*" />
|
||||
<classpath refid="build.path" />
|
||||
<classpath location="build/lombok" />
|
||||
<header><![CDATA[<a href='https://projectlombok.org/' target='_blank'>Lombok</a> - ]]>v${lombok.version}</header>
|
||||
<bottom><![CDATA[<i>Copyright © 2009-2018 The Project Lombok Authors, licensed under the <a href='http://www.opensource.org/licenses/mit-license.php' target='_blank'>MIT licence</a>.]]></bottom>
|
||||
<bottom><![CDATA[<i>Copyright © 2009-2019 The Project Lombok Authors, licensed under the <a href='http://www.opensource.org/licenses/mit-license.php' target='_blank'>MIT licence</a>.]]></bottom>
|
||||
</javadoc>
|
||||
<!-- bugfix for boneheaded javadoc bug where ?is-external=true is inserted before an anchor ref, breaking the anchor ref.
|
||||
is-external=true doesn't actually do anything, so, we'll just get rid of it. -->
|
||||
is-external=true doesn't actually do anything except mess with titles, so, we'll just get rid of it. -->
|
||||
<replaceregexp match="\?is-external=true#" replace="#" flags="gi">
|
||||
<fileset dir="build/api" includes="**/*.html" />
|
||||
</replaceregexp>
|
||||
@@ -304,12 +304,25 @@ such as applying the templates to produce the website, converting the changelog
|
||||
<fileset dir="build/api" includes="**/*.html" />
|
||||
<filterchain>
|
||||
<linecontainsregexp negate="true">
|
||||
<regexp pattern="(Generated by javadoc)|(.META NAME=.date.)" />
|
||||
<regexp pattern="(Generated by javadoc)|(.META NAME=.date.)|(meta name=.dc.created.)" />
|
||||
</linecontainsregexp>
|
||||
</filterchain>
|
||||
</copy>
|
||||
<copy todir="doc/api">
|
||||
<fileset dir="build/api" excludes="**/*.html" />
|
||||
<fileset dir="build/api" includes="**/*.css" />
|
||||
<filterchain>
|
||||
<linecontainsregexp negate="true">
|
||||
<regexp pattern="@import.*dejavu.css.*" />
|
||||
</linecontainsregexp>
|
||||
</filterchain>
|
||||
</copy>
|
||||
<copy todir="doc/api">
|
||||
<fileset dir="build/api">
|
||||
<exclude name="**/*.html" />
|
||||
<exclude name="**/*.css" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<echo append="true" file="doc/api/module-search-index.js"></echo>
|
||||
<echo append="true" file="doc/api/tag-search-index.js"></echo>
|
||||
</target>
|
||||
</project>
|
||||
Reference in new issue
Block a user