(self)
return [nodes.raw('', res, format='html')]
Restructured text extension for including CSS and other libraries
Restructured text extension for including CSS and other libraries
Restructured text extension for including CSS and other libraries
def run(self):

        """ Restructured text extension for including CSS and other libraries """
        self.options['address'] = os.path.relpath(conf.odsa_path,conf.ebook_path).replace('\\', '/') + '/' + self.arguments[0]
        res = CODE % self.options
        return [nodes.raw('', res, format='html')]
def run ( self ) : self . options [ 'address' ] = os . path . relpath ( conf . odsa_path , conf . ebook_path ) . replace ( '\\' , '/' ) + '/' + self . arguments [ 0 ] res = CODE % self . options return [ nodes . raw ( '' , res , format = 'html' ) ]