Code

Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#16422 closed Cleanup/optimization (wontfix)

Warnings when building the docs in epub format

Reported by: aaugustin Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I guess it's ultra-low priority, but it was reported in the comments of #16414:

docs % make epub
sphinx-build -b epub -d _build/doctrees   . _build/epub
Making output directory...
Running Sphinx v1.0.5
loading pickled environment... not yet created
building [epub]: targets for 219 source files that are out of date
updating environment: 219 added, 0 changed, 0 removed
reading sources... [100%] topics/testing                                                                                      
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] topics/testing                                                                                       
writing additional files... genindex py-modindex search
copying images... [100%] internals/_images/djangotickets.png                                                                  
copying downloadable files... [100%] ref/contrib/gis/create_template_postgis-debian.sh                                        
copying static files... done
writing mimetype file...
writing META-INF/container.xml file...
writing content.opf file...
WARNING: unknown mimetype for _downloads/create_template_postgis-1.3.sh, ignoring
WARNING: unknown mimetype for _downloads/create_template_postgis-1.4.sh, ignoring
WARNING: unknown mimetype for _downloads/create_template_postgis-1.5.sh, ignoring
WARNING: unknown mimetype for _downloads/create_template_postgis-debian.sh, ignoring
WARNING: unknown mimetype for _downloads/geodjango_setup.bat, ignoring
WARNING: unknown mimetype for _static/doctools.js, ignoring
WARNING: unknown mimetype for _static/jquery.js, ignoring
WARNING: unknown mimetype for _static/searchtools.js, ignoring
WARNING: unknown mimetype for _static/underscore.js, ignoring
writing toc.ncx file...
writing Django.epub file...
build succeeded, 9 warnings.

Build finished. The epub file is in _build/epub.

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by alexandrul

I get an extra warning, so maybe .xml mimetype should also be added:

WARNING: unknown mimetype for META-INF\container.xml, ignoring

comment:2 Changed 3 years ago by aaugustin

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 3 years ago by aaugustin

  • Resolution set to wontfix
  • Status changed from new to closed

I couldn't find a way to remove these warnings.

Also http://sphinx.readthedocs.org/en/latest/faq.html#epub-info says:

The epub builder is currently in an experimental stage. It has only been tested with the Sphinx documentation itself.

Until it's really supported by Sphinx, WONTFIX.

comment:4 Changed 2 years ago by anonymous

Please find solution!

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.