# Exclude module from documentation when using pdoc3

Answer on github

Either prepend the module name with an underscore to make it private, or add following line in some higher-level or top-level module to prevent pdoc from documenting that module:

from pdoc import __pdoc__

__pdoc__['module.name'] = False