Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: deploy dedicated docs pages #175

Merged
merged 5 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Docs

on:
push:
branches: [main, dev]
workflow_dispatch:

jobs:

docs:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout zarp repository
uses: actions/checkout@v4

- name: Setup miniconda & zarp env
uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.10"
mamba-version: "*"
channels: conda-forge
channel-priority: true
auto-update-conda: false
activate-environment: zarp
environment-file: install/environment.yml
auto-activate-base: false

- name: Update zarp env with root. packages
run: mamba env update -p $CONDA_PREFIX -f install/environment.root.yml

- name: Update zarp env with dev. packages
run: mamba env update -p $CONDA_PREFIX -f install/environment.dev.yml

- name: Display all miniconda & env info
run: |
conda info -a
conda list

- name: Cache build artifacts
uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache

- name: Install doc requirements
run: pip install -r docs/requirements.txt

- name: Publish docs
run: mkdocs gh-deploy --force --clean --verbose
71 changes: 71 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<figure markdown>
![ZARP logo](./images/zarp_logo.384px.png){ width="384" }
</figure>

# ZARP

**Welcome to the _ZARP_ documentation pages!**

_ZARP_ is a [Snakemake][snakemake] workflow ...

**TODO:** Complete intro/summary section

**NOTES TO SELF:**

- Include references in `/includes/references.md`
- Include abbreviations in `includes/abbreviations.md` (example: EAWNKWIMPR)
- Include emojis (example: :rocket:)
- Check out the [ZARP-cli docs pages](https://zavolab.github.io/zarp-cli/)
for inspiration.
- Check out [MKDocs](https://www.mkdocs.org/) and [Material for
MkDocs](https://squidfunk.github.io/mkdocs-material/) docs for more info

## How does it work?

Briefly, when a _ZARP_ run is triggered, ...

**TODO:** Complete section

## How to cite

If you use _ZARP_ in your work, please kindly cite the following article:

**ZARP: A user-friendly and versatile RNA-seq analysis workflow**
_Maria Katsantoni, Foivos Gypas, Christina J. Herrmann, Dominik Burri, Maciej
Bak, Paula Iborra, Krish Agarwal, Meric Ataman, Máté Balajti, Noè Pozzan, Niels
Schlusser, Youngbin Moon, Aleksei Mironov, Anastasiya Börsch, Mihaela Zavolan,
Alexander Kanitz_
F1000Research 2024, 13:533
<https://doi.org/10.12688/f1000research.149237.1>

## Training materials

Coming soon...

## Info materials

Coming soon...

## Reach out

There are several ways to get in touch with us:

- For ZARP usage questions, please use the [_ZARP_ Q&A forum][zarp-qa] (requires
[GitHub registration][github-signup])
- For feature suggestions and bug reports, please use either the
[ZARP][zarp-issue-tracker] or [ZARP-cli][zarp-cli-issue-tracker] issue
tracker (requires [GitHub registration][github-signup])
- For any other requests, please reach out to us via [email][contact]

!!! info "Contributors welcome!"

Open source contributors are always welcome, for [_ZARP_][zarp],
[_ZARP-cli_][zarp-cli] or any other of the [Zavolab
projects][zavolab-gh]. Simply reach out by [email][contact] to schedule
an onboarding call.

## Acknowledgements

[![Zavolab](images/zavolab_logo.200px.png)](https://www.biozentrum.unibas.ch/research/research-groups/research-groups-a-z/overview/unit/research-group-mihaela-zavolan)
[![Biozentrum, University of Basel](images/biozentrum_logo.200px.png)](https://www.biozentrum.unibas.ch/)
[![Swiss Institute of Bioinformatics](images/sib_logo.200px.png)](https://www.sib.swiss/)
33 changes: 33 additions & 0 deletions docs/guides/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Installation

On this page, you will find out how to install _ZARP_ on your system.

## Requirements

Installation requires the following:

- Linux (tested with Ubuntu 20.04; macOS has not been tested yet)
- [Conda][conda] (tested with `conda 22.11.1`)
- [Mamba][mamba] (tested with `mamba 1.3.0`)
- [Singularity][singularity] (tested with `singularity 3.8.6`; not required
if you have root permissions on the machine you would like to install _ZARP_
on; in that case, see [below](#2-set-up-conda-environment))

> Other versions, especially older ones, are not guaranteed to work.

**TODO:** Add/replace requirements/versions and check that everything is correct

## Installation steps

### 1. Clone ZARP

Clone the [ZARP workflow repository][zarp] with:

```sh
git clone git@github.com:zavolanlab/zarp
# or: git clone https://github.com/zavolanlab/zarp.git
```

### 2. Set up Conda environment

**TODO:** Add on...
Binary file added docs/images/biozentrum_logo.200px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/sib_logo.200px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/zarp_logo.256px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/zarp_logo.32px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/zarp_logo.384px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/zavolab_logo.200px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/includes/abbreviations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*[EAWNKWIMPR]: Example Abbreviation Where Nobody Knows What It Means, Please Remove
12 changes: 12 additions & 0 deletions docs/includes/references.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[conda]: <https://docs.conda.io/projects/conda/en/latest/index.html>
[contact]: <mailto:zavolab-biozentrum@unibas.ch>
[github-signup]: <https://github.com/signup>
[mamba]: <https://github.com/mamba-org/mamba>
[singularity]: <https://sylabs.io/singularity/>
[snakemake]: <https://github.com/snakemake/snakemake>
[zarp]: <https://github.com/zavolanlab/zarp>
[zarp-cli]: <https://github.com/zavolanlab/zarp-cli>
[zarp-cli-issue-tracker]: <https://github.com/zavolanlab/zarp-cli/issues>
[zarp-issue-tracker]: <https://github.com/zavolanlab/zarp/issues>
[zarp-qa]: <https://github.com/zavolanlab/zarp/discussions>
[zavolab-gh]: <https://github.com/zavolanlab>
1 change: 1 addition & 0 deletions docs/overrides/.icons/email.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions docs/overrides/.icons/forum.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 101 additions & 0 deletions docs/overrides/.icons/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 62 additions & 0 deletions docs/overrides/.icons/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading