meson/docs
Dylan Baker 7053d9abfd Allow link_depends to take strings, Files or generated objects. Closes #1172
Currently only strings can be passed to the link_depends argument of
executable and *library, which solves many cases, but not every one.
This patch allows generated sources and Files to be passed as well.

On the implementation side, it uses a helper method to keep the more
complex logic separated from the __init__ method. This also requires
that Targets set their link_depends paths as Files, and the backend is
responsible for converting to strings when it wants them.

This adds tests for the following cases:
- Using a file in a subdir
- Using a configure_file as an input
- Using a custom_target as an input

It does not support using a generator as an input, since currently that
would require calling the generator twice, once for the -Wl argument,
and once for the link_depends.

Also updates the docs.
2017-05-08 20:59:46 +02:00
..
images docs: Import the website and wiki and build with hotdoc 2017-04-26 17:56:33 +03:00
markdown Allow link_depends to take strings, Files or generated objects. Closes #1172 2017-05-08 20:59:46 +02:00
theme/extra docs: Fix link to QT5 in the navbar 2017-04-29 00:13:39 +03:00
README.md docs: Import the website and wiki and build with hotdoc 2017-04-26 17:56:33 +03:00
hotdoc.json Fix web site upload repository. 2017-04-26 22:53:26 +03:00
sitemap.txt doc: Fix several minor typos. 2017-05-03 16:20:53 -04:00

README.md

Building the documentation

  1. Get hotdoc (0.8.9 required)

  2. Run hotdoc:

    hotdoc run

Upload

We are using the git-upload hotdoc plugin which basically removes the html pages and replaces with the new content.

You can simply run:

hotdoc run --git-upload-activate