Пример #1
0
def setup(sphinx):
    import six
    print('Six version: %s' % six.__version__)
    from minizinc_lexer import MznLexer, MznDefLexer
    sphinx.add_lexer("minizinc", MznLexer())
    sphinx.add_lexer("minizincdef", MznDefLexer())
    sphinx.add_stylesheet("style.css")
Пример #2
0
def setup(sphinx):
    from minizinc_lexer import MznLexer, MznDefLexer
    sphinx.add_lexer("minizinc", MznLexer())
    sphinx.add_lexer("minizincdef", MznDefLexer())
    sphinx.add_stylesheet("style.css")
Пример #3
0
def setup(sphinx):
    from minizinc_lexer import MznLexer
    from pymzn_lexer import PyMznLexer
    sphinx.add_lexer("minizinc", MznLexer())
    sphinx.add_lexer("pymzn", PyMznLexer())
    sphinx.add_stylesheet("style.css")