LilyPond Contributor's Guide: 5.7.2 Scripts to create documentation

### 5.7.2 Scripts to create documentation

#### Stripping whitespace and generating menus

Note: This script assumes that the file conforms to our doc policy, in particular with regard to Sectioning commands; a few files still need work in this regard.

To automatically regenerate `@menu` portions and strip whitespace, use:

>     scripts/auxiliar/node-menuify.py FILENAME

If you are adding documentation that requires new menus, you will need to add a blank `@menu` section:

>     @menu
>     @end menu

#### Updating doc with `convert-ly`

Don’t. This should be done by programmers when they add new features. If you notice that it hasn’t been done, complain to `lilypond-devel`.

#### LilyPond — Contributor’s Guide v2.22.2 (stable-branch).