Skip to content

Commit

Permalink
First version of new doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsch420 committed Jun 26, 2024
1 parent 9c9d232 commit 41f33ba
Show file tree
Hide file tree
Showing 28 changed files with 269 additions and 671 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ doc/build

src/probabilistic_model.egg-info
build
book/_build
doc/_build
23 changes: 13 additions & 10 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@ build:
python: "3.9"
apt_packages:
- graphviz
jobs:
pre_build:
# Generate the Sphinx configuration for this Jupyter Book so it builds.
- "jupyter-book config sphinx doc/"


# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: doc/conf.py


# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: doc/requirements.txt
- requirements: doc/requirements.txt
- requirements: requirements.txt
- method: pip
path: .
extra_requirements:
- sphinx

sphinx:
builder: html
14 changes: 0 additions & 14 deletions book/graphical_models.md

This file was deleted.

148 changes: 0 additions & 148 deletions book/references.bib

This file was deleted.

6 changes: 0 additions & 6 deletions book/requirements.txt

This file was deleted.

File renamed without changes
19 changes: 0 additions & 19 deletions doc/Makefile

This file was deleted.

14 changes: 7 additions & 7 deletions book/_config.yml → doc/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

#######################################################################################
# Book settings
title : Probabilistic Modelling # The title of the book. Will be placed in the left navbar.
author : Tom Schierenbeck # The author of the book
title : Probabilistic Modelling # The title of the doc. Will be placed in the left navbar.
author : Tom Schierenbeck # The author of the doc
copyright : "2024" # Copyright year to be placed in the footer
logo : "Logo.svg" # A path to the book logo
logo : "Logo.svg" # A path to the doc logo

# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
Expand All @@ -18,16 +18,16 @@ execute:
# Define the name of the latex output file for PDF builds
latex:
latex_documents:
targetname: book.tex
targetname: doc.tex

# Add a bibtex file so that we can create citations
bibtex_bibfiles:
- references.bib

# Information about where the book exists on the web
# Information about where the doc exists on the web
repository:
url: https://github.com/tomsch420/probabilistic_model # Online location of your book
path_to_book: docs # Optional path to your book, relative to the repository root
url: https://github.com/tomsch420/probabilistic_model # Online location of your doc
path_to_book: docs # Optional path to your doc, relative to the repository root
branch: master # Which branch of the repository should be used when creating links (optional)

# Add GitHub buttons to your doc
Expand Down
10 changes: 0 additions & 10 deletions doc/_static/style.css

This file was deleted.

2 changes: 1 addition & 1 deletion book/_toc.yml → doc/_toc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Table of contents
# Learn more at https://jupyterbook.org/customize/toc.html

format: jb-book
format: jb-doc
root: intro
chapters:
- file: probability_theory
Expand Down
File renamed without changes.
Loading

0 comments on commit 41f33ba

Please sign in to comment.