this->add_child (doctree.get());
}
- // add the regular files as documents in the tree
- else if (fsitem.is_regular_file ()) {
+ // add the regular files as documents in the tree and not symlink
+ else if (fsitem.is_regular_file () && !fsitem.is_symlink()) {
// if it is an index file (specially named as index
// or index.md or whatever) directly add
// the contents to the summary of the Doctree