Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Minor updates
  • Loading branch information
jorgensd committed Sep 19, 2022
commit dddbb7fe07ad13d77f7eb482c8cf3fbf75640352
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@

FROM ubuntu:22.04


RUN apt-get update && \
apt-get install -y python3-pip
apt-get install -y python3-pip git

# Use modern setuptools from pip instead of apt
RUN pip3 install pip setuptools --upgrade

RUN apt-get purge python3-setuptools
RUN apt-get purge -y python3-setuptools

WORKDIR /tmp/
RUN git clone https://github.com/jorgensd/reproducibility && \
pip3 install ./reproducibility

RUN rm -rf /tmp

# Create user with a home directory
ARG NB_USER
Expand Down
25 changes: 10 additions & 15 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,25 @@ repository:
path_to_book: _sources # Optional path to your book, relative to the repository root
branch: gh-pages # Which branch of the repository should be used when creating links (optional)


sphinx:
extra_extensions:
- 'sphinx.ext.autodoc'
- 'sphinx.ext.napoleon'
- 'sphinx.ext.viewcode'


launch_buttons:
notebook_interface: "jupyterlab" # The interface interactive links will activate ["classic", "jupyterlab"]
binderhub_url: "https://mybinder.org"
colab_url: "https://colab.research.google.com"



# Add GitHub buttons to your book
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
html:
use_issues_button: true
use_repository_button: true


parse:
myst_enable_extensions:
- amsmath
- dollarmath
- linkify
- linkify

sphinx:
extra_extensions:
- 'sphinx.ext.autodoc'
- 'sphinx.ext.napoleon'
- 'sphinx.ext.viewcode'