[PATCH 03/32] docs: switch building of rst files to a dictionary