D16350: Allow KHelpCenter to open the right pages of KDE help when KHelpClient is invoked with an anchor

2018-10-24 Thread Yuri Chornoivan
This revision was automatically updated to reflect the committed changes.
Closed by commit R265:8a9cec559211: Allow KHelpCenter to open the right pages 
of KDE help when KHelpClient is… (authored by yurchor).

CHANGED PRIOR TO COMMIT
  https://phabricator.kde.org/D16350?vs=44126=44145#toc

REPOSITORY
  R265 KConfigWidgets

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16350?vs=44126=44145

REVISION DETAIL
  https://phabricator.kde.org/D16350

AFFECTED FILES
  src/khelpclient.cpp

To: yurchor, #documentation, #frameworks, mlaurent
Cc: mlaurent, kde-frameworks-devel, michaelh, ngraham, bruns


D16350: Allow KHelpCenter to open the right pages of KDE help when KHelpClient is invoked with an anchor

2018-10-23 Thread Yuri Chornoivan
yurchor updated this revision to Diff 44126.
yurchor added a comment.


  Save some clazy's kittens by using overloaded arg().

REPOSITORY
  R265 KConfigWidgets

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16350?vs=44014=44126

REVISION DETAIL
  https://phabricator.kde.org/D16350

AFFECTED FILES
  src/khelpclient.cpp

To: yurchor, #documentation, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D16350: Allow KHelpCenter to open the right pages of KDE help when KHelpClient is invoked with an anchor

2018-10-21 Thread Yuri Chornoivan
yurchor created this revision.
yurchor added reviewers: Documentation, Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
yurchor requested review of this revision.

REVISION SUMMARY
  The current KDE help is built up to contain the anchors to its topics in the 
following way
  
  help://.html (for separate pages)
  
  example:
  
  https://docs.kde.org/trunk5/en/applications/dolphin/using-dolphin.html
  
  or
  
  help:// (for sections)
  
  example:
  
  
https://docs.kde.org/trunk5/en/applications/dolphin/location-bar.html#location-bar-bread-crumb
  
  It is impossible to build such schemes with the current code. It works only 
for schemes help://index.html#. This scheme is nowhere to be 
found in our current catalog.

TEST PLAN
  1. Compile and install some application with two non-empty arguments in the 
KHelpClient::invokeHelp call (e.g. Kalzium from git/master).
  2. Open a page with the "Help" button (Tools -> Perform Calculation in 
Kalzium). Push the button.
  3. The corresponding page of the manual should be opened.

REPOSITORY
  R265 KConfigWidgets

REVISION DETAIL
  https://phabricator.kde.org/D16350

AFFECTED FILES
  src/khelpclient.cpp

To: yurchor, #documentation, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns