Fork of Furo Sphinx theme with different colours.
- Added as a git submodule to docs
- Added as an development Poetry dependency
To rebuild CSS files:
npm install
npm run build
This will generatetheme/furo/static/styles/furo.css
Now update the CSS file in the main docs repository
and place it to our Sphinx installation _static/styles
folder:
cp deps/furo/src/furo/theme/furo/static/styles/furo.css source/_static/styles
Because of Sphinx template/static override resolution,
your custom build furo.css
will be picked over the default one.
Edit Furo SASS files directy to change colour variables.
colors-dark
depends on colors
being included at a lower specificity.
Just rebuild theme and then rebuild docs with:
make clean html
git pull changes from Furo master.
Poetry does not recognise Furo filesystem checkout as a Python package and the following fails:
furo = {path = "deps/trade-executor", develop = true}
Thus, the CSS copy hack