Maintainers
+Maintainers
This module is maintained by the OCA.
@@ -475,6 +482,5 @@ diff --git a/document_page/README.rst b/document_page/README.rst
index 8c233970932..a9a9cbce098 100644
--- a/document_page/README.rst
+++ b/document_page/README.rst
@@ -1,7 +1,3 @@
-.. image:: https://odoo-community.org/readme-banner-image
- :target: https://odoo-community.org/get-involved?utm_source=readme
- :alt: Odoo Community Association
-
=============
Document Page
=============
@@ -17,7 +13,7 @@ Document Page
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
-.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
+.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
: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
@@ -61,6 +57,12 @@ To use this module, you need to:
- Click on Pages to create pages and select the previous category to use
the template
+Improve diff of history
+-----------------------
+
+If you want to improve how history is shown, you can install html_diff
+python library. A new comparison method will be installed.
+
Bug Tracker
===========
@@ -83,23 +85,34 @@ Contributors
------------
- Gervais Naoussi
", "
\r\n") - text2 = text2.replace("
", "
\r\n")
- line1 = text1.splitlines(True)
- line2 = text2.splitlines(True)
- if line1 == line2:
- return self.env._("There are no changes in revisions.")
- else:
- diff = difflib.HtmlDiff()
- return diff.make_table(
- line1,
- line2,
- f"Revision-{v1}",
- f"Revision-{v2}",
- context=True,
- )
+ return generate_comparison(text1, text2)
@api.depends("page_id")
def _compute_display_name(self):
diff --git a/document_page/readme/CONTRIBUTORS.md b/document_page/readme/CONTRIBUTORS.md
index 8e410db7c09..2c6614720de 100644
--- a/document_page/readme/CONTRIBUTORS.md
+++ b/document_page/readme/CONTRIBUTORS.md
@@ -8,8 +8,11 @@
- Ernesto Tejeda
- Víctor Martínez
-Trobz
+- Trobz
+ - Dung Tran \< This module allows you to write web pages for internal documentation. Table of contents This module depends on module knowledge. So make sure to have it in your
addons list. To use this module, you need to: If you want to improve how history is shown, you can install html_diff
+python library. A new comparison method will be installed. 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
@@ -421,15 +424,15 @@ Do not contact contributors directly about support or help with technical issues. Trobz The development of this module has been financially supported by:Document Page
-
-
-
-
-
Document Page
-
+
Installation
+Installation
Usage
+Usage
+Usage
Improve diff of history
+Bug Tracker
+Bug Tracker
Bug Tracker
Credits
+Credits
Contributors
+Contributors
-
-Contributors
+
+
+
+Other credits
+Other credits
Other credits