documentation refactoring on forms

also added an ext in conf.py to link to the source