From abd29dbd4243577d4ae8b63359038ea940519e64 Mon Sep 17 00:00:00 2001 From: Mencken Davidson <76002183+menckend@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:08:05 -0400 Subject: [PATCH] Update mkdocs.yaml --- .github/workflows/mkdocs.yaml | 44 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/mkdocs.yaml b/.github/workflows/mkdocs.yaml index 132d743..09fb584 100644 --- a/.github/workflows/mkdocs.yaml +++ b/.github/workflows/mkdocs.yaml @@ -22,28 +22,28 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Build Docs With Sphinx - shell: bash - run: | - SOURCE_ROOT='docs' - BUILD_ROOT='build' - sudo apt-get install -y graphviz - pip install -U sphinx - # Install extra dependencies if the requirements.txt file exits. - requirements_file="$SOURCE_ROOT/requirements.txt" - if [ -f "$requirements_file" ]; then - printf 'Install dependencies with %s ...', "$requirements_file" - pip install -r "$requirements_file" - fi - config_base_file="$SOURCE_ROOT/conf.py" - # Input & output dirs. - input_dir="$SOURCE_ROOT/" - output_dir="$BUILD_ROOT" - # Sphinx config file - config_file="$input_dir/conf.py" - # Build with Sphinx - printf "\n# Start building for %s ..\n" - sphinx-build -M html "$input_dir" "$output_dir" -D + - name: Build Docs With Sphinx + shell: bash + run: | + SOURCE_ROOT='docs' + BUILD_ROOT='build' + sudo apt-get install -y graphviz + pip install -U sphinx + # Install extra dependencies if the requirements.txt file exits. + requirements_file="$SOURCE_ROOT/requirements.txt" + if [ -f "$requirements_file" ]; then + printf 'Install dependencies with %s ...', "$requirements_file" + pip install -r "$requirements_file" + fi + config_base_file="$SOURCE_ROOT/conf.py" + # Input & output dirs. + input_dir="$SOURCE_ROOT/" + output_dir="$BUILD_ROOT" + # Sphinx config file + config_file="$input_dir/conf.py" + # Build with Sphinx + printf "\n# Start building for %s ..\n" + sphinx-build -M html "$input_dir" "$output_dir" -D - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload Pages Artifact