On Sun, 2017-01-29 at 09:51 +0000, Martin Gansser wrote:
thanks for your answer.
my question is, should i build for both python version the html files
?
cd doc && make html PYTHONPATH=../build/lib.linux-%{_arch}-
%{python2_version}
cd ..
cd doc && make html PYTHONPATH=../build/lib.linux-%{_arch}-
%{python3_version}
Up to you.
Is the documentation going to be different between the python2-kivy and
python3-kivy package?
If yes, then having both python2-kivy-doc and python3-kivy-doc makes
sense.
Otherwise, just build it once as python-kivy-doc (bonus points if you
make it noarch) with whichever version of Python (although python3
being the default now, that's probably the one to use).
There's no need to do more work than necessary.
--
Mathieu