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:
parent
e5f0481351
commit
09c1f3b9fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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/',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue