summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* yelp-check: Fix validation for DocBook 5 with https redirectsShaun McCance2019-04-261-2/+20
| | | | | | | | At some point, docbook.org starting doing 301 redirects to send all requests thru https. Unfortunately, neither jing nor xmllint likes these redirects, and xmllint doesn't do https at all. So, we have to do some special casing depending on the validator and on whether we have local copies in the catalogs. Fun stuff.
* yelp-build: Don't spit out error about missing stack filesShaun McCance2019-01-131-1/+3
| | | | | Bare sh doesn't have nullglob, so we have to check the existence of filenames we got from iterating over a glob.
* yelp-build: Support Mallard stacksShaun McCance2018-10-201-5/+12
|
* yelp.m4: Disable net access in make checkShaun McCance2018-02-061-2/+2
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=772334 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839549
* Adapt to recent major changes in yelp-xslShaun McCance2017-07-071-77/+9
|
* yelp-check: Add --jing option to validate command to use jingShaun McCance2017-02-221-2/+15
| | | | | | libxml2 doesn't always give the best error messages for validation failures. With this option, you can choose to use jing instead of xmllint, which might give you better error messages in some cases.
* yelp-check: Fixed style list handling in `yelp-check style`Shaun McCance2017-02-141-4/+4
|
* yelp-check: Add style command to list page stylesShaun McCance2017-02-141-0/+132
|
* yelp-check: Remember URLs we already checked in `hrefs`Shaun McCance2016-10-071-3/+16
|
* yelp-check: Added Mallard Sites support for orphans commandShaun McCance2015-07-071-12/+37
|
* yelp-check: Support Mallard Sites for links checkerShaun McCance2015-07-061-26/+43
|
* yelp-check: Support Mallard Sites for media checkerShaun McCance2015-07-051-32/+64
|
* yelp-check: Support Mallard Sites for statusShaun McCance2015-06-301-1/+11
|
* yelp-check: Support Mallard Sites for idsShaun McCance2015-06-191-15/+29
|
* yelp-check: Always quote "$@"Shaun McCance2015-06-191-5/+5
|
* yelp-check: Fix pipe flow for licenseShaun McCance2015-06-191-6/+5
| | | | | | Getting return values for commands in a pipeline is hard. I did it wrong. I'm giving up for now for license, since error exits aren't normal for the license subcommand.
* yelp-check: Support Mallard Sites for hrefsShaun McCance2015-06-181-57/+61
|
* yelp-build: Mallard Sites support for cacheShaun McCance2015-06-171-14/+46
| | | | | | Probably won't gain Sites support for building HTML. Use a site tool like Pintail for that. But being able to generate site-aware cache means more of the yelp-check commands can be site-aware.
* yelp-check: Cleanup after Sites support for validateShaun McCance2015-06-171-29/+6
|
* yelp-check: Mallard Sites support for validateShaun McCance2015-06-151-0/+28
|
* yelp-check: Support Mallard Sites for comments and licenseShaun McCance2015-06-151-37/+104
|
* Convert tabs to spacesShaun McCance2015-06-152-18/+22
|
* Accept -h as well as --helpShaun McCance2015-06-012-16/+16
|
* yelp-build: Drop use of non-portable `expr substr`, #743911Shaun McCance2015-06-011-6/+5
|
* yelp-build: Fix some broken and non-portable expr usage, #743911Shaun McCance2015-05-311-6/+4
| | | | | | | | Both `expr index` and `expr substr` are non-portable. What's more, my usage of `expr index` was wrong, and there was a bug that nobody ever seemed to trip up. Fix it and use portable stuff. Bug #743911 partially addressed.
* yelp-build: Fixed media copying with -i for MallardShaun McCance2015-05-311-1/+1
| | | | | | | When I changed the way yelp-build finds media files for Mallard documents, I forgot to change a variable name in one place. So the -i option to ignore missing media files actually causes it to ignore all media files.
* yelp-check: Check media correctly in subdirs, #727557Shaun McCance2015-04-031-2/+11
|
* Fixing make install issueSebastian Geiger2014-10-091-1/+1
| | | | | | | | | | | * This patch fixes bug #701959 which describes and issue that prevents make install from being successfully run if make has not been run first. * The problem is that make install requires some generated files to be present that are only generated by make. The solution was to add $(_HELP_LC_FILES) as a dependency to install-help so that these files are always generated when make install is run.
* Fixing make distcheck issueSebastian Geiger2014-10-081-1/+1
| | | | | | | | | | | * This patch fixes bug #738142 which describes and issue that prevents make distcheck from being successfully run if make has not been run first. * The problem is that make distcheck requires some generated files to be present that are only generated by make. The solution was to add $(_HELP_LC_FILES) as a dependency to distdir-help-files so that these files are always generated when make distcheck is run.
* yelp-check: Support .page.stub filesShaun McCance2014-06-181-2/+2
|
* yelp-check: Return non-zero for broken hrefsShaun McCance2014-03-251-1/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=726763
* yelp-build: Add option to ignore missing media filesShaun McCance2014-02-031-2/+16
|
* yelp-build: Added -p option for fallback path for filesShaun McCance2014-02-031-6/+52
| | | | | | | | Especially when doing translations, it's common to have only some of the source files in the current directory, and for the rest to just live untranslated in another directory. This makes it much easier to use yelp-build for that case, without manually copying or linking files first.
* yelp.m4: Use AS_HELP_STRING instead of AC_HELP_STRING, #709657Shaun McCance2014-02-021-1/+1
|
* Set LC_ALL instead of LANG for awk, #709354Shaun McCance2014-02-022-4/+4
|
* yelp-check: Added check for missing media filesShaun McCance2014-02-021-1/+42
|
* yelp-check: Added tool to check Mallard page licensesShaun McCance2014-01-291-0/+82
|
* yelp.m4: Add no-lc-dist optionChristian Persch2013-11-251-2/+6
| | | | | | | Add no-lc-dist option to disable disting the generated lc files. Disabled by default for backwards compatibility. https://bugzilla.gnome.org/show_bug.cgi?id=672919
* yelp.m4: Prepare for multiple options caseChristian Persch2013-11-251-9/+9
| | | | Bug #672919.
* yelp.m4: Added no-lc-media-links option for YELP_HELP_INITShaun McCance2013-11-191-2/+16
| | | | | | This replaces the HELP_MEDIA_NODUPS variable I'd previously introduced with a global parameter. It's a bit less flexible, but much less ugly.
* Revert "Added HELP_MEDIA_NODUP and YELP_INIT_HELP"Shaun McCance2013-11-182-45/+3
| | | | | This reverts commit 2e63c1ae0f1bad71c6d7b9bf328f919e6372e719. Going to do an option to YELP_HELP_INIT instead.
* Added HELP_MEDIA_NODUP and YELP_INIT_HELPShaun McCance2013-11-182-3/+45
| | | | | | | | | | | | | | HELP_MEDIA normally craetes symlinks for localized copies that don't exist, but for images this isn't actually necessary. Yelp can load according to the document path. Don't want to break API on HELP_MEDIA because people use it for a few other things. Hence, HELP_MEDIA_NODUP which works just like HELP_MEDIA, except no symlinks on install. Also, if you use HELP_MEDIA_NODUP and somebody builds with an older yelp.m4, the files are just silently ignored. Added YELP_INIT_HELP to replace YELP_HELP_INIT (though YELP_HELP_INIT is not currently deprecated), and YELP_INIT_HELP is stingy about checking minimum version.
* yelp-build: Better Mallard templates to determine files to copyShaun McCance2013-11-021-87/+11
| | | | | | | | Instead of a second run using a stripped down stylesheet, we now use the primary stylesheet, which gives us access to the same logic of which elements to process, including conditional processing. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=709951
* Fix posix shell syntax errorMichael Biebl2013-10-271-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710331
* yelp-check: Use a plain string instead of read for inline xslShaun McCance2013-10-271-4/+4
|
* yelp-new: Be smarter about file pathsShaun McCance2013-10-261-7/+32
| | | | | | | At Kat's request, you can now specify an output in a directory other than the cwd, and yelp-new is smart about figuring out whether to add extensions. Also, when specifying a local path for templates, yelp-new is smarter about extensions.
* yelp-check: Support validate on DocBook 5 documentsShaun McCance2013-10-261-1/+37
|
* yelp-check: Support explicitly allows namespaces in strict validationShaun McCance2013-10-231-1/+11
|
* yelp-build: Fix directionality issues for MallardShaun McCance2013-08-191-13/+21
| | | | | | yelp-build actually uses the cache as the primary input document for Mallard docs. A lot of the globals in l10n don't work, because they don't get their info from each page element.
* Always pass a template to mktemp for BSD compatibilityShaun McCance2013-07-292-12/+12
|