Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 606036 Details for
Bug 850551
Sphinx manpage generation is broken with the new docutils package
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to add sphinx admonition labels instead of overriding visit_admonition()
sphinx-docutils-0.10.patch (text/plain), 1.22 KB, created by
Toshio Ernie Kuratomi
on 2012-08-21 20:03:43 UTC
(
hide
)
Description:
Patch to add sphinx admonition labels instead of overriding visit_admonition()
Filename:
MIME Type:
Creator:
Toshio Ernie Kuratomi
Created:
2012-08-21 20:03:43 UTC
Size:
1.22 KB
patch
obsolete
>diff -up Sphinx-1.1.3/sphinx/writers/manpage.py.bak Sphinx-1.1.3/sphinx/writers/manpage.py >--- Sphinx-1.1.3/sphinx/writers/manpage.py.bak 2011-11-01 00:38:44.000000000 -0700 >+++ Sphinx-1.1.3/sphinx/writers/manpage.py 2012-08-21 12:38:33.380808202 -0700 >@@ -72,6 +72,11 @@ class ManualPageTranslator(BaseTranslato > # since self.append_header() is never called, need to do this here > self.body.append(MACRO_DEF) > >+ # Overwrite admonition label translations with our own >+ for label, translation in admonitionlabels.items(): >+ self.language.labels[label] = self.deunicode(translation) >+ >+ > # overwritten -- added quotes around all .TH arguments > def header(self): > tmpl = (".TH \"%(title_upper)s\" \"%(manual_section)s\"" >@@ -193,12 +198,6 @@ class ManualPageTranslator(BaseTranslato > def depart_seealso(self, node): > self.depart_admonition(node) > >- # overwritten -- use our own label translations >- def visit_admonition(self, node, name=None): >- if name: >- self.body.append('.IP %s\n' % >- self.deunicode(admonitionlabels.get(name, name))) >- > def visit_productionlist(self, node): > self.ensure_eol() > names = []
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 850551
: 606036