mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix: ambiguous description for epub3_page_progression_direction conf value.
This commit is contained in:
parent
d38b3ff2a0
commit
905cbd09ed
@ -1387,8 +1387,12 @@ the `Dublin Core metadata <http://dublincore.org/>`_.
|
||||
.. confval:: epub3_page_progression_direction
|
||||
|
||||
The global direction in which the content flows.
|
||||
Allowed values are ltr (left-to-right), rtl (right-to-left) and default.
|
||||
The default value is ``'ltr'``.
|
||||
Allowed values are ``'ltr'`` (left-to-right), ``'rtl'`` (right-to-left) and
|
||||
``'default'``. The default value is ``'ltr'``.
|
||||
|
||||
When the ``'default'`` value is specified, the Author is expressing no
|
||||
preference and the Reading System may chose the rendering direction. This
|
||||
value must be assumed when the attribute is not specified.
|
||||
|
||||
.. versionadded:: 1.4
|
||||
|
||||
|
@ -120,7 +120,7 @@ class Epub3Builder(EpubBuilder):
|
||||
metadata['description'] = self.esc(self.config.epub3_description)
|
||||
metadata['contributor'] = self.esc(self.config.epub3_contributor)
|
||||
metadata['page_progression_direction'] = self.esc(
|
||||
self.config.epub3_page_progression_direction)
|
||||
self.config.epub3_page_progression_direction) or 'default'
|
||||
return metadata
|
||||
|
||||
def new_navlist(self, node, level):
|
||||
|
Loading…
Reference in New Issue
Block a user