added sphinx config
reworked generation script
removed all tags from global context