diff --git a/.github/workflows/build_mkdocs.yaml b/.github/workflows/build_mkdocs.yaml deleted file mode 100644 index e41aadf..0000000 --- a/.github/workflows/build_mkdocs.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: mkdocs_build -on: - workflow_dispatch: - push: - paths: - - "docs/**" -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: 3.9 - - run: pip install --upgrade pip - - run: pip install -r docs/requirements.txt - - run: mkdocs gh-deploy --force diff --git a/.github/workflows/docs-mkdocs.yml b/.github/workflows/docs-mkdocs.yml new file mode 100644 index 0000000..89b719b --- /dev/null +++ b/.github/workflows/docs-mkdocs.yml @@ -0,0 +1,25 @@ +name: docs +on: + workflow_dispatch: + release: + types: + - published + push: + branches: + - main + paths: + - "docs/**" + - "**.md" + - .github/workflows/docs-mkdocs.yml + - mkdocs.yml + +jobs: + mkdocs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: CCBR/actions/mkdocs-mike@v0.1 + with: + github-token: ${{ github.token }} diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml new file mode 100644 index 0000000..d643f5c --- /dev/null +++ b/.github/workflows/draft-release.yml @@ -0,0 +1,25 @@ +name: draft-release + +on: + workflow_dispatch: + inputs: + version-tag: + description: | + Semantic version tag for next release. + If not provided, it will be determined based on conventional commit history. + Example: v2.5.11 + required: false + type: string + default: "" + +jobs: + draft-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 # required to include tags + - uses: CCBR/actions/draft-release@v0.1 + with: + github-token: ${{ github.token }} + version-tag: ${{ github.event.inputs.version-tag }} diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml new file mode 100644 index 0000000..e0e21eb --- /dev/null +++ b/.github/workflows/post-release.yml @@ -0,0 +1,17 @@ +name: post-release + +on: + release: + types: + - published + +jobs: + cleanup: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: CCBR/actions/post-release@v0.1 + with: + github-token: ${{ github.token }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 74e358b..fe162fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ ### Misc - The singularity version is no longer specified, per request of the biowulf admins. (#139, @kelly-sovacool) +- Minor documentation updates. (#146, @kelly-sovacool) ## CARLISLE v2.5.0 diff --git a/README.md b/README.md index 6b2a25c..49eddba 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,6 @@ This snakemake pipeline is built to run on [Biowulf](https://hpc.nih.gov/). -For comments/suggestions/advice please reach out to [Samantha Chill](mailto:samantha.sevilla@nih.gov). +For comments/suggestions/advice please contact . -For detailed documentation on running the pipeline view the [documentation](https://CCBR.github.io/CARLISLE/) page. +For detailed documentation on running the pipeline view the [documentation](https://CCBR.github.io/CARLISLE/) website. diff --git a/resources/img/CUTandRUN_Workflow.jpeg b/docs/img/CUTandRUN_Workflow.jpeg similarity index 100% rename from resources/img/CUTandRUN_Workflow.jpeg rename to docs/img/CUTandRUN_Workflow.jpeg diff --git a/docs/index.md b/docs/index.md index 89f470f..c7caacb 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,9 @@ + + +--8<-- "README.md" + + + The CARLISLE pipeline was developed in support of NIH [Dr Vassiliki Saloura's Laboratory](https://ccr.cancer.gov/staff-directory/vassiliki-saloura) and [Dr Javed Khan's Laboratory](https://ccr.cancer.gov/staff-directory/javed-khan/lab). It has been developed and tested solely on NIH [HPC Biowulf](https://hpc.nih.gov/). -![Image title](https://github.com/CCBR/CARLISLE/blob/dev/resources/img/CUTandRUN_Workflow.jpeg?raw=true) +![cut-and-run workflow](img/CUTandRUN_Workflow.jpeg) diff --git a/mkdocs.yml b/mkdocs.yml index 78a0d56..d41ab5b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -91,7 +91,7 @@ markdown_extensions: # Page Tree nav: - - Background: index.md + - Home: index.md - Usage: - 1. Getting Started: user-guide/getting-started.md - 2. Preparing Files: user-guide/preparing-files.md