gendocs.py

来自「The sources of IDAPython, a plugin for I」· Python 代码 · 共 26 行

PY
26
字号
#------------------------------------------------------------
# gendoc.py: Generate an API cross-reference for IDAPython
#------------------------------------------------------------
__author__ = "Gergely Erdelyi <dyce@d-dome.net>"

import epydoc.cli

# This is a small hack to prevent epydoc from exiting the whole
# IDA process in case something goes wrong.
def exit(eval):
    print "not exiting"
epydoc.cli.sys.exit = exit

# Fill in the command-line arguments
epydoc.cli.optparse.sys.argv = [ 'epydoc', 
                                 '--no-sourcecode', 
                                 '-u', 'http://www.d-dome.net/idapython/',
                                 '--navlink', '<a href="http://www.d-dome.net/idapython/reference/">IDAPython Reference</a>',
                                 '--no-private',
                                 '--simple-term',
                                 '-o', 'idapython-reference-%d.%d.%d' % (IDAPYTHON_VERSION[:3]),
                                 '--html', 
                                 'idc', 'idautils', 'idaapi' ]
# Generate the documentation
epydoc.cli.cli()

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?