[all-commits] [llvm/llvm-project] c047a5: [libc][docgen] simplify posix links (#119595)

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Thu Dec 12 10:50:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c047a5b3f6e2295dd74f1e8f17f1a023150b246c
      https://github.com/llvm/llvm-project/commit/c047a5b3f6e2295dd74f1e8f17f1a023150b246c
  Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M libc/docs/headers/assert.rst
    M libc/docs/headers/ctype.rst
    M libc/docs/headers/errno.rst
    M libc/docs/headers/fenv.rst
    M libc/docs/headers/float.rst
    M libc/docs/headers/inttypes.rst
    M libc/docs/headers/locale.rst
    M libc/docs/headers/signal.rst
    M libc/docs/headers/stdlib.rst
    M libc/docs/headers/string.rst
    M libc/docs/headers/strings.rst
    M libc/docs/headers/threads.rst
    M libc/docs/headers/uchar.rst
    M libc/docs/headers/wchar.rst
    M libc/docs/headers/wctype.rst
    M libc/utils/docgen/assert.json
    M libc/utils/docgen/ctype.json
    M libc/utils/docgen/docgen.py
    M libc/utils/docgen/errno.json
    M libc/utils/docgen/fenv.json
    M libc/utils/docgen/float.json
    M libc/utils/docgen/inttypes.json
    M libc/utils/docgen/locale.json
    M libc/utils/docgen/setjmp.json
    M libc/utils/docgen/signal.json
    M libc/utils/docgen/stdlib.json
    M libc/utils/docgen/string.json
    M libc/utils/docgen/strings.json
    M libc/utils/docgen/threads.json
    M libc/utils/docgen/uchar.json

  Log Message:
  -----------
  [libc][docgen] simplify posix links (#119595)

Usually posix functions have individual doc pages, and each header has its own
list of required macro definitions. Use a simpler key of "in-latest-posix" to
signal that the URL convention can be followed.

Add support for a "removed-in-posix-2008" key which will link to the 2004 docs
for functions like bcmp, bcopy, bzero, index, and rindex from strings.h.

I don't want to add all of these links for pthreads.h, so automating this will
make documenting these go much faster.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list