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

Check status when building docs with Sphinx >= 1.3

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: