aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/build.xml8
-rw-r--r--docs/dist/doc/aspectj-faq.css88
-rw-r--r--docs/faq/faq.xml3
3 files changed, 95 insertions, 4 deletions
diff --git a/docs/build.xml b/docs/build.xml
index 9dff6c836..069484884 100644
--- a/docs/build.xml
+++ b/docs/build.xml
@@ -78,8 +78,9 @@
/>
<!-- default value for xml-html copying (copy all graphics) -->
<property name="xml-html-copy" value="*.gif,*.png" />
+ <property name="xml-html-stylesheet" value="aspectj-docs.css" />
<property name="binary.pattern"
- value="**/*.gif,**/*.png,**/*.doc,**/*.pdf,**/*.jpg,**/*.JPG"
+ value="**/*.gif,**/*.png,**/*.doc,**/*.pdf,**/*.jpg,**/*.JPG,**/*.css"
/>
<uptodate property="local.dist.uptodate"
targetfile="${docs.dist.dir}/doc/faq.html"
@@ -262,6 +263,7 @@
<param name="xml-target-file"
value="${docs.dist.dir}/doc/faq.html"
/>
+ <param name="xml-html-stylesheet" value="aspectj-faq.css" />
</antcall>
</target>
@@ -461,7 +463,8 @@
xsl-source-file # xsl transform to apply (use chunk.xsl.source by default)
xml-target-dir # target directory for output (used as xsl param base.dir)
xml-target-file # full path to output file in xml-source-dir, ignored when chunking
- xml-html-copy # copy files to target (defaults to *.gif,*.png"
+ xml-html-copy # copy files to target (defaults to *.gif,*.png)
+ xml-html-stylesheet # style sheet to use (defaults to ${xml-html-stylesheet})"
>
<mkdir dir="${xml-target-dir}" />
@@ -482,6 +485,7 @@
<arg value="${xsl-source-file}" />
<arg value="base.dir=${xml-target-dir}/" />
<arg value="use.id.as.filename=1" />
+ <arg value="html.stylesheet=${xml-html-stylesheet}" />
</java>
</target>
diff --git a/docs/dist/doc/aspectj-faq.css b/docs/dist/doc/aspectj-faq.css
new file mode 100644
index 000000000..d627302f3
--- /dev/null
+++ b/docs/dist/doc/aspectj-faq.css
@@ -0,0 +1,88 @@
+body {
+ font-family: "Lucida Grande", "Trebuchet MS", sans-serif;
+ line-height: 1.1em;
+ }
+
+h2 {
+ font-size: 130%;
+ font-weight: bold ;
+ line-height: 16px;
+ color: #FFFFFF;
+ background-color: #0080C0;
+ padding: 5px;
+}
+
+h3 {
+ font-size: 110%;
+ font-weight: bold ;
+ line-height: 14px;
+ color: #FFFFFF;
+ background-color: orange;
+ padding: 5px;
+}
+
+tt {
+ font-size: 100%;
+ color: #0080C0;
+ }
+
+tt tt {
+ font-size: 100%;
+ }
+
+.programlisting {
+ padding-top: 5px;
+ border: 2px solid #ccc;
+ background: #eee;
+ font-size: 120%;
+ color: #111199;
+
+ }
+
+.term {
+ color: #111199;
+ }
+
+.variablelist dd {
+ margin-left: 18px;
+ padding-left: 20px;
+ background: url(dd_arrow.gif) no-repeat 0 2px;
+ }
+
+.toc dt {
+ font-size: 110%;
+ padding-bottom: 0px;
+ margin-bottom: 5px;
+ }
+
+.toc dl dd dt {
+ font-size: 100%;
+ }
+
+.toc dt {
+ font-size: 100%
+ margin-bottom: 0;
+ }
+
+.informaltable table {
+ margin-left: 5%;
+ }
+
+.informaltable th {
+ background-color: orange;
+ padding: 1px;
+ }
+
+ul li {
+ line-height: 1.2em;
+ }
+
+.keyword {
+ font-weight: bold;
+ color: purple;
+ }
+
+ .question {
+ color: #3333CC;
+ border-top: 1px solid silver;
+ } \ No newline at end of file
diff --git a/docs/faq/faq.xml b/docs/faq/faq.xml
index e6332d637..b571f79fd 100644
--- a/docs/faq/faq.xml
+++ b/docs/faq/faq.xml
@@ -3,8 +3,7 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"../../lib/docbook/docbook-dtd/docbookx.dtd">
-<?xml-stylesheet type="text/css"
- href="../../style.css"?>
+<!-- set style sheet in build.xml using xml-html-stylesheet variable -->
<!-- `copy-to-register' (C-x r s) then `insert-register' (C-x r i).
<qandaentry>
<question id="q:XX" xreflabel="Q:XX">