Introducing main-docs-only option for automod api to be used in astropy.io.fits documentation.
Fixing bug in test_automodapi.py
Removing main-docs-only, using automodule instead
Merge pull request #2316 from bsipocz/fix_io.fits_links_in_docs

Introducing main-docs-only option for automodapi