From 26df9e8900558bf267bfcc6b3e2a4217bd7b731e Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 28 Mar 2017 16:04:34 +0200 Subject: [PATCH] [FIX] doc: escape correctly code Was rendered 'UNKNOWN NODE title_reference' Closes #16064 --- doc/howtos/backend.rst | 2 +- doc/reference/views.rst | 2 +- doc/setup/deploy.rst | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/howtos/backend.rst b/doc/howtos/backend.rst index f7eae42221c..6f9096439b6 100644 --- a/doc/howtos/backend.rst +++ b/doc/howtos/backend.rst @@ -643,7 +643,7 @@ instead of a single view its ``arch`` field is composed of any number of ``inside`` appends ``xpath``'s body at the end of the matched element ``replace`` - replaces the matched element with the ``xpath``'s body, replacing any `$0` node occurrence + replaces the matched element with the ``xpath``'s body, replacing any ``$0`` node occurrence in the new body with the original element ``before`` inserts the ``xpath``'s body as a sibling before the matched element diff --git a/doc/reference/views.rst b/doc/reference/views.rst index 6fdccb0c8bb..bf4950e8f08 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -97,7 +97,7 @@ how the matched node should be altered: the content of the inheritance spec is appended to the matched node ``replace`` the content of the inheritance spec replaces the matched node. - Any text node containing only `$0` within the contents of the spec will + Any text node containing only ``$0`` within the contents of the spec will be replaced by a complete copy of the matched node, effectively wrapping the matched node. ``after`` diff --git a/doc/setup/deploy.rst b/doc/setup/deploy.rst index 68e5e41e928..ec1a31e0a3c 100644 --- a/doc/setup/deploy.rst +++ b/doc/setup/deploy.rst @@ -34,8 +34,8 @@ accessible Odoo needs a rule to know which one it should use. That is one of the purposes of :option:`--db-filter `: it specifies how the database should be selected based on the hostname (domain) that is being requested. The value is a `regular expression`_, possibly -including the dynamically injected hostname (`%h`) or the first subdomain (`%d`) -through which the system is being accessed. +including the dynamically injected hostname (``%h``) or the first subdomain +(``%d``) through which the system is being accessed. For servers hosting multiple databases in production, especially if ``website`` is used, dbfilter **must** be set, otherwise a number of features will not work @@ -70,7 +70,7 @@ in ``/etc/odoo.conf`` set: of securing your deployment. Once it is correctly working and only matching a single database per hostname, it is strongly recommended to block access to the database manager screens, - and to use the `--no-database-list` startup paramater to prevent listing + and to use the ``--no-database-list`` startup paramater to prevent listing your databases. See also security_.