Bug 439989 - Krita Documentation Website's Chinese Search Result List does not show translated extract text
Summary: Krita Documentation Website's Chinese Search Result List does not show transl...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Documentation (other bugs)
Version First Reported In: unspecified
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Alvin Wong
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-18 00:55 UTC by Tyson Tan
Modified: 2021-08-25 12:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2021-07-18 00:55:35 UTC
On English version of Krita Documentation website, it shows highlighted keyword and extract text in search result list. However, the Chinese version only shows metadata.

From the discussion in Bug 419321 , I reported this issue here as a separated bug.
Comment 1 Alvin Wong 2021-08-25 10:50:06 UTC
Git commit 83556d29f3fd050ee87fb7446f9a7536ef285d85 by Alvin Wong.
Committed on 25/08/2021 at 10:46.
Pushed by alvinwong into branch 'master'.

Change search results to use page HTML instead of rst

This backports some upstream changes, mainly
https://github.com/sphinx-doc/sphinx/pull/4022

The benefit is that now the search results won't display raw
reStructuredText markup that is confusing and that the search results
now show the translated content.

M  +34   -15   theme/static/searchtools.js_t

https://invent.kde.org/documentation/docs-krita-org/commit/83556d29f3fd050ee87fb7446f9a7536ef285d85
Comment 2 Alvin Wong 2021-08-25 10:50:44 UTC
Git commit 1e1a32f6f6d8a6885adb97ab3eeb5a2ec9d907a5 by Alvin Wong.
Committed on 25/08/2021 at 10:50.
Pushed by alvinwong into branch 'krita/5.0'.

Change search results to use page HTML instead of rst

This backports some upstream changes, mainly
https://github.com/sphinx-doc/sphinx/pull/4022

The benefit is that now the search results won't display raw
reStructuredText markup that is confusing and that the search results
now show the translated content.


(cherry picked from commit 83556d29f3fd050ee87fb7446f9a7536ef285d85)

M  +34   -15   theme/static/searchtools.js_t

https://invent.kde.org/documentation/docs-krita-org/commit/1e1a32f6f6d8a6885adb97ab3eeb5a2ec9d907a5
Comment 3 Tyson Tan 2021-08-25 12:31:07 UTC
Thank you Alvin! That's going to help the users big time! Time to finish translating the renewed documentation! XD