Files
sphinx/sphinx-build.py

19 lines
448 B
Python
Raw Normal View History

2008-06-23 12:38:21 +00:00
#!/usr/bin/env python
2007-07-23 09:02:25 +00:00
# -*- coding: utf-8 -*-
"""
Sphinx - Python documentation toolchain
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2014-03-01 08:18:16 +01:00
:copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
2009-01-03 12:15:04 +01:00
:license: BSD, see LICENSE for details.
2007-07-23 09:02:25 +00: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))