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

Add notebook to sphinx #29

Merged
merged 4 commits into from
Nov 17, 2023
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
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
Loading