Buck: Add 'withdocs' as an alias for '//:withdocs'
Also expand the documentation in dev-buck to include this build target. Change-Id: I564734ca291b081db6a030978b631ae732b19bc8
This commit is contained in:
parent
28e5237c19
commit
c08d03ebc4
|
@ -5,6 +5,7 @@
|
||||||
docs = //Documentation:html
|
docs = //Documentation:html
|
||||||
gerrit = //:gerrit
|
gerrit = //:gerrit
|
||||||
release = //:release
|
release = //:release
|
||||||
|
withdocs = //:withdocs
|
||||||
|
|
||||||
[buildfile]
|
[buildfile]
|
||||||
includes = //tools/default.defs
|
includes = //tools/default.defs
|
||||||
|
|
|
@ -211,7 +211,7 @@ next time project.py is run:
|
||||||
Documentation
|
Documentation
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
To build the documentation:
|
To build only the documentation:
|
||||||
|
|
||||||
----
|
----
|
||||||
buck build docs
|
buck build docs
|
||||||
|
@ -229,6 +229,18 @@ The html files will also be bundled into `html.zip` in this location:
|
||||||
buck-out/gen/Documentation/html.zip
|
buck-out/gen/Documentation/html.zip
|
||||||
----
|
----
|
||||||
|
|
||||||
|
To build the executable WAR with the documentation included:
|
||||||
|
|
||||||
|
----
|
||||||
|
buck build withdocs
|
||||||
|
----
|
||||||
|
|
||||||
|
The WAR file will be placed in:
|
||||||
|
|
||||||
|
----
|
||||||
|
buck-out/gen/withdocs.war
|
||||||
|
----
|
||||||
|
|
||||||
[[release]]
|
[[release]]
|
||||||
Gerrit Release WAR File
|
Gerrit Release WAR File
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
|
@ -7,9 +7,9 @@ link:rest-api.html[REST API].
|
||||||
|
|
||||||
Please note that this feature is only usable with documentation built-in.
|
Please note that this feature is only usable with documentation built-in.
|
||||||
You'll need to
|
You'll need to
|
||||||
`buck build :withdocs`
|
`buck build withdocs`
|
||||||
or
|
or
|
||||||
`buck build :release`
|
`buck build release`
|
||||||
to test this feature.
|
to test this feature.
|
||||||
|
|
||||||
[[documentation-endpoints]]
|
[[documentation-endpoints]]
|
||||||
|
|
Loading…
Reference in New Issue