diff --git a/modules/marketing/CHANGELOG b/modules/marketing/CHANGELOG index a43b702fdc691af442a27cc8eb57fb984528a87c_bW9kdWxlcy9tYXJrZXRpbmcvQ0hBTkdFTE9H..7e738c10dcd1b1cc6532bba30998efb84e2e780e_bW9kdWxlcy9tYXJrZXRpbmcvQ0hBTkdFTE9H 100644 --- a/modules/marketing/CHANGELOG +++ b/modules/marketing/CHANGELOG @@ -3,7 +3,6 @@ -------------------------- * Bug fixes (see mercurial logs for details) - Version 7.0.0 - 2023-10-30 -------------------------- * Bug fixes (see mercurial logs for details) @@ -20,8 +19,9 @@ * Bug fixes (see mercurial logs for details) Version 6.4.0 - 2022-05-02 +-------------------------- * Bug fixes (see mercurial logs for details) * Add support for Python 3.10 * Remove support for Python 3.6 Version 6.2.0 - 2021-11-01 @@ -23,8 +23,9 @@ * Bug fixes (see mercurial logs for details) * Add support for Python 3.10 * Remove support for Python 3.6 Version 6.2.0 - 2021-11-01 +-------------------------- * Bug fixes (see mercurial logs for details) Version 6.0.0 - 2021-05-03 @@ -28,6 +29,7 @@ * Bug fixes (see mercurial logs for details) Version 6.0.0 - 2021-05-03 +-------------------------- * Bug fixes (see mercurial logs for details) Version 5.8.0 - 2020-11-02 @@ -31,7 +33,8 @@ * Bug fixes (see mercurial logs for details) Version 5.8.0 - 2020-11-02 +-------------------------- * Bug fixes (see mercurial logs for details) * Remove support for Python 3.5 Version 5.6.0 - 2020-05-04 @@ -34,7 +37,8 @@ * Bug fixes (see mercurial logs for details) * Remove support for Python 3.5 Version 5.6.0 - 2020-05-04 +-------------------------- * Bug fixes (see mercurial logs for details) Version 5.4.0 - 2019-11-04 @@ -38,6 +42,7 @@ * Bug fixes (see mercurial logs for details) Version 5.4.0 - 2019-11-04 +-------------------------- * Bug fixes (see mercurial logs for details) Version 5.2.0 - 2019-05-06 @@ -41,4 +46,5 @@ * Bug fixes (see mercurial logs for details) Version 5.2.0 - 2019-05-06 +-------------------------- * Initial release diff --git a/modules/marketing/doc/index.rst b/modules/marketing/doc/index.rst index a43b702fdc691af442a27cc8eb57fb984528a87c_bW9kdWxlcy9tYXJrZXRpbmcvZG9jL2luZGV4LnJzdA==..7e738c10dcd1b1cc6532bba30998efb84e2e780e_bW9kdWxlcy9tYXJrZXRpbmcvZG9jL2luZGV4LnJzdA== 100644 --- a/modules/marketing/doc/index.rst +++ b/modules/marketing/doc/index.rst @@ -1,3 +1,4 @@ +################ Marketing Module ################ @@ -1,4 +2,9 @@ Marketing Module ################ -The marketing module defines the fundamentals for marketing modules. +The *Marketing Module* defines the fundamentals for marketing modules. + +.. toctree:: + :maxdepth: 2 + + releases diff --git a/modules/marketing/doc/releases.rst b/modules/marketing/doc/releases.rst new file mode 100644 index 0000000000000000000000000000000000000000..7e738c10dcd1b1cc6532bba30998efb84e2e780e_bW9kdWxlcy9tYXJrZXRpbmcvZG9jL3JlbGVhc2VzLnJzdA== --- /dev/null +++ b/modules/marketing/doc/releases.rst @@ -0,0 +1,7 @@ +.. _releases-index: + +============= +Release notes +============= + +.. include:: ../CHANGELOG diff --git a/modules/marketing/setup.py b/modules/marketing/setup.py index a43b702fdc691af442a27cc8eb57fb984528a87c_bW9kdWxlcy9tYXJrZXRpbmcvc2V0dXAucHk=..7e738c10dcd1b1cc6532bba30998efb84e2e780e_bW9kdWxlcy9tYXJrZXRpbmcvc2V0dXAucHk= 100755 --- a/modules/marketing/setup.py +++ b/modules/marketing/setup.py @@ -11,6 +11,6 @@ def read(fname): - return io.open( + content = io.open( os.path.join(os.path.dirname(__file__), fname), 'r', encoding='utf-8').read() @@ -15,5 +15,8 @@ os.path.join(os.path.dirname(__file__), fname), 'r', encoding='utf-8').read() + content = re.sub( + r'(?m)^\.\. toctree::\r?\n((^$|^\s.*$)\r?\n)*', '', content) + return content def get_require_version(name): @@ -59,7 +62,7 @@ download_url=download_url, project_urls={ "Bug Tracker": 'https://bugs.tryton.org/', - "Documentation": 'https://docs.tryton.org/', + "Documentation": 'https://docs.tryton.org/latest/modules-marketing', "Forum": 'https://www.tryton.org/forum', "Source Code": 'https://code.tryton.org/tryton', },