Skip to content

Commit bad37d0

Browse files
tupuignopikmatt-graham
authored
JOSS paper (#23)
Doc for JOSS: https://joss.readthedocs.io/en/latest/submitting.html#example-paper-and-bibliography --------- Co-authored-by: gnopik <[email protected]> Co-authored-by: Matt Graham <[email protected]>
1 parent 64bd398 commit bad37d0

13 files changed

+849
-3
lines changed

.github/workflows/joss_paper.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
on: [push]
3+
4+
jobs:
5+
paper:
6+
runs-on: ubuntu-latest
7+
name: Paper Draft
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
- name: Build draft PDF
12+
uses: openjournals/openjournals-draft-action@master
13+
with:
14+
journal: joss
15+
# This should be the path to the paper within your repo.
16+
paper-path: joss/paper.md
17+
- name: Upload
18+
uses: actions/upload-artifact@v1
19+
with:
20+
name: paper
21+
# This is the output path where Pandoc will write the compiled
22+
# PDF. Note, this should be the same directory as the input
23+
# paper.md
24+
path: joss/paper.pdf

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ htmlcov/*
3232
build/*
3333
dist/*
3434
sdist/*
35-
docs/_build
35+
docs/html
36+
docs/jupyter_execute
3637
app.html

Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ prepare: ## Install dependencies and pre-commit hook
2929

3030
# Doc and tests
3131

32-
doc: ## Build Sphinx documentation
33-
sphinx-build -b html docs docs/html
32+
clean-doc:
33+
rm -rf docs/html docs/jupyter_execute
34+
35+
doc: clean-doc ## Build Sphinx documentation
36+
sphinx-build -b html docs docs/html;open docs/html/index.html
3437

3538
test: ## Run tests with coverage
3639
pytest --cov simdec --cov-report term-missing

docs/_static/simdec_presentation.png

-793 Bytes
Loading

docs/conf.py

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"sphinx.ext.autosummary",
1313
"sphinx.ext.viewcode",
1414
"numpydoc",
15+
"myst_nb",
1516
]
1617

1718
templates_path = ["_templates"]
@@ -21,6 +22,10 @@
2122

2223
autosummary_generate = True
2324

25+
# -- Notebook tutorials with MyST-NB ------------------------------------------
26+
27+
nb_execution_mode = "auto"
28+
2429
# -- Version matching --------------------------------------------------------
2530

2631
json_url = (

docs/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ See our `publications <https://www.simdec.fi/publications>`_ and join our
1818

1919
getting-started
2020
API <api>
21+
Tutorials <tutorials>

0 commit comments

Comments
 (0)