Hi again Andrew,
I proceeded to install the AWX CLI today and it reminded me of this thread. I thus went ahead and tried to generate the documentation from my source tree.
I reach my AWX instance via SSL but the certificate is self-signed and it does not seem there is a way to pass down the '--conf.insecure' flag when sphinx is calling the awx commandline (it directly drives it via the Python entry point) so I had to modify my install $HOME/.local/lib/python3.9/site-packages/awxkit/cli/client.py at l102 to set it to insecure by default:
101 # vrubiolo: default is untrusted for docs generation
102 config.assume_untrusted = True
After that, generation via the normal instructions worked fine:
$ cd awxkit/awxkit/cli/docs/build/html
$ cd build/html
$ python -m http.server
I could then browse the generated doc on my machine.
Given the look of your error within the future Python statement, I would tend to think this is a Python environment-related error. In my case, I am using Fedora 34 and Python 3.9.7. The HEAD of my awx repo is at ba324c73ceefa22d516d872527649d090d3bc0cc and I am using awx CLI 19.4.0 from pip.
HTH,
Vincent