Merge: new `with` statement
[nit.git] / src / doc / doc_phases / doc_graphs.nit
index ba10850..66ef564 100644 (file)
@@ -41,6 +41,7 @@ class GraphPhase
                        if article == null then continue
                        # FIXME avoid diff
                        # page.root.add article
+                       article.parent = page.root.children.first.children[1]
                        page.root.children.first.children[1].children.insert(article, 0)
                end
        end