[plasma/plasma-desktop] doc/kcontrol: doc: Move recent files related doc to kcm_recentFiles

Méven Car null at kde.org
Fri Dec 1 09:55:57 GMT 2023


Git commit 3ae04f3d6953279871368b14fa0d709efef02c22 by Méven Car, on behalf of Méven Car.
Committed on 01/12/2023 at 10:43.
Pushed by meven into branch 'master'.

doc: Move recent files related doc to kcm_recentFiles

BUG: 477513

M  +1    -0    doc/kcontrol/CMakeLists.txt
A  +7    -0    doc/kcontrol/kcm_recentFiles/CMakeLists.txt
A  +46   -0    doc/kcontrol/kcm_recentFiles/index.docbook
M  +3    -18   doc/kcontrol/kcmactivities/index.docbook

https://invent.kde.org/plasma/plasma-desktop/-/commit/3ae04f3d6953279871368b14fa0d709efef02c22

diff --git a/doc/kcontrol/CMakeLists.txt b/doc/kcontrol/CMakeLists.txt
index cba0292a09..55aaaba53c 100644
--- a/doc/kcontrol/CMakeLists.txt
+++ b/doc/kcontrol/CMakeLists.txt
@@ -3,6 +3,7 @@ ecm_optional_add_subdirectory(colors)
 ecm_optional_add_subdirectory(joystick)
 ecm_optional_add_subdirectory(kcmaccess)
 ecm_optional_add_subdirectory(kcmactivities)
+ecm_optional_add_subdirectory(kcm_recentFiles)
 ecm_optional_add_subdirectory(kcmstyle)
 ecm_optional_add_subdirectory(solid-actions)
 ecm_optional_add_subdirectory(splashscreen)
diff --git a/doc/kcontrol/kcm_recentFiles/CMakeLists.txt b/doc/kcontrol/kcm_recentFiles/CMakeLists.txt
new file mode 100644
index 0000000000..9cb74198c0
--- /dev/null
+++ b/doc/kcontrol/kcm_recentFiles/CMakeLists.txt
@@ -0,0 +1,7 @@
+#[[
+    SPDX-FileCopyrightText: 2023 Méven Car <meven at kde.org>
+
+    SPDX-License-Identifier: GPL-2.0-or-later
+]]
+
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kcontrol/kcm_recentFiles)
diff --git a/doc/kcontrol/kcm_recentFiles/index.docbook b/doc/kcontrol/kcm_recentFiles/index.docbook
new file mode 100644
index 0000000000..930d92c0c9
--- /dev/null
+++ b/doc/kcontrol/kcm_recentFiles/index.docbook
@@ -0,0 +1,46 @@
+<?xml version="1.0" ?>
+<!--
+    SPDX-FileCopyrightText: 2021 Yuri Chornoivan <yurchor at ukr.net>
+    SPDX-FileCopyrightText: 2023 Méven Car <meven at kde.org>
+
+    SPDX-License-Identifier: GPL-2.0-or-later
+-->
+<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN"
+"dtd/kdedbx45.dtd" [
+<!ENTITY % addindex "IGNORE">
+<!ENTITY % English "INCLUDE" > <!-- change language only here -->
+]>
+
+<article id="kcm_recentFiles" lang="&language;">
+<articleinfo>
+    
+<title>Recent Files</title>
+<authorgroup>
+<author><firstname>Yuri</firstname><surname>Chornoivan</surname>
+<email>yurchor at ukr.net</email></author>
+<!-- TRANS:ROLES_OF_TRANSLATORS -->
+</authorgroup>
+
+<date>2023-11-30</date>
+<releaseinfo>Plasma 6.0</releaseinfo>
+
+<keywordset>
+<keyword>KDE</keyword>
+<keyword>Systemsettings</keyword>
+<keyword>Recent Files</keyword>
+</keywordset>
+</articleinfo>
+
+<para>    
+    This module allows configuring the time to <guilabel>Keep history</guilabel> for opened files and clean some tracking data. Use the <guibutton>Clear History</guibutton> drop-down button to make &plasma; <guimenuitem>Forget the last hour</guimenuitem>, <guimenuitem>Forget the last two hours</guimenuitem>, <guimenuitem>Forget a day</guimenuitem>, or <guimenuitem>Forget everything</guimenuitem>.
+</para>
+    
+<para>
+    Below, you can configure the range of applications for memorizing opened documents. Use the <guilabel>For all applications</guilabel> item to store all data, the <guilabel>Do not remember</guilabel> item to switch off storing data, or <guilabel>Only for specific applications</guilabel> item for fine-grained selection (clicking on the application item toggles its current mode).
+</para>
+
+<para>
+    Check the <guilabel>Blacklist applications not on the list</guilabel> item to switch off tracking for all applications that are not on the list.
+</para>
+
+</article>
diff --git a/doc/kcontrol/kcmactivities/index.docbook b/doc/kcontrol/kcmactivities/index.docbook
index 05979bae23..cdd385d650 100644
--- a/doc/kcontrol/kcmactivities/index.docbook
+++ b/doc/kcontrol/kcmactivities/index.docbook
@@ -35,10 +35,9 @@
 </para>
 
 <para>
-    The module is divided into three tabs:
-    <link linkend="activities-main"><guilabel>Activities</guilabel></link>,
-    <link linkend="activities-switching"><guilabel>Switching</guilabel></link>, and
-    <link linkend="activities-privacy"><guilabel>Privacy</guilabel></link>.
+    The module is divided into two tabs:
+    <link linkend="activities-main"><guilabel>Activities</guilabel></link> and
+    <link linkend="activities-switching"><guilabel>Switching</guilabel></link>.
 </para>
 
 <sect3 id="activities-main">
@@ -113,20 +112,6 @@
 </para>
 </sect3>
 
-<sect3 id="activities-privacy">
-<title><guilabel>Privacy</guilabel></title>
-
-<para>
-    This tab allows configuring the time for activities to <guilabel>Keep history</guilabel> and clean some tracking data. Use the <guibutton>Clear History</guibutton> drop-down button to make &plasma; <guimenuitem>Forget the last hour</guimenuitem>, <guimenuitem>Forget the last two hours</guimenuitem>, <guimenuitem>Forget a day</guimenuitem>, or <guimenuitem>Forget everything</guimenuitem>.
-</para>
-<para>
-    Below, you can configure the range of applications for memorizing opened documents in your activities. Use the <guilabel>For all applications</guilabel> item to store all data, the <guilabel>Do not remember</guilabel> item to switch off storing data, or <guilabel>Only for specific applications</guilabel> item for fine-grained selection (clicking on the application item toggles its current mode).
-</para>
-<para>
-    Check the <guilabel>Blacklist applications not on the list</guilabel> item to switch off tracking for all applications that are not on the list.
-</para>
-</sect3>
-
 </sect2>
 
 </sect1>


More information about the kde-doc-english mailing list