mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
meson: docs: Allow configuring simple/website style
The meson docs generation hardcoded using the website style so far. Make it configurable via a meson option. Reviewed-by: Justin Pryzby <pryzby@telsasoft.com> Reported-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com> Discussion: https://postgr.es/m/3fc3bb9b-f7f8-d442-35c1-ec82280c564a@enterprisedb.com
This commit is contained in:
@@ -103,9 +103,10 @@ if xsltproc_bin.found()
|
||||
'--tool', xsltproc_bin, '--',
|
||||
]
|
||||
|
||||
xsltproc_html_flags = xsltproc_flags + [
|
||||
'--param', 'website.stylesheet', '1'
|
||||
]
|
||||
xsltproc_html_flags = xsltproc_flags
|
||||
if get_option('docs_html_style') == 'website'
|
||||
xsltproc_html_flags += ['--param', 'website.stylesheet', '1']
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user