Make sphinx-build work correctly

Bug #954718 reported by Andrea Crotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Undecided
Unassigned

Bug Description

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.

Tags: mailman3

Related branches

Revision history for this message
Barry Warsaw (barry) wrote :

The branch was merged but this bug wasn't marked Fixed Released. It was included in 3.0b1.

Changed in mailman:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.