docs/build_docs.py
#
#
import argparse
import fnmatch
import os
import re
import shlex
import shutil
import sys
from collections import defaultdict
from contextlib import contextmanager
from glob import glob
from subprocess import run
from tempfile import NamedTemporaryFile, TemporaryDirectory
from typing import Dict, List, Optional, Tuple
from tabulate import tabulate
from docs.exts.docs_build import dev_index_generator, lint_checks  
from docs.exts.docs_build.errors import (  
    DocBuildError,