mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
docs: site.xsl: Use separate 'asset_href_base' and 'link_href_base'
While our main page uses same argument for both to ensure that the linking works also when browsed locally sub-projects such as libvirt-wiki and libvirt-security-notice will want to pull 'site.xsl' as is into their build assets. Pass both arguments via the build system so that we don't have to carry distinct instances. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -42,7 +42,8 @@ foreach data : html_xslt_gen
|
||||
'--stringparam', 'pagesrc', data.get('source', ''),
|
||||
'--stringparam', 'builddir', meson.project_build_root(),
|
||||
'--stringparam', 'timestamp', docs_timestamp,
|
||||
'--stringparam', 'href_base', data.get('href_base', ''),
|
||||
'--stringparam', 'link_href_base', data.get('href_base', ''),
|
||||
'--stringparam', 'asset_href_base', data.get('href_base', ''),
|
||||
'--nonet',
|
||||
site_xsl,
|
||||
'@INPUT@',
|
||||
|
||||
@@ -53,7 +53,8 @@ foreach data : html_xslt_gen
|
||||
'--stringparam', 'pagesrc', data.get('source', ''),
|
||||
'--stringparam', 'builddir', meson.project_build_root(),
|
||||
'--stringparam', 'timestamp', docs_timestamp,
|
||||
'--stringparam', 'href_base', data.get('href_base', ''),
|
||||
'--stringparam', 'link_href_base', data.get('href_base', ''),
|
||||
'--stringparam', 'asset_href_base', data.get('href_base', ''),
|
||||
'--nonet',
|
||||
site_xsl,
|
||||
'@INPUT@',
|
||||
|
||||
Reference in New Issue
Block a user