https://github.com/AllenInstitute/ecephys_spike_sorting
Tip revision: f21ecbacf999789d0afa17a44b8d6a492a66cf09 authored by Josh Siegle on 27 August 2019, 23:28:41 UTC
Change to version 0.2
Change to version 0.2
Tip revision: f21ecba
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.