proxmox-backup/docs/_ext
Thomas Lamprecht bfa0893b34 docs: scan refs: cast _StrPath type explicitly to str
To fix the following exception one gets with the Sphinx and Python
versions from Trixie:

  File "/home/tom/sources/others/pbs/proxmox-backup/build/docs/_ext/proxmox-scanrefs.py", line 92, in write_doc
    filename_html = re.sub('.rst', '.html', filename)
  File "/usr/lib/python3.13/re/__init__.py", line 208, in sub
    return _compile(pattern, flags).sub(repl, string, count)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  TypeError: expected string or bytes-like object, got '_StrPath'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-06-16 13:59:37 +02:00
..
proxmox-scanrefs.py docs: scan refs: cast _StrPath type explicitly to str 2025-06-16 13:59:37 +02:00