Added caption and sub caption documentation. Fixed github link in docume...

...ntation page