Commit 16014583 authored by Philipp Arras's avatar Philipp Arras
Browse files

Migrate to pydata sphinx

parent 03d556e0
...@@ -12,9 +12,7 @@ RUN apt-get update && apt-get install -y \ ...@@ -12,9 +12,7 @@ RUN apt-get update && apt-get install -y \
# Optional NIFTy dependencies # Optional NIFTy dependencies
python3-mpi4py python3-matplotlib \ python3-mpi4py python3-matplotlib \
# more optional NIFTy dependencies # more optional NIFTy dependencies
&& pip3 install ducc0 \ && pip3 install ducc0 finufft jupyter sphinx pydata-sphinx-theme \
&& pip3 install finufft \
&& pip3 install jupyter \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Set matplotlib backend # Set matplotlib backend
......
import nifty7 import nifty7
needs_sphinx = '3.2.0'
extensions = [ extensions = [
'sphinx.ext.napoleon', # Support for NumPy and Google style docstrings 'sphinx.ext.napoleon', # Support for NumPy and Google style docstrings
'sphinx.ext.imgmath', # Render math as images 'sphinx.ext.imgmath', # Render math as images
...@@ -26,7 +28,7 @@ language = None ...@@ -26,7 +28,7 @@ language = None
exclude_patterns = [] exclude_patterns = []
add_module_names = False add_module_names = False
html_theme = "sphinx_rtd_theme" html_theme = "pydata_sphinx_theme"
html_logo = 'nifty_logo_black.png' html_logo = 'nifty_logo_black.png'
exclude_patterns = [ exclude_patterns = [
......
IFT -- Information Field Theory Information Field Theory
=============================== ========================
Theoretical Background Theoretical Background
---------------------- ----------------------
......
Discretisation and Volume in NIFTy Discretisation and Volume
================================== =========================
.. note:: Some of this discussion is rather technical and may be skipped in a first read-through. .. note:: Some of this discussion is rather technical and may be skipped in a first read-through.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment