-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathbootstrap.py
More file actions
32 lines (26 loc) · 867 Bytes
/
bootstrap.py
File metadata and controls
32 lines (26 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python3
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
# Copyright (c) 2025 Alan de Freitas (alandefreitas@gmail.com)
#
# Official repository: https://github.com/cppalliance/mrdocs
#
"""
MrDocs Bootstrap Tool - Entry Point
This script sets up the MrDocs development environment by installing
dependencies, configuring build presets, and generating IDE configurations.
Usage:
python bootstrap.py [options]
python -m util.bootstrap [options]
For help:
python bootstrap.py --help
"""
import runpy
import sys
from pathlib import Path
if __name__ == "__main__":
sys.path.insert(0, str(Path(__file__).parent / "util" / "bootstrap"))
runpy.run_module("src", run_name="__main__", alter_sys=True)