diff --git a/.github/workflows/build-wheel.yml b/.github/workflows/build-wheel.yml index 519916b..db81217 100644 --- a/.github/workflows/build-wheel.yml +++ b/.github/workflows/build-wheel.yml @@ -1,10 +1,15 @@ name: Build wheels -on: [push] +on: + push: + paths: + # only build wheels when the package code changes + - 'woc/**' + - 'setup.py' jobs: build-wheel: - name: Wheel + name: wheels runs-on: ubuntu-latest # only on default branch if: github.ref_name == github.event.repository.default_branch @@ -31,7 +36,7 @@ jobs: path: wheelhouse/*.whl build-sdist: - name: Sdist + name: sdist runs-on: ubuntu-latest # only on default branch if: github.ref_name == github.event.repository.default_branch diff --git a/woc/__init__.py b/woc/__init__.py index 33fa6a4..cb65200 100644 --- a/woc/__init__.py +++ b/woc/__init__.py @@ -5,15 +5,16 @@ # @date: 2024-01-17 """ -# Quickstart +# To Use .. include:: ../README.md -:start-after: # python-woc +:start-line: 3 +# To Contribute +.. include:: ../docs/contributing.md # World of Code Tutorial .. include:: ../docs/tutorial.md # World of Code DataFormat .. include:: ../docs/DataFormat.md -# Contributing -.. include:: ../docs/contributing.md + """ # noqa: D205 __all__ = ["local", "tch", "detect", "objects"]