sphinx/sphinx-build.py

19 lines
448 B
Python
Raw Normal View History

2008-06-23 07:38:21 -05:00
#!/usr/bin/env python
2007-07-23 04:02:25 -05:00
# -*- coding: utf-8 -*-
"""
Sphinx - Python documentation toolchain
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2014-03-01 01:18:16 -06:00
:copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
2009-01-03 05:15:04 -06:00
:license: BSD, see LICENSE for details.
2007-07-23 04:02:25 -05:00
"""
import sys
if __name__ == '__main__':
from sphinx import main, make_main
if sys.argv[1:2] == ['-M']:
sys.exit(make_main(sys.argv))
else:
sys.exit(main(sys.argv))