Skip to content

Add argument of logger level #54

Add argument of logger level

Add argument of logger level #54

Workflow file for this run

name: Python api documentation
on:
push:
branches:
- main
- add_docs
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -e .
pip install pdoc3
- name: Build documentation
run: |
source venv/bin/activate
pdoc --html --output-dir docs/ ../cybertensor
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/