BF: change location of code directory for reorg

We moved the code directory; point the docs at the new directory.
NF: add .gitignore for generated api doc path

source/api directory generated by doc build; ignore in git.