[IMP] conf.py, *: interpolate the version and releases in the content

This commit replaces hard-coded occurrences of the version and of the
last, current and next releases' version with placeholders interpolated
at build time to avoid manually updating these after each freeze.

task-2917614

closes odoo/documentation#3149

X-original-commit: 359ab4d028
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Antoine Vandevenne (anv)
2022-11-25 16:30:48 +00:00
parent 3a25106e41
commit 0a272f64ce
17 changed files with 91 additions and 70 deletions
@@ -249,10 +249,10 @@ Here are some useful Git commands for your day-to-day work.
.. code-block:: console
$ cd $HOME/src/odoo
$ git switch saas-15.2
$ git switch {BRANCH}
$ cd $HOME/src/enterprise
$ git switch saas-15.2
$ git switch {BRANCH}
- Fetch and rebase:
@@ -260,11 +260,11 @@ Here are some useful Git commands for your day-to-day work.
$ cd $HOME/src/odoo
$ git fetch --all --prune
$ git rebase --autostash odoo/saas-15.2
$ git rebase --autostash odoo/{BRANCH}
$ cd $HOME/src/enterprise
$ git fetch --all --prune
$ git rebase --autostash enterprise/saas-15.2
$ git rebase --autostash enterprise/{BRANCH}
Code Editor
-----------