[Bug 954718] [NEW] Make sphinx-build work correctly

Andrea Crotti andrea.crotti.0 at gmail.com
Wed Mar 14 05:57:33 CET 2012


Public bug reported:

There is an issue running sphinx-build now, because this function in
conf.py

def index_html():
    import errno
    cwd = os.getcwd()
    try:
        os.chdir('build/sphinx/html')
        os.symlink('README.html', 'index.html')
        print 'index.html -> README.html'
    except OSError as error:
        if error.errno != errno.EEXIST:
            raise
    finally:
        os.chdir(cwd)

tries to chdir to a directory which doesn't exist yet.
Fixing this process should also make the doc building on readthedocs.

** Affects: mailman
     Importance: Undecided
         Status: New


** Tags: mailman3

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/954718

Title:
  Make sphinx-build work correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/954718/+subscriptions


More information about the Mailman-coders mailing list