用pyreverse生成uml图的简单sphinx扩展
sphinx-pyreverse的Python项目详细描述
从python模块生成uml图的简单sphinx扩展。
安装
安装时使用:
pip install -e git+https://github.com/alendit/sphinx-pyreverse.git#egg=sphinx-pyreverse
用法
将“sphinx_pyreverse”添加到conf.py中(确保它在PYTHONPATH中)
以python模块的路径作为内容调用指令:
.. uml:: {{path to the module}}
需要Pylint的Pyreverse。