Skip to content

Commit

Permalink
Merge pull request #29 from theislab/feature/notebook
Browse files Browse the repository at this point in the history
Add notebook to sphinx
  • Loading branch information
Zethson authored Nov 17, 2023
2 parents ebaee50 + 9bcebac commit 0497eee
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 27 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build_docs.yml

This file was deleted.

1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx
nbsphinx
myst-parser
furo
8 changes: 5 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
author = 'Fabiola Curion, Xichen Wu, Lukas Heumos'
release = '1.0.0'

extensions = ['myst_parser']
extensions = ['myst_parser',
'nbsphinx']

source_suffix = {
'.rst': 'restructuredtext',
Expand All @@ -13,8 +14,9 @@

templates_path = ['_templates']

exclude_patterns = []
exclude_patterns = ['_build', '**.ipynb_checkpoints']

html_theme = "furo"
html_static_path = ['_static']

html_static_path = ['_static']
nbsphinx_execute = 'never'
9 changes: 8 additions & 1 deletion notebook.ipynb → docs/source/hadge_output.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Working with hadge output"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand All @@ -16,7 +23,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook serves to get familiar with the ouput of hadge and reproduce some figures from the manuscript."
"This notebook serves to get familiar with the output of hadge and reproduce some figures from the manuscript."
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ nextflow run main.nf -profile test

## Notebook

Check[](../../notebook.ipynb) to get familiar with the output of hadge.
Check[](hadge_output.ipynb) to get familiar with the output of hadge.

## **Pipeline output**

Expand Down Expand Up @@ -98,6 +98,7 @@ general
genetic
hashing
rescue
hadge_output
```

# Indices and tables
Expand Down

0 comments on commit 0497eee

Please sign in to comment.