tig: add '--with-docs'

Closes #22946.
Closes #23270.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>