-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local website builds #44
Comments
@rondiplomatico You can generate a copy of the website using Grunt locally by following these instructions here: https://github.com/OpenCMISS/documentation/blob/develop/_web/README.md . Longer explanation for this: currently, Grunt (JS task runner) is responsible for generating a Sphinx theme - this includes compiling stylesheets, minifying scripts, etc. It will then copy the theme to the right place and invoke Spihnx. Without generating these files first Sphinx would not be able to generate a proper output (will have lots of missing resources, etc.) |
well, i know .. but it requires root/sudo rights. they dont work (at least on my abi machine/account) sudo npm -g install bower thats the reason i thought a sphinx-only invocation would be good to have. |
You could ask your friendly local sysadmin to run those commands for you. But failing that, those can be installed locally rather than system-wide. You will need to slightly modify the build script to refer to those local binaries though.
|
building the website is not possible without root access to abi machines - there should be an easy way to do that. its way too tiresome (and also wrong) to commit changes and wait for the post-commit hook to see what crap you just produced. i've tried a simple local sphinx invocation - but the gruntfile seems to establish an extra directory and copy stuff there. while that might be fine for website builds, a direct call like
sphinx-build <root_ws_dir> -o html
should be possible somehow.The text was updated successfully, but these errors were encountered: