Use experimental AutoDoc feature follow_package

Change doc/makedoc.g so that AutoDoc will read the code in roughly the
same order GAP processes it, leading to a more natural order for the
documentation.
This commit is contained in:
Glen Whitney 2018-09-02 11:36:14 -04:00
parent e9e38ec41c
commit 1ceccc84c7
1 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,12 @@
LoadPackage("AutoDoc");
AutoDoc(rec(
autodoc := rec(files := ["README.md", "doc/chapters.autodoc"]),
autodoc := rec(
files := ["README.md", "doc/chapters.autodoc"],
scan_dirs := ["."],
scan_suffixes := ["g"],
follow_package := true
),
maketest := rec(name := "tst/AutoDoc_tests.g")
));