Skip to content
Snippets Groups Projects
Commit 85c46c59 authored by mcla's avatar mcla
Browse files

refresh config

parent 3686ec93
Branches
No related tags found
No related merge requests found
Pipeline #31359 failed
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
AddType application/octet-stream .md
AddType application/octet-stream .rst
AddType application/octet-stream .ggb
AddType application/octet-stream .ipynb
AddCharset utf-8 .htm .html .js .css .md
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
####################################################################################### #######################################################################################
# Book settings # Book settings
title : PG Course site # The title of the book. Will be placed in the left navbar. title : PG Test # The title of the book. Will be placed in the left navbar.
author : DTU Compute # The author of the book author : DTU Compute # The author of the book
copyright : "2023" # Copyright year to be placed in the footer copyright : "2024" # Copyright year to be placed in the footer
logo : logo.png # A path to the book logo logo : logo.png # A path to the book logo
# Only build table of content _toc.yml files # Only build table of content _toc.yml files
...@@ -15,20 +15,20 @@ only_build_toc_files: true ...@@ -15,20 +15,20 @@ only_build_toc_files: true
# Information about where the book exists on the web # Information about where the book exists on the web
repository: repository:
url: https://github.com/mclacompute/pgcoursesite # Online location of your book url: https://lab.compute.dtu.dk/mcla/pgtest # Online location of your book
path_to_book: /pg_cs # Optional path to your book, relative to the repository root path_to_book: pg_cs # Optional path to your book, relative to the repository root
branch: main # Which branch of the repository should be used when creating links (optional) branch: main # Which branch of the repository should be used when creating links (optional)
# Add GitHub buttons to your book # Add GitHub buttons to your book
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository # See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
html: #html:
use_issues_button: true use_issues_button: true
use_repository_button: true use_repository_button: true
launch_buttons: #launch_buttons:
notebook_interface: "classic" # or "jupyterlab" notebook_interface: "classic" # or "jupyterlab"
# binderhub_url: "https://mybinder.org" binderhub_url: "https://notebooks.gesis.org/binder/"
colab_url: "https://colab.research.google.com" # colab_url: "https://colab.research.google.com"
# thebe : true # husk jupyterlite # thebe : true # husk jupyterlite
parse: parse:
...@@ -49,8 +49,8 @@ parse: ...@@ -49,8 +49,8 @@ parse:
# Force re-execution of notebooks on each build. # Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html # See https://jupyterbook.org/content/execute.html
# execute: execute:
# execute_notebooks: force execute_notebooks: cache
# Add a bibtex file so that we can create citations # Add a bibtex file so that we can create citations
bibtex_bibfiles: bibtex_bibfiles:
...@@ -60,3 +60,19 @@ bibtex_bibfiles: ...@@ -60,3 +60,19 @@ bibtex_bibfiles:
# latex: # latex:
# latex_documents: # latex_documents:
# targetname: book.tex # targetname: book.tex
# Sphinx extentions
sphinx:
recursive_update: true
extra_extensions:
- sphinx_toolbox.assets
config:
assets_dir: './media'
html_theme_options:
repository_provider: https://lab.compute.dtu.dk
html_context:
gitlab_url: https://lab.compute.dtu.dk/mcla
gitlab_repo: "pgtest/pg_cs"
gitlab_user: ""
gitlab_version: main
doc_path: source
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Learn more at https://jupyterbook.org/customize/toc.html # Learn more at https://jupyterbook.org/customize/toc.html
format: jb-book format: jb-book
root: intro root: index
parts: parts:
- caption: - caption:
chapters: chapters:
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment