Skip to content

Illegal command n as part of a title section (Origin: bugzilla #792012) #6304

@doxygen

Description

@doxygen

status NEW severity critical in component general for ---
Reported in version 1.8.14 on platform Other
Assigned to: Dimitri van Heesch

On 2017-12-28 13:49:17 +0000, Ronan.LeGallic@nagra.com wrote:

From documentation: Simple aliases

> For example defining the following alias: 
>
>  ALIASES += sideeffect="\par Side Effects:\n" 
>
> will allow you to put the command \sideeffect (or @sideeffect) in the
documentation, which will result in a user-defined paragraph with heading
Side Effects:.
>
> Note that you can put \n's in the value part of an alias to insert
newlines.


Code:
  \sideeffect description

Doxygen:
  warning: Illegal command n as part of a title section

Result:
  Side Effects: description

Instead of:
  Side Effects: 
    description

On 2017-12-28 18:45:34 +0000, albert wrote:

The documentation for sideeffect is indeed not up to to date.
The \n has been replaced by ^^

On 2018-01-31 15:06:41 +0000, mark.shackman@cirrus.com wrote:

(In reply to albert from comment # 1)
> The documentation for sideeffect is indeed not up to to date.
> The \n has been replaced by ^^

If the only change is "\n has been replaced by ^^" then what is the point of
this patch?

This change has broken backwards compatibility, and it is not documented as
having this effect. [It's bad practice for a minor release such as this
(X.XX.14) to break existing documentation, even if trying to solve another
issue.]

Please revert the change, and solve any issues without breaking existing,
documented practice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions