Skip to content

Commit

Permalink
try to build docs locally on gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
BjornFJohansson committed Apr 18, 2024
1 parent a805598 commit da3e7e9
Show file tree
Hide file tree
Showing 30 changed files with 499 additions and 508 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
on: [push, pull_request]

name: "Documentation Status"

permissions:
contents: write

jobs:
build-and-publish:
if: "! contains(github.event.head_commit.message, '[ci skip]')"

timeout-minutes: 10

runs-on: ubuntu-latest

strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install sphinx numpydoc sphinx-autobuild sphinx-rtd-theme
- name: Install this Python package
run: |
pip install .[pydivsufsort]
- name: Session information
run: |
python --version
- name: Build documentation
run: |
cd docs
make html
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs/_build/html
5 changes: 0 additions & 5 deletions docs/BUILD_HTML.sh

This file was deleted.

7 changes: 0 additions & 7 deletions docs/BUILD_RST_FILES.sh

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
320 changes: 0 additions & 320 deletions docs/conf___.py

This file was deleted.

2 changes: 1 addition & 1 deletion docs/cookbook/cookbook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"\n",
"The advantage of documenting with pydna is that the pydna code unambiguously describe the experiment and can be executed to yield the sequence of the of the resulting DNA molecule(s) and all intermediary steps. Pydna code describing a sub cloning is reasonably compact and also meant to be easily readable.\n",
"\n",
"Look [here](https://github.com/BjornFJohansson/pydna-examples) for examples."
"Look [here](https://github.com/MetabolicEngineeringGroupCBMA/pydna-examples?tab=readme-ov-file#pydna-examples) for examples."
]
},
{
Expand Down
Loading

0 comments on commit da3e7e9

Please sign in to comment.