diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-10-04 22:19:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 22:19:07 +0300 |
commit | 2d65472c725f18b343aee00bf91b9ac98c08b95f (patch) | |
tree | 530a0d6ffee4ee96e875302cbeba660c93056d41 /docs/genrefman.py | |
parent | 75dd9fb67f793c687fa45744f3b276e35c87ca09 (diff) | |
parent | b672ebca886dd6dc9b0f775eb769764750fd302c (diff) | |
download | meson-2d65472c725f18b343aee00bf91b9ac98c08b95f.zip meson-2d65472c725f18b343aee00bf91b9ac98c08b95f.tar.gz meson-2d65472c725f18b343aee00bf91b9ac98c08b95f.tar.bz2 |
Merge pull request #8960 from mensinda/yamlDoc
Reference Manual 2.0
Diffstat (limited to 'docs/genrefman.py')
-rwxr-xr-x | docs/genrefman.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/genrefman.py b/docs/genrefman.py new file mode 100755 index 0000000..2510ec5 --- /dev/null +++ b/docs/genrefman.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python3 + +# Copyright 2021 The Meson development team + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Hack to make relative imports to mlog possible +from pathlib import Path +import sys +root = Path(__file__).absolute().parents[1] +sys.path.insert(0, str(root)) + +# Now run the actual code +from refman.main import main + +if __name__ == '__main__': + raise SystemExit(main()) |