Before generating the site, also gracefully handle the missing "references" sidebar config. Remove the, now generated, _reference.js sidebar config file
Update docs build script to reflect this, and fix some mdx generation errors
Add .gitignore to docs/reference/ to keep generated md/mdx out of version control
Add Docusaurus redirect config for /reference/js/ -> /reference/