Skip to content

Commit eaef6c1

Browse files
committed
Added a bit of a landing page to the api docs
1 parent 6e440aa commit eaef6c1

File tree

2 files changed

+33
-11
lines changed

2 files changed

+33
-11
lines changed

tools/docu/templates/index.htm.spark

+28-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,35 @@
11
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
22
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3-
<head>
4-
<title>${WriteProductName(Assemblies[0])} Documentation</title>
5-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6-
<link type="text/css" rel="stylesheet" href="main.css" />
7-
</head>
8-
<body>
3+
<head>
4+
<title>${WriteProductName(Assemblies[0])} Documentation</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6+
<link type="text/css" rel="stylesheet" href="main.css" />
7+
</head>
8+
<body id="index">
99
<namespaces />
1010
<types />
1111
<div class="header">
12-
<p class="class">${WriteProductName(Assemblies[0])} Documentation</p>
13-
</div>
14-
12+
<p class="class">${WriteProductName(Assemblies[0])} Documentation</p>
13+
</div>
14+
15+
<div id="index">
16+
<p><strong>You're reading the Fluent NHibernate API documentation.</strong> Above are all the namespaces
17+
and types in Fluent NHibernate. Not everything will be of interest to you, as most of it is internal
18+
workings, but you can find the public classes in here too. Not all our classes are documented, but we're
19+
working on it; these docs are updated on every commit of Fluent NHibernate, so if something isn't documented
20+
let us know and we'll update it.</p>
21+
22+
<p>Classes of interest:</p>
23+
<ul>
24+
<li><a href="FluentNHibernate.Mapping/ClassMap`1.htm">ClassMap&lt;T&gt;</a> - used to map your entities</li>
25+
<li><a href="FluentNHibernate.Mapping/SubclassMap`1.htm">SubclassMap&lt;T&gt;</a> - for mapping any
26+
subclasses of entities</li>
27+
<li><a href="FluentNHibernate.Mapping/ComponentMap`1.htm">ComponentMap&lt;T&gt;</a> - create reusable component
28+
mappings</li>
29+
<li><a href="FluentNHibernate.Automapping/AutoMap.htm">AutoMap</a> - the starting point for automapping</li>
30+
<li><a href="FluentNHibernate.Cfg/FluentConfiguration.htm">FluentConfiguration</a> - application configuration</li>
31+
</ul>
32+
</div>
1533
<use file="_footer" />
1634
</body>
17-
</html>
35+
</html>

tools/docu/templates/main.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,8 @@ blockquote {
205205
border-top-width: 1px;
206206
border-bottom-width: 1px;
207207
font-size: 90%;
208-
}
208+
}
209+
210+
#index p {
211+
padding: 10px;
212+
}

0 commit comments

Comments
 (0)