Fix building the documentation on Django 1.11 and Python 3.

Review Request #10865 — Created Jan. 27, 2020 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

This updates the documentation building process to successfully build
docs against Django 1.11 and Python 3.

The biggest set of changes are to the webapidocs extension, which
wasn't at all compatible with Python 3 before. It's now been updated to
use six in place of incompatible value types and methods and to use
correct string types in places.

The Makefile now runs evolve --execute instead of syncdb when
setting up the database. The database file itself is now specified with
an absolute path, which is important for SQLite.

It also fixes up an app name in the initial fixture for the docs build
to use the modern djblets_-prefixed app name required in Django 1.11.

Built the docs under Python 2.7 and 3.7.

Summary
Fix building the documentation on Django 1.11 and Python 3.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (a358f7f)
Loading...