mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
21 lines
438 B
Python
21 lines
438 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
Sphinx - Python documentation toolchain
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
:copyright: 2007 by Georg Brandl.
|
|
:license: Python license.
|
|
"""
|
|
|
|
import sys
|
|
|
|
if __name__ == '__main__':
|
|
from sphinx import main
|
|
try:
|
|
sys.exit(main(sys.argv))
|
|
except Exception:
|
|
import traceback
|
|
traceback.print_exc()
|
|
import pdb
|
|
pdb.post_mortem(sys.exc_traceback)
|