This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from docutils import nodes | |
from sphinx.util.docfields import TypedField | |
from sphinx import addnodes | |
def patched_make_field(self, types, domain, items): | |
def handle_item(fieldarg, content): | |
par = nodes.paragraph() | |
par += addnodes.literal_strong('', fieldarg) | |
#par += self.make_xref(self.rolename, domain, fieldarg, | |
# addnodes.literal_strong) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os.path import exists | |
from array import array | |
from java.io import StringReader, File | |
from javax.xml.transform.sax import SAXSource | |
from javax.xml.transform.stream import StreamSource | |
from org.xml.sax import InputSource | |
from net.sf.saxon.s9api import (QName, Processor, Serializer, ItemType, OccurrenceIndicator, | |
XdmAtomicValue, ExtensionFunction, SequenceType) |