Define more documentation search paths (also custom)
Needs ReviewPublic

Authored by ltoscano on Dec 30 2019, 10:15 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

New search paths:

  • (GenericDataLocation)/help
  • a custom path (absolute path), which can be defined during compile time by setting KDOCTOOLS_CUSTOM_DOC_PATH

Also, make sure that the first item looks into
KDE_INSTALL_DOCSBUNDLEDIR anyway.

The addition of <datadir>/help (usually /usr/share/help) paves
the way for using that directory as new default value for
KDE_INSTALL_DOCSBUNDLEDIR.

Test Plan

The test passes and the list of directories contains
the expected entries.

Diff Detail

Repository
R238 KDocTools
Branch
extra-doc-paths
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 20424
Build 20442: arc lint + arc unit
ltoscano created this revision.Dec 30 2019, 10:15 PM
Restricted Application added projects: Frameworks, Documentation. · View Herald TranscriptDec 30 2019, 10:15 PM
Restricted Application added subscribers: kde-doc-english, kde-frameworks-devel. · View Herald Transcript
ltoscano requested review of this revision.Dec 30 2019, 10:15 PM

+1, would allow us to get rid of some downstream patches.

Thanks for that, works for me!

Thanks for that, works for me!

Correction, the tests seem to fail even though runtime is fine. See also https://bugs.gentoo.org/705340