Skip to content

Commit

Permalink
Update mkdocs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend authored Oct 25, 2024
1 parent dc7bad2 commit abd29db
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abd29db

Please sign in to comment.