Documentation updates (amended)

- Fix docs heading top
- Fix documentation naming errors
- Moved scoped variables to be named as scoped not global variables