docs: use os.pardir

I'm not really sure if this ever matters in real-life, but os.pardir
exists and we should probably use it instead of hard-coding it to '..'.

Fixes: 67485efd65 ("docs: prepare for hawkmoth")
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11494>
This commit is contained in:
Erik Faye-Lund
2023-10-31 06:03:20 +01:00
committed by Marge Bot
parent e5f0481351
commit 09c1f3b9fd

View File

@@ -218,7 +218,7 @@ graphviz_output_format = 'svg'
# -- Options for hawkmoth -------------------------------------------------
hawkmoth_root = os.path.abspath('..')
hawkmoth_root = os.path.abspath(os.pardir)
hawkmoth_clang = [
'-Idocs/header-stubs/',
'-Iinclude/',