Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1166

Check status when building docs with Sphinx >= 1.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 3.4
    • None
    • None

    Description

      The changes for PYTHON-1154 changed setup.py to call sphinx.main directly. Sphinx 1.3+ calls sys.exit in sphinx.main(), denying us the ability to check return status and print the path to the built docs.

      Change setup.py to call sphinx.build_main when available (Sphinx 1.3+), and fallback to sphinx.main otherwise.

      This is truly a trivial bug. Sphinx still tells you why a build fails. We just can't print the path to the built docs anymore, a trivial regression that likely impacts no one.

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: