gnome.yelp(): Default symlink_media to true

This commit is contained in:
Patrick Griffis 2017-06-09 22:10:36 -04:00
parent 7764c0a7fa
commit a88ad9173a
2 changed files with 4 additions and 2 deletions

View File

@ -127,9 +127,11 @@ This also creates two targets for translations `help-$project-update-po` and `he
* `sources`: list of pages
* `media`: list of media such as images
* `symlink_media`: if media should be symlinked (requires newish yelp) defaults to `false`
* `symlink_media`: if media should be symlinked not copied (defaults to `true` since 0.41.0)
* `languages`: list of languages for translations
Note that very old versions of yelp may not support symlinked media; At least 3.10 should work.
*Added 0.36.0*
### gnome.gtkdoc()

View File

@ -598,7 +598,7 @@ class GnomeModule(ExtensionModule):
langs = mesonlib.stringlistify(kwargs.pop('languages', []))
media = mesonlib.stringlistify(kwargs.pop('media', []))
symlinks = kwargs.pop('symlink_media', False)
symlinks = kwargs.pop('symlink_media', True)
if not isinstance(symlinks, bool):
raise MesonException('symlink_media must be a boolean')