From f5c6185e2a10a50e7c2af5f9c28998ba1c437027 Mon Sep 17 00:00:00 2001 From: ramosv <56368263+ramosv@users.noreply.github.com> Date: Mon, 20 Jan 2025 17:55:27 -0700 Subject: [PATCH 1/2] Remove workflow for docs --- .github/workflows/docs.yml | 47 -------------------------------------- .gitignore | 1 + 2 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index f0fd165..0000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Build and Deploy Documentation - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - build-deploy-docs: - runs-on: ubuntu-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Set up Python 3.10 - uses: actions/setup-python@v4 - with: - python-version: "3.10" - check-latest: true - - - name: Install Dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r requirements-dev.txt - pip install torch - pip install torch_geometric - shell: bash - - - name: Verify Documentation Directory - run: test -d docs/source/ || { echo "Docs source directory missing"; exit 1; } - - - name: Build Documentation - run: | - mkdir -p docs/build/html - sphinx-build -b html docs/source/ docs/build/html/ - shell: bash - - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/build/html diff --git a/.gitignore b/.gitignore index 266b6c2..b41f980 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ bioneuralnet.egg-info # Block sensitive file types globally *.csv *.RData +dpmon_output/ # Sphinx documentation build From 483ddf396679c6e3926ee9b6295164e980ab213a Mon Sep 17 00:00:00 2001 From: ramosv <56368263+ramosv@users.noreply.github.com> Date: Mon, 20 Jan 2025 17:59:29 -0700 Subject: [PATCH 2/2] Added pre commit install to README instructions --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f3eb75c..57d76f2 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,7 @@ If you plan to contribute to BioNeuralNet: git clone https://github.com/UCD-BDLab/BioNeuralNet.git cd BioNeuralNet pip install -r requirements-dev.txt +pre-commit install pytest ```