nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitdoc: do not repeat entries in the index.
[nit.git]
/
src
/
nitdoc.nit
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