https://github.com/AllenInstitute/ecephys_spike_sorting
Tip revision: 72670e6057f64d0208e28ed268a5571e5a82026d authored by Josh Siegle on 03 May 2021, 18:22:28 UTC
Merge pull request #65 from greggheller/allen_internal_pipeline
Merge pull request #65 from greggheller/allen_internal_pipeline
Tip revision: 72670e6
README.md
# aibs_sphinx
theme.conf, static, and template files for aibs-style sphinx documentation
## Portal Assets
### Automated Install
To re-build the common header/theme..
`$ cd project-root`
`$ sh ./buildPortalAssets.sh`.
This shell script will add our _internal_ npm registry and install the npm package needed. Next, it will copy the bundled javascript file into the static/external_assets folder which sphinx requires in templates/portalHeader.html.
### Manual Install
If you want to manually upgrade..
`$ cd project-root`
`$ rm -rf node_modules`
`$ npm set registry <url>`
Open package.json and increment the npm package
`$ npm install`
`$ cp node_modules/aibs-portal-assets/dist/bundled.js static/external_assets/bundled.js`.
### Notes
Eventually, this bundled javascript file will be served through a web server.