From d760a19735827d28c2f93462cdda3b04e597adbb Mon Sep 17 00:00:00 2001
From: Carlos Roca
Date: Tue, 13 Aug 2024 13:11:49 +0200
Subject: [PATCH] [IMP] web_dialog_size: pre-commit auto fixes
---
web_dialog_size/README.rst | 64 ++++++++++---------
web_dialog_size/pyproject.toml | 3 +
web_dialog_size/readme/CONFIGURE.md | 7 ++
web_dialog_size/readme/CONFIGURE.rst | 6 --
web_dialog_size/readme/CONTRIBUTORS.md | 14 ++++
web_dialog_size/readme/CONTRIBUTORS.rst | 16 -----
web_dialog_size/readme/DESCRIPTION.md | 3 +
web_dialog_size/readme/DESCRIPTION.rst | 3 -
web_dialog_size/readme/ROADMAP.md | 1 +
web_dialog_size/readme/ROADMAP.rst | 1 -
web_dialog_size/static/description/index.html | 41 ++++++------
11 files changed, 84 insertions(+), 75 deletions(-)
create mode 100644 web_dialog_size/pyproject.toml
create mode 100644 web_dialog_size/readme/CONFIGURE.md
delete mode 100644 web_dialog_size/readme/CONFIGURE.rst
create mode 100644 web_dialog_size/readme/CONTRIBUTORS.md
delete mode 100644 web_dialog_size/readme/CONTRIBUTORS.rst
create mode 100644 web_dialog_size/readme/DESCRIPTION.md
delete mode 100644 web_dialog_size/readme/DESCRIPTION.rst
create mode 100644 web_dialog_size/readme/ROADMAP.md
delete mode 100644 web_dialog_size/readme/ROADMAP.rst
diff --git a/web_dialog_size/README.rst b/web_dialog_size/README.rst
index 48acea71b..147457915 100644
--- a/web_dialog_size/README.rst
+++ b/web_dialog_size/README.rst
@@ -17,20 +17,20 @@ Web Dialog Size
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
- :target: https://github.com/OCA/web/tree/16.0/web_dialog_size
+ :target: https://github.com/OCA/web/tree/17.0/web_dialog_size
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_dialog_size
+ :target: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_dialog_size
: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/web&target_branch=16.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
-A module that lets the user expand/restore the dialog box size through a button
-in the upper right corner (imitating most windows managers).
-It also adds draggable support to the dialogs.
+A module that lets the user expand/restore the dialog box size through a
+button in the upper right corner (imitating most windows managers). It
+also adds draggable support to the dialogs.
**Table of contents**
@@ -40,17 +40,19 @@ It also adds draggable support to the dialogs.
Configuration
=============
-By default, the module respects the caller's ``dialog_size`` option.
-If you want to set dialog boxes maximized by default, you need to:
+By default, the module respects the caller's ``dialog_size`` option. If
+you want to set dialog boxes maximized by default, you need to:
-#. Go to *Settings -> Technical -> Parameters -> System Parameters*
-#. Add a new record with the text *web_dialog_size.default_maximize* in
- the *Key* field and the text *True* in the *Value* field
+1. Go to *Settings -> Technical -> Parameters -> System Parameters*
+
+2. | Add a new record with the text *web_dialog_size.default_maximize*
+ in
+ | the *Key* field and the text *True* in the *Value* field
Known issues / Roadmap
======================
-* Allow setting default dialog size per user.
+- Allow setting default dialog size per user.
Bug Tracker
===========
@@ -58,7 +60,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.
@@ -66,7 +68,7 @@ Credits
=======
Authors
-~~~~~~~
+-------
* ACSONE SA/NV
* Therp BV
@@ -75,27 +77,27 @@ Authors
* Amaris
Contributors
-~~~~~~~~~~~~
+------------
-* Anthony Muschang
-* Stéphane Bidoul
-* Holger Brunn
-* Siddharth Bhalgami
-* Wolfgang Pichler
-* David Vidal
-* Quentin Theuret
-* `Tecnativa `_:
+- Anthony Muschang
+- Stéphane Bidoul
+- Holger Brunn
+- Siddharth Bhalgami
+- Wolfgang Pichler
+- David Vidal
+- Quentin Theuret
+- `Tecnativa `__:
- * Pedro M. Baeza
- * Jairo Llopis
- * Ernesto Tejeda
+ - Pedro M. Baeza
+ - Jairo Llopis
+ - Ernesto Tejeda
-* Sudhir Arya
-* Pierre Pizzetta
-* Mantas Šniukas
+- Sudhir Arya
+- Pierre Pizzetta
+- Mantas Šniukas
Maintainers
-~~~~~~~~~~~
+-----------
This module is maintained by the OCA.
@@ -107,6 +109,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/web `_ project on GitHub.
+This module is part of the `OCA/web `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/web_dialog_size/pyproject.toml b/web_dialog_size/pyproject.toml
new file mode 100644
index 000000000..4231d0ccc
--- /dev/null
+++ b/web_dialog_size/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/web_dialog_size/readme/CONFIGURE.md b/web_dialog_size/readme/CONFIGURE.md
new file mode 100644
index 000000000..7626410d5
--- /dev/null
+++ b/web_dialog_size/readme/CONFIGURE.md
@@ -0,0 +1,7 @@
+By default, the module respects the caller's `dialog_size` option. If
+you want to set dialog boxes maximized by default, you need to:
+
+1. Go to *Settings -\> Technical -\> Parameters -\> System Parameters*
+
+2. Add a new record with the text *web_dialog_size.default_maximize* in
+ the *Key* field and the text *True* in the *Value* field
diff --git a/web_dialog_size/readme/CONFIGURE.rst b/web_dialog_size/readme/CONFIGURE.rst
deleted file mode 100644
index 243ecce5a..000000000
--- a/web_dialog_size/readme/CONFIGURE.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-By default, the module respects the caller's ``dialog_size`` option.
-If you want to set dialog boxes maximized by default, you need to:
-
-#. Go to *Settings -> Technical -> Parameters -> System Parameters*
-#. Add a new record with the text *web_dialog_size.default_maximize* in
- the *Key* field and the text *True* in the *Value* field
diff --git a/web_dialog_size/readme/CONTRIBUTORS.md b/web_dialog_size/readme/CONTRIBUTORS.md
new file mode 100644
index 000000000..ace311bb8
--- /dev/null
+++ b/web_dialog_size/readme/CONTRIBUTORS.md
@@ -0,0 +1,14 @@
+- Anthony Muschang \<\>
+- Stéphane Bidoul \<\>
+- Holger Brunn \<\>
+- Siddharth Bhalgami \<\>
+- Wolfgang Pichler \<\>
+- David Vidal \<\>
+- Quentin Theuret \<\>
+- [Tecnativa](https://www.tecnativa.com):
+ - Pedro M. Baeza
+ - Jairo Llopis
+ - Ernesto Tejeda
+- Sudhir Arya \<\>
+- Pierre Pizzetta \<\>
+- Mantas Šniukas \<\>
diff --git a/web_dialog_size/readme/CONTRIBUTORS.rst b/web_dialog_size/readme/CONTRIBUTORS.rst
deleted file mode 100644
index 5f67550d1..000000000
--- a/web_dialog_size/readme/CONTRIBUTORS.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-* Anthony Muschang
-* Stéphane Bidoul
-* Holger Brunn
-* Siddharth Bhalgami
-* Wolfgang Pichler
-* David Vidal
-* Quentin Theuret
-* `Tecnativa `_:
-
- * Pedro M. Baeza
- * Jairo Llopis
- * Ernesto Tejeda
-
-* Sudhir Arya
-* Pierre Pizzetta
-* Mantas Šniukas
diff --git a/web_dialog_size/readme/DESCRIPTION.md b/web_dialog_size/readme/DESCRIPTION.md
new file mode 100644
index 000000000..cd588ffdd
--- /dev/null
+++ b/web_dialog_size/readme/DESCRIPTION.md
@@ -0,0 +1,3 @@
+A module that lets the user expand/restore the dialog box size through a
+button in the upper right corner (imitating most windows managers). It
+also adds draggable support to the dialogs.
diff --git a/web_dialog_size/readme/DESCRIPTION.rst b/web_dialog_size/readme/DESCRIPTION.rst
deleted file mode 100644
index 398e72f50..000000000
--- a/web_dialog_size/readme/DESCRIPTION.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-A module that lets the user expand/restore the dialog box size through a button
-in the upper right corner (imitating most windows managers).
-It also adds draggable support to the dialogs.
diff --git a/web_dialog_size/readme/ROADMAP.md b/web_dialog_size/readme/ROADMAP.md
new file mode 100644
index 000000000..df8c2291b
--- /dev/null
+++ b/web_dialog_size/readme/ROADMAP.md
@@ -0,0 +1 @@
+- Allow setting default dialog size per user.
diff --git a/web_dialog_size/readme/ROADMAP.rst b/web_dialog_size/readme/ROADMAP.rst
deleted file mode 100644
index 8667f3e52..000000000
--- a/web_dialog_size/readme/ROADMAP.rst
+++ /dev/null
@@ -1 +0,0 @@
-* Allow setting default dialog size per user.
diff --git a/web_dialog_size/static/description/index.html b/web_dialog_size/static/description/index.html
index 917d8c029..aa30b0d04 100644
--- a/web_dialog_size/static/description/index.html
+++ b/web_dialog_size/static/description/index.html
@@ -8,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
+:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
+Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { color: grey; } /* line numbers */
+pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@ span.option {
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -368,10 +369,10 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:79e0e0e4e8e452e0ff8721c42fc5cda3c078b0461dfb7bdb454fb4d768c4b6af
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

-A module that lets the user expand/restore the dialog box size through a button
-in the upper right corner (imitating most windows managers).
-It also adds draggable support to the dialogs.
+

+A module that lets the user expand/restore the dialog box size through a
+button in the upper right corner (imitating most windows managers). It
+also adds draggable support to the dialogs.
Table of contents
@@ -388,14 +389,16 @@ It also adds draggable support to the dialogs.
-
By default, the module respects the caller’s dialog_size option.
-If you want to set dialog boxes maximized by default, you need to:
-
-- Go to Settings -> Technical -> Parameters -> System Parameters
-
-- Add a new record with the text web_dialog_size.default_maximize in
-- the Key field and the text True in the Value field
-
+By default, the module respects the caller’s dialog_size option. If
+you want to set dialog boxes maximized by default, you need to:
+
+Go to Settings -> Technical -> Parameters -> System Parameters
+
+
+
Add a new record with the text web_dialog_size.default_maximize
+in
+
the Key field and the text True in the Value field
+
@@ -410,7 +413,7 @@ If you want to set dialog boxes maximized by default, you need to:
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.
@@ -449,11 +452,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
This module is maintained by the OCA.
-

+
+
+
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/web project on GitHub.
+
This module is part of the OCA/web project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.