Change apipie rake task to rebuild API doc indexes only
Ticket #4478 in Foreman 1.8 changed our packages to provide prebuilt API docs for resources, so Foreman packages provide hosts, domains etc, and plugin packages provide things like containers, disks etc.
Packages and the installer then need to call apipie:cache:index to rebuild just the indexes instead of needing to rebuild every resource file, resulting in a large speed boost (especially as API docs are now multilingual).
The apipie_task parameter retains 1.7 compatibility, as all API docs need building on this version.
Change apipie rake task to rebuild API doc indexes only
Ticket #4478 in Foreman 1.8 changed our packages to provide prebuilt API docs
for resources, so Foreman packages provide hosts, domains etc, and plugin
packages provide things like containers, disks etc.
Packages and the installer then need to call apipie:cache:index to rebuild just
the indexes instead of needing to rebuild every resource file, resulting in a
large speed boost (especially as API docs are now multilingual).
The apipie_task parameter retains 1.7 compatibility, as all API docs need
building on this version.
closes GH-198