# Exclude a module from documentation when using pdoc3

Answer on github
https://github.com/pdoc3/pdoc/issues/386#issuecomment-1036244721

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