nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a1712
)
nitdoc: do not repeat entries in the index.
author
Matthieu Auger
<matthieu.auger@gmail.com>
Tue, 17 May 2011 17:31:16 +0000
(19:31 +0200)
committer
Jean Privat
<jean@pryen.org>
Mon, 17 Oct 2011 14:04:18 +0000
(10:04 -0400)
Signed-off-by: Matthieu Auger <matthieu.auger@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
src/nitdoc.nit
patch
|
blob
|
history
diff --git
a/src/nitdoc.nit
b/src/nitdoc.nit
index
437f837
..
72942e8
100644
(file)
--- a/
src/nitdoc.nit
+++ b/
src/nitdoc.nit
@@
-80,9
+80,11
@@
class DocContext
# Register an entity (for the index)
fun register(e: MMEntity)
do
- _entities.add(e)
- if e isa MMSrcModule then
- _mmmodule = e
+ if not _entities.has(e) then
+ _entities.add(e)
+ if e isa MMSrcModule then
+ _mmmodule = e
+ end
end
end