Installation#
Prerequisites#
To run this extension setup a sphinx documentation project that is using the sphinx-needs extension.
Installation of the extension#
Open your Sphinx documenation project into your vscode workspace.
Install the
Open-Needs IDEextension from the official VS Code marketplace (extension tab on the left side fo the IDE).Open the
Settingspage[Ctrl + ,]and search foropen-needs:Update the Build Path. E.g.
/home/my-user/my-project/docs/_build/need.Update the Docs Root. E.g.
/home/my-user/my-project/docsUpdate the pythonPath. E.g.
/home/my-user/my-project/.venv/bin/python. Default is system python path. E.g./usr/bin/python.Update the confPath. E.g.
/home/my-user/my-project/docs/my-conf.py. Default is conf.py in document root. E.g./home/my-user/my-project/docs/conf.py.
Open a reStructuredText file (*.rst) in workspace to trigger the activation of the extension.
The first time you run the extension it will ask for permission to install the Python package needls. Click
Yesto trigger the installation.
Alternatively you can install needls manually:
Install the python package:
python -m pip install pip --upgrade python -m pip install git+https://github.com/open-needs/open-needs-ide