Fix building the Djblets 3 documentation.
Review Request #12141 — Created March 11, 2022 and submitted — Latest diff uploaded
There were a few breakages that prevented the Djblets documentation from
building.
The
djblets.settings
module definedSTATIC_URL
to/
, which
conflicted with the effective default ofMEDIA_URL
. Now, both
are set to explicit values.Some old deprecated modules were listed in the code reference
documentation that have since been removed.Imports for
.admin
modules were failing, due to
django.contrib.admin
not being part ofINSTALLED_APPS
. This has
been added, allowing us to import these modules.There are still issues building some of the autodocs, but they don't break
the build. There are reference issues, bad directives/roles, and properties
we can't get method signatures from. These would need to be addressed
separately.
Successfully built the docs.