linux-install-dependencies.pl
script; you will require sudo rightsunix-get-dependencies.sh
script with an existing DEPENDENCY_CACHE
environment variable or with --cache parameter (OPTIONAL - for tests),
or with PROXYPASS
windows-install-dependencies.cmd
and rename copy to windows-install-dependencies-custom.cmd
set PROXYPASS=XXX:XXX
with appropriate username and passwordunix-build
script, and append --build-unit
and/or --build-validation
if you want to build testsctest-launcher.sh
from the build directorywindows-build.cmd
script, and append --build-unit
and/or --build-validation
if you want to build testsctest-launcher.cmd
from the build directoryThe documentation is build by the sphinx tool and has following dependencies:
The best way to have these dependencies ready is to use a virtualenv in order to make an environment containing these.
Assuming you have virtualenv installed the commands would be:
First time:
mkdir -p ~/virtualenvs
virutalenv ~/virtualenvs/openvibe-doc
source ~/virtualenvs/openvibe-doc/bin/activate
pip install sphinx sphinx_rtd_theme
or on windows
md %USERPROFILE%\virtualenvs
virtualenv %USERPROFILE%\virtualenvs\openvibe-doc
%USERPROFILE%\virtualenvs\openvibe-doc\Scripts\activate.bat
pip install sphinx sphinx_rtd_theme
once the environment is created you only need to execute the third line to activate it.
The documentation main files reside in documentation/sphinx folder and is constructed in the following fashion:
boxes
foldersdoc-tmp/sphinx/build
folder and moved to
doc/OpenViBE Manual
If you wish to build a documentation that extends what is already in the SDK you can do so by adding files into the doc-tmp folder and overwriting indexes.
A few remarks:
The main index file is in doc-tmp/sphinx/source/index.rst
and should almost always be overwritten if you
need to add something to the documentation.
Box list is in doc-tmp/sphinx/source/boxes/index-boxes.rst
. The plugin-inspector can generate this file
for you using the openvibe-plugin-inspector --box-doc-directory <WHERE>
template. It will also generate
templates for all boxes that can be loaded by the kernel.