Updated comments in `basic.h` to be recognised by `breathe`

Added `doc/src/basic.rst` to document the basic class.
Index linked to this file.
`autodoxygen` directive of breathe is broken.
Will have to set up a script for automationin case
things don't pane out.
Posted on an existing issue to check if issue can be fixed.