From ca120a68530ba94343b9fe2e1f548d6ff047307b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alberto=20Mart=C3=ADnez?=
Date: Thu, 28 Mar 2024 15:59:46 +0100
Subject: [PATCH] [IMP] document_page_access_group: pre-commit auto fixes
---
document_page_access_group/README.rst | 26 +++++++++----------
document_page_access_group/pyproject.toml | 3 +++
.../readme/CONTRIBUTORS.md | 2 ++
.../readme/CONTRIBUTORS.rst | 2 --
.../{DESCRIPTION.rst => DESCRIPTION.md} | 0
.../readme/{USAGE.rst => USAGE.md} | 6 ++---
.../static/description/index.html | 12 ++++-----
7 files changed, 27 insertions(+), 24 deletions(-)
create mode 100644 document_page_access_group/pyproject.toml
create mode 100644 document_page_access_group/readme/CONTRIBUTORS.md
delete mode 100644 document_page_access_group/readme/CONTRIBUTORS.rst
rename document_page_access_group/readme/{DESCRIPTION.rst => DESCRIPTION.md} (100%)
rename document_page_access_group/readme/{USAGE.rst => USAGE.md} (57%)
diff --git a/document_page_access_group/README.rst b/document_page_access_group/README.rst
index 0d4023d5..173059a1 100644
--- a/document_page_access_group/README.rst
+++ b/document_page_access_group/README.rst
@@ -17,13 +17,13 @@ Document Page Access Group
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github
- :target: https://github.com/OCA/knowledge/tree/16.0/document_page_access_group
+ :target: https://github.com/OCA/knowledge/tree/17.0/document_page_access_group
:alt: OCA/knowledge
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_access_group
+ :target: https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-0-document_page_access_group
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
- :target: https://runboat.odoo-community.org/builds?repo=OCA/knowledge&target_branch=16.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/knowledge&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -39,9 +39,9 @@ document pages.
Usage
=====
-To select the users that have access to a given document page
-you need to open a document, go to the 'Security' tab
-and select which groups will have access.
+To select the users that have access to a given document page you need
+to open a document, go to the 'Security' tab and select which groups
+will have access.
Only users that belong to the 'document_knowledge / Manager' group can
manage access groups to documents.
@@ -55,7 +55,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues `_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -63,18 +63,18 @@ Credits
=======
Authors
-~~~~~~~
+-------
* Sygel
Contributors
-~~~~~~~~~~~~
+------------
-* Manuel Regidor
-* Alberto Martínez
+- Manuel Regidor
+- Alberto Martínez
Maintainers
-~~~~~~~~~~~
+-----------
This module is maintained by the OCA.
@@ -86,6 +86,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-This module is part of the `OCA/knowledge `_ project on GitHub.
+This module is part of the `OCA/knowledge `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/document_page_access_group/pyproject.toml b/document_page_access_group/pyproject.toml
new file mode 100644
index 00000000..4231d0cc
--- /dev/null
+++ b/document_page_access_group/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/document_page_access_group/readme/CONTRIBUTORS.md b/document_page_access_group/readme/CONTRIBUTORS.md
new file mode 100644
index 00000000..8dc3b6ac
--- /dev/null
+++ b/document_page_access_group/readme/CONTRIBUTORS.md
@@ -0,0 +1,2 @@
+- Manuel Regidor \<\>
+- Alberto Martínez \<\>
diff --git a/document_page_access_group/readme/CONTRIBUTORS.rst b/document_page_access_group/readme/CONTRIBUTORS.rst
deleted file mode 100644
index 947896f8..00000000
--- a/document_page_access_group/readme/CONTRIBUTORS.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-* Manuel Regidor
-* Alberto Martínez
diff --git a/document_page_access_group/readme/DESCRIPTION.rst b/document_page_access_group/readme/DESCRIPTION.md
similarity index 100%
rename from document_page_access_group/readme/DESCRIPTION.rst
rename to document_page_access_group/readme/DESCRIPTION.md
diff --git a/document_page_access_group/readme/USAGE.rst b/document_page_access_group/readme/USAGE.md
similarity index 57%
rename from document_page_access_group/readme/USAGE.rst
rename to document_page_access_group/readme/USAGE.md
index f70e551e..82e3cf74 100644
--- a/document_page_access_group/readme/USAGE.rst
+++ b/document_page_access_group/readme/USAGE.md
@@ -1,6 +1,6 @@
-To select the users that have access to a given document page
-you need to open a document, go to the 'Security' tab
-and select which groups will have access.
+To select the users that have access to a given document page you need
+to open a document, go to the 'Security' tab and select which groups
+will have access.
Only users that belong to the 'document_knowledge / Manager' group can
manage access groups to documents.
diff --git a/document_page_access_group/static/description/index.html b/document_page_access_group/static/description/index.html
index d7141e98..9f108ddd 100644
--- a/document_page_access_group/static/description/index.html
+++ b/document_page_access_group/static/description/index.html
@@ -369,7 +369,7 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c85275090dedd45d4b073c18899cbebce88d61f658db956fc820c3f590d32076
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

This module allows to select which users groups have access to the
document pages.
Table of contents
@@ -387,9 +387,9 @@ document pages.
-
To select the users that have access to a given document page
-you need to open a document, go to the ‘Security’ tab
-and select which groups will have access.
+
To select the users that have access to a given document page you need
+to open a document, go to the ‘Security’ tab and select which groups
+will have access.
Only users that belong to the ‘document_knowledge / Manager’ group can
manage access groups to documents.
If no groups are selected in a document, all users that can access
@@ -400,7 +400,7 @@ document pages can access this document.
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
-feedback.
+
feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -425,7 +425,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-
This module is part of the OCA/knowledge project on GitHub.
+
This module is part of the OCA/knowledge project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.