X-Git-Url: http://nitlanguage.org diff --git a/src/nitdoc.nit b/src/nitdoc.nit index 52db95c..bdaa346 100644 --- a/src/nitdoc.nit +++ b/src/nitdoc.nit @@ -183,8 +183,6 @@ class DocContext # generate the index self.filename = "index.html" clear - addGithubInformation - addCommitForm add("") add("{head}Overview | {custom_title}\n") add(action_bar) @@ -218,6 +216,8 @@ class DocContext add("") add("") add("") + addGithubInformation + addCommitForm add("\n") write_to("{dir}/index.html") @@ -229,8 +229,6 @@ class DocContext self.filename = mod.html_name action_bar = "
\n" clear - addGithubInformation - addCommitForm add("") add("{head}{mod.name} module | {custom_title}\n") add(action_bar) @@ -238,6 +236,8 @@ class DocContext mod.file_page_doc(self) add("") add("") + addGithubInformation + addCommitForm add("\n") write_to("{dir}/{mod.html_name}.html") end @@ -248,8 +248,6 @@ class DocContext self.filename = c.html_name action_bar = "
\n" clear - addGithubInformation - addCommitForm add("") add("{head}{c.name} class | {custom_title}\n") add(action_bar) @@ -257,15 +255,15 @@ class DocContext c.file_page_doc(self) add("") add("") + addGithubInformation + addCommitForm add("\n") write_to("{dir}/{c.html_name}.html") end self.filename = "fullindex" - action_bar = "
\n" + action_bar = "
\n" clear - addGithubInformation - addCommitForm add("") add("{head}Full Index | {custom_title}\n") add(action_bar) @@ -275,6 +273,8 @@ class DocContext add("") add("") add("") + addGithubInformation + addCommitForm add("\n") write_to("{dir}/full-index.html") @@ -291,7 +291,7 @@ class DocContext # Add all tags for the commit form fun addCommitForm do - add("
Commit

YesNo
\n\n") + add("
Signed-Off
Commit

YesNo
\n\n") end # Add a (source) link fo a given location @@ -634,7 +634,7 @@ redef class MMModule dctx.add("{m.html_link(dctx)}::") end dctx.add("{self.name}\n") - + dctx.add("
") dctx.add("
\n") var doc = doc @@ -643,6 +643,7 @@ redef class MMModule dctx.add("
{doc.to_html}
\n") dctx.add("\n") dctx.add("CancelCommit") + dctx.add("
")
 			dctx.add("\n")
 		end
 
@@ -1095,7 +1096,7 @@ redef class MMLocalProperty
 			dctx.add("::{html_name}")
 		end
 		dctx.add("")
-
+		dctx.add("
") dctx.add("
") # Collect all refinement of the global property in the same global property @@ -1114,6 +1115,7 @@ redef class MMLocalProperty dctx.add("
{global.intro.doc.to_html}
") dctx.add("") dctx.add("CancelCommit") + dctx.add("
")
 		end
 
 		var tlmods = new Array[MMModule]
@@ -1129,7 +1131,7 @@ redef class MMLocalProperty
 			var tlp
 			if tm.global_classes.has(lc.global) then
 				tlp = tm[lc.global][self.global]
-				assert lps.has(tlp)
+				#assert lps.has(tlp) # FIXME What this line is used for?
 			else if tm.global_classes.has(self.local_class.global) then
 				# Self is the inherited property. Process it
 				tlp = tm[self.local_class.global][self.global]
@@ -1159,6 +1161,7 @@ redef class MMLocalProperty
 			end
 			dctx.add("")
 			dctx.add("CancelCommit")
+			dctx.add("
")
 			dctx.add("

") if tlp.local_class.global != lc.global then dctx.add("inherited from {tlp.local_class.html_link(dctx)} ") @@ -1437,7 +1440,7 @@ redef class MMLocalClass dctx.add("(unexported) ") end dctx.add("{kind} {global.intro.mmmodule.toplevel_owner.html_link(dctx)}::{name}

") - + dctx.add("
") dctx.add("
\n") var doc = doc if doc != null then @@ -1445,6 +1448,7 @@ redef class MMLocalClass dctx.add("
{doc.to_html}
\n") dctx.add("") dctx.add("CancelCommit") + dctx.add("
")
 		end
 
 		var cla = new HashSet[MMLocalClass]