docs_urlbase
Gervase Markham <[email protected]> Wed, 17 Dec 2014 10:49:08 +0000
| Newsgroups | gmane.comp.bug-tracking.bugzilla.devel |
|---|---|
| Message-ID | <[email protected]> |
We are now encouraging people to get their Bugzilla installs from a stable branch in git. Git does not have the HTML docs checked in - they need to be built. The current default value of docs_urlbase is 'docs/%lang%/html/', which means that by default, when you install Bugzilla, all the Help links will 404. We should make docs_urlbase more intelligent, such that it uses HTML docs on the local filesystem if they exist (i.e. have been built) but otherwise falls back to the appropriate version on ReadTheDocs, based on BUGZILLA_VERSION. (Do we have a way for Bugzilla to tell that the version it's running is the current unreleased trunk? If not, that case might be a bit tricky.) Could we even eliminate the parameter altogether in favour of this scheme, or is there some use case I'm missing? If that seems like too much for the 5.0 branch, we should change the default there to the 5.0 branch docs on ReadTheDocs, and document in the parameter description what value to use for local docs. Comments? Gerv _______________________________________________ dev-apps-bugzilla mailing list dev-apps-bugzilla-CzyLcWPZiU5YsZ3hbOqMTti2O/[email protected] https://lists.mozilla.org/listinfo/dev-apps-bugzilla - To view or change your list settings, click here: <http://bugzilla.org/cgi-bin/mj_wwwusr?user=gcbd-developers-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org>