[riot-notifications] [RIOT-OS/RIOT] dist/tools/doccheck: generate exclude_patterns using C.UTF-8 (#16846)

Jean Pierre Dudey notifications at github.com
Tue Sep 14 10:34:39 CEST 2021

### Contribution description

As proposed on https://github.com/RIOT-OS/RIOT/pull/16813#pullrequestreview-752487646 , this changes how the `exclude_pattern` file is generated, using the `C.UTF-8` locale which is quite neutral and is used by default on Debian/Ubuntu.

The exclude file was generated using (on Ubuntu, 20.04):

export LANG=C.UTF-8
export LC_ALL=C.UTF-8
make doc 2> dist/tools/doccheck/exclude_patterns_base
grep "^${PWD}" dist/tools/doccheck/exclude_patterns_base | \
    sed -E -e "s#^${PWD}/(.*:)([0-9]+): #\1DIGITS_MAGIC: #" \
           -e 's/[]\\.$*{}|+?()[^-]/\\&/g' \
           -e 's/:DIGITS_MAGIC:/:[0-9]+:/' | \
        sort -u > dist/tools/doccheck/exclude_patterns
rm dist/tools/doccheck/exclude_patterns_base

### Testing procedure

- `make static-test` should not print Doxygen warnings.

### Issues/PRs references

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * dist/tools/doccheck: generate exclude_patterns using C.UTF-8

-- File Changes --

    M dist/tools/doccheck/exclude_patterns (3384)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210914/fa199ce1/attachment.htm>

More information about the notifications mailing list