Contributing

There are many ways you can contribute to SCS, and we welcome all help! Here are some ideas (of varying difficulty):

If you are interested in helping out, please start by opening a GitHub issue so we can track progress and ensure that our priorities align.

Building the docs

The example pages show real solver output, which is generated at build time rather than committed. The C example is built from this source tree, so its output matches the code being documented. The Python examples run the scs package that the interpreter imports, which is the latest release on PyPI in the docs workflow (.github/workflows/docs.yml), so their output, version banner included, is that of the installed Python package and not of this tree. After a release of the C library the Python example pages show the new version only once the Python package has been released and the docs have been built again. Building the docs therefore runs the C and Python examples and needs their dependencies:

pip install -r docs/src/requirements.txt   # the docs themselves (pinned versions)
pip install scs numpy scipy cvxpy          # to run the examples
cd docs/src && make docs

Doxygen is also required: the C API pages are generated from the headers by doxygen, which must be on the PATH. A C compiler and BLAS/LAPACK are required too, for the C example. Sphinx warnings fail the build. Pass SPHINXOPTS= to make to build a work in progress that still warns. Use make example_outputs to regenerate just the captured output, and DOCS_PYTHON=/path/to/venv/bin/python to point at a specific interpreter.

The one exception is examples/qp.m.out, which is committed: refreshing it needs a MATLAB licence, so it is updated by hand.