gecko-dev/tools
Andrew Halberstadt c52efbdc58 Bug 1410424 - [docs] Support live reloading with |mach doc| r=mshal
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
2018-04-06 10:52:56 -04:00
..
bloatview
clang-tidy Bug 1452098 - Remove the checker clang-analyzer-security.insecureAPI.gets r=andi 2018-04-06 16:09:20 +02:00
code-coverage Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian 2018-02-07 09:24:15 +00:00
compare-locales bug 1382005, update compare-locales to 2.1, r=glandium 2017-09-18 18:31:24 +02:00
coverity Bug 1412048 - Remove NS_RUNTIMEABORT. r=froydnj 2017-10-24 23:41:15 -07:00
docs Bug 1410424 - [docs] Support live reloading with |mach doc| r=mshal 2018-04-06 10:52:56 -04:00
fuzzing Bug 1452625 - bumped in-tree libFuzzer to latest version; r=decoder 2018-04-09 10:00:54 -04:00
jprof Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
leak-gauge Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8 2017-10-15 20:50:39 +01:00
lint Bug 1455451 - Codespell: enable the autofix (with --fix) r=ahal 2018-04-19 23:41:57 +02:00
power Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
profiler Bug 1455155 - Include SystemGroup.h in platform.cpp. r=mstange 2018-04-19 13:03:37 +09:00
quitter Bug 1448070 Sign quitter.xpi as privileged r=kmag 2018-03-26 10:57:04 -07:00
rb Bug 1438839 - Fix the remaining flake8 issues by hand r=ahal 2018-03-15 11:34:03 +01:00
rewriting Bug 1449244 Remove SphinxBase r=drno 2018-03-27 12:04:10 -05:00
tryselect Bug 1443974: add a template to run try jobs at 'low' priority; r=ahal 2018-04-02 16:53:05 +00:00
update-packaging Backed out 3 changesets (bug 1439860, bug 1441867, bug 1446110) for breaking update packaging for thunderbird. 2018-04-05 13:48:38 -06:00
mach_commands.py Bug 1405554 - Merge clang-format with clang-tidy under the same package from toolchains. r=gps 2018-02-09 09:01:17 +02:00
moz.build Bug 1436802 - [lint] Add some tests for the flake8 linter integration r=andi 2018-03-22 17:24:15 -04:00