31
Documentation and Translation / Re: Help building documentation
« on: November 28, 2019, 12:58:59 am »
Have tried to use virtualenv on Arch like so:
I think I have done it the way it supposed to be done.
I'm presented with an error I have already filed a bug report for a long time ago, but maybe the dev don't think it's urgent I don't know
So for now until this is fixed I'm sticking to systemd-nspawn which has done a good job so far.
The bug-report: https://github.com/blockdiag/sphinxcontrib-nwdiag/issues/2
edit: The bug in sphinxcontrib-nwdiag has been solved and so the commands in this post work as expected again.
Depending on your environment you should probably use python-virtualenv in the first place and use systemd-nspawn only as a last resort.
Greetings, mark
Code: [Select]
python -m venv venv
source venv/bin/activate
git clone https://github.com/qinohe/docs
pip install --upgrade pip
pip install -r requirements.txt
make html
I think I have done it the way it supposed to be done.
I'm presented with an error I have already filed a bug report for a long time ago, but maybe the dev don't think it's urgent I don't know
So for now until this is fixed I'm sticking to systemd-nspawn which has done a good job so far.
The bug-report: https://github.com/blockdiag/sphinxcontrib-nwdiag/issues/2
edit: The bug in sphinxcontrib-nwdiag has been solved and so the commands in this post work as expected again.
Depending on your environment you should probably use python-virtualenv in the first place and use systemd-nspawn only as a last resort.
Greetings, mark