Packaging sphinx docs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While figuring out how to proceed with development of
pyp2rpm I've realized that I have no idea how to properly
package docs generated by sphinx for python module having
both python2 and python3 subpackages, I've decided to go
with the following pattern:

If package foo has docs generated with sphinx:
- add BuildRequires: python-sphinx
- use sphinx (unversioned binary) to generate docs
- package docs under python-foo-docs subpackage

Apply same behavior for every module, even if module
ships both Python2 and Python3 subpackage its docs will be
generated only once and stored under python-foo-docs.
(Assuming that docs are same for both python major versions.)

What do you think? 

--
Robert Kuska
{rkuska}

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux