[all-commits] [llvm/llvm-project] 320ec7: [Documentation] Always use SVG for dot-generated d...

cor3ntin via All-commits all-commits at lists.llvm.org
Fri Apr 25 05:13:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 320ec7fa7f2ca9385e355d3e031e601a9e331e3e
      https://github.com/llvm/llvm-project/commit/320ec7fa7f2ca9385e355d3e031e601a9e331e3e
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M bolt/docs/CMakeLists.txt
    M bolt/docs/doxygen.cfg.in
    M clang-tools-extra/docs/CMakeLists.txt
    M clang-tools-extra/docs/doxygen.cfg.in
    M clang/docs/CMakeLists.txt
    M clang/docs/doxygen.cfg.in
    M flang/docs/CMakeLists.txt
    M flang/docs/doxygen.cfg.in
    M lldb/docs/doxygen.cfg.in
    M llvm/docs/CMake.rst
    M llvm/docs/CMakeLists.txt
    M llvm/docs/doxygen.cfg.in
    M llvm/utils/release/build-docs.sh
    M mlir/docs/CMakeLists.txt
    M mlir/docs/doxygen.cfg.in
    M openmp/docs/CMakeLists.txt
    M openmp/docs/doxygen.cfg.in
    M openmp/runtime/doc/doxygen/config
    M polly/docs/CMakeLists.txt
    M polly/docs/doxygen.cfg.in

  Log Message:
  -----------
  [Documentation] Always use SVG for dot-generated doxygen images. (#136843)

Despite our attempt (build-docs.sh)
to build the documentation with SVG,
it still uses PNG https://llvm.org/doxygen/classllvm_1_1StringRef.html,

and that renders terribly on any high dpi display.

SVG leads to smasller installation and works fine
on all browser (that has been true for _a while_
https://caniuse.com/svg), so this patch just unconditionally build all
dot graphs as SVG in all subprojects and remove the option.



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