Each time you change what the underline is, the header level changes. The types of underlines doesn't matter until you repeat some underline. See http://www.sphinx-doc.org/en/stable/rest.html
You can either write a whole bunch of words like this to describe a module.
To make code appear (for explaining example input for example):
do this after a "::"
If the module has a .rst formatted docstring at the beginning, it will be displayed with...
.. automodule:: WmAgentScripts.Unified.module_name