Fix building documentation for Review Board 5.
Review Request #12153 — Created March 14, 2022 and submitted
The Review Board 5 docs failed to build due to two problems:
ID collisions in the
auth_permissionsfixtures for thedocs.db.
The fixtures no longer contain any permissions, allowing Django to
manage this completely.An
AttributeErrorin thewebapidocsSphinx extension, where
node.slice.valuewas failing whennode.slicewas aName. In
prior versions of Python, we'd get anast.Indexwhen we hit this
code path, but no longer. The code now special-casesast.Index,
and has a suitable fallback for other types.
Successfully built the docs.
Found the spots where the API docs were hitting this code path. Verified
the resulting documentation still looked correct.
| Summary | ID |
|---|---|
| 476745ff35f2329144b9d02cc9a9a1462bab5b66 |