mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
c52efbdc58
This changes the default to opening a livereload webserver after doc generation (as opposed to opening the index file). Any changes to the specified path will result in a rebuild and refresh of the browser. For example, if you run: ./mach doc tools/lint The linting docs will be built, served and opened in a browser. Modifying any file under 'tools/lint/docs' will refresh the browser with your changes. To disable this behaviour and simply open the index file, you can pass in '--no-serve'. The '--no-open' flag will continue to work (both with http and the file system). One caveat to this patch is that when generating the root docs (by running |mach doc|), we don't watch all possible doc paths (just the root one under 'tools/docs/'). This will probably be fixed in the follow-up bug 1454640. MozReview-Commit-ID: FQecuePM0zZ --HG-- extra : rebase_source : 3240402d7505e99a4f64dada309b1baec78306e1 |
||
---|---|---|
.. | ||
bloatview | ||
clang-tidy | ||
code-coverage | ||
compare-locales | ||
coverity | ||
docs | ||
fuzzing | ||
jprof | ||
leak-gauge | ||
lint | ||
power | ||
profiler | ||
quitter | ||
rb | ||
rewriting | ||
tryselect | ||
update-packaging | ||
mach_commands.py | ||
moz.build |