Skip to content

add: baseClass import changed #2

add: baseClass import changed

add: baseClass import changed #2

Workflow file for this run

name: Generate Documentation
on:
push:
branches:
- main # Adjust to your default branch
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the repository
- name: Check out code
uses: actions/checkout@v3
# Step 2: Set up Python environment
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9" # Adjust to your preferred Python version
# Step 3: Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pdoc
# Step 4: Generate documentation
- name: Generate documentation
run: |
mkdir -p docs
pdoc src/ts_shape --output-dir docs
# Step 5: Deploy documentation to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs