Remus Avram Posted July 18, 2016 Report Share Posted July 18, 2016 Hi all, When I build the ftrack-python-api I am getting this error message: copying static files... WARNING: html_static_path entry u'.../ftrack-python-api/0.15.4/src/ftrack-python-api-0.15.4/doc/_static' does not exist When I open the built documentation, it displays without css format. For each version of ftrack-python-api I have to copy the 'ftrack.css' file here .../doc/html/_static/ Could you please add it in the package? Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted July 19, 2016 Report Share Posted July 19, 2016 Hi Remus, It works fine for me if I checkout the repository and run: python setup.py build_sphinx And then open build/doc/html/index.html Are you doing the same thing? Link to comment Share on other sites More sharing options...
Remus Avram Posted July 19, 2016 Author Report Share Posted July 19, 2016 Hi Mattias, thanks for your answer! Yes, it works for me, too if I clone the repository, but not if I download a version, because the file './doc/_static/ftrack.css' is missing. PS: Is it also possible to add an option to install the documentation after it has been built? Link to comment Share on other sites More sharing options...
Martin Pengelly-Phillips Posted July 19, 2016 Report Share Posted July 19, 2016 @ftrack-team The MANIFEST.in file is missing .css so they are not included in the source distribution. Updating it to the following should fix: recursive-include doc *.rst *.conf *.py *.png *.css Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted July 19, 2016 Report Share Posted July 19, 2016 2 hours ago, Martin Pengelly-Phillips said: The MANIFEST.in file is missing .css so they are not included in the source distribution. Updating it to the following should fix: recursive-include doc *.rst *.conf *.py *.png *.css Cool, thanks! I've added a pull-request to get it solved Link to comment Share on other sites More sharing options...
Remus Avram Posted August 17, 2016 Author Report Share Posted August 17, 2016 Fixed in ftrak-python-api v0.15.5. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.