Adding upstream version 2.2.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
1d36de0179
commit
757b718eff
129 changed files with 16110 additions and 0 deletions
64
doc/readthedocs/meson.build
Normal file
64
doc/readthedocs/meson.build
Normal file
|
@ -0,0 +1,64 @@
|
|||
# Copyright (c) 2022, Dell Inc. or its subsidiaries. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# See the LICENSE file for details.
|
||||
#
|
||||
# This file is part of NVMe STorage Appliance Services (nvme-stas).
|
||||
#
|
||||
# Authors: Martin Belanger <Martin.Belanger@dell.com>
|
||||
#
|
||||
|
||||
pandoc = find_program('pandoc', required: true)
|
||||
|
||||
components = [
|
||||
'conf.py',
|
||||
'Makefile',
|
||||
'make.bat',
|
||||
'index.rst',
|
||||
'environment.txt',
|
||||
'installation.rst',
|
||||
'nvme-stas.rst',
|
||||
'org.nvmexpress.stac.debug.rst',
|
||||
'org.nvmexpress.stac.rst',
|
||||
'org.nvmexpress.staf.debug.rst',
|
||||
'org.nvmexpress.staf.rst',
|
||||
'stacctl.rst',
|
||||
'stacd-index.rst',
|
||||
'stacd.conf.rst',
|
||||
'stacd.rst',
|
||||
'stacd.service.rst',
|
||||
'stafctl.rst',
|
||||
'stafd-index.rst',
|
||||
'stafd.conf.rst',
|
||||
'stafd.rst',
|
||||
'stafd.service.rst',
|
||||
'stas-config.target.rst',
|
||||
'stas-config@.service.rst',
|
||||
'stasadm.rst',
|
||||
'sys.conf.rst',
|
||||
]
|
||||
foreach component : components
|
||||
configure_file(
|
||||
input: component,
|
||||
output: component,
|
||||
configuration: conf,
|
||||
)
|
||||
endforeach
|
||||
|
||||
foreach tuple: html_files
|
||||
stem = tuple[0]
|
||||
html_file = tuple[1]
|
||||
rst = '_' + stem + '.rst'
|
||||
custom_target(
|
||||
rst,
|
||||
input: html_file,
|
||||
output: rst,
|
||||
build_by_default: true,
|
||||
command: [
|
||||
pandoc,
|
||||
'-f', 'html',
|
||||
'-t', 'rst',
|
||||
'-o', '@OUTPUT@',
|
||||
'@INPUT@'
|
||||
]
|
||||
)
|
||||
endforeach
|
Loading…
Add table
Add a link
Reference in a new issue