Skip to content

Commit 5ff0a1f

Browse files
committed
jupyter book basics
1 parent f6c5f2b commit 5ff0a1f

File tree

7 files changed

+68
-0
lines changed

7 files changed

+68
-0
lines changed

book/_config.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Book settings
2+
title: Template documentation jupyter book
3+
author: University of Leeds Research Computing Team
4+
logo: ./assets/img/logo/logo.png
5+
6+
copyright: "2020"
7+
8+
# execute settings
9+
execute:
10+
execute_notebooks: auto
11+
12+
# HTML-specific settings
13+
html:
14+
favicon : "./assets/img/logo/favicon-32x32.png" # A path to a favicon image
15+
navbar_number_sections : False # Add a number to each section in your left navbar
16+
google_analytics_id : "" # A GA id that can be used to track book views.
17+
home_page_in_navbar : true # Whether to include your home page in the left Navigation Bar
18+
use_repository_button: true
19+
use_issues_button: true
20+
use_edit_page_button: true
21+
baseurl : "https://arctraining.github.io/template-jb-docs" # The base URL where your book will be hosted. Used for creating image previews and social links. e.g.: https://mypage.com/mybook/
22+
navbar_footer_text :
23+
'Visit the <a href="https://arcleeds.github.io/">Research Computing Home Site</a>
24+
<div>
25+
This book is powered by <a href="https://jupyterbook.org">Jupyter Book</a>
26+
</div>' # Will be displayed underneath the left navbar.
27+
28+
29+
# Launch button settings
30+
launch_buttons:
31+
notebook_interface : "classic" # The interface interactive links will activate ["classic", "jupyterlab"]
32+
binderhub_url : "https://mybinder.org" # The URL of the BinderHub (e.g., https://mybinder.org)
33+
jupyterhub_url : "" # The URL of the JupyterHub (e.g., https://datahub.berkeley.edu)
34+
thebelab : false # Add a thebelab button to pages (requires the repository to run on Binder)
35+
36+
repository:
37+
url : https://github.com/ARCTraining/template-jb-docs # The URL to your book's repository
38+
path_to_book : "book/" # A path to your book's folder, relative to the repository root.
39+
branch : gh-pages # Which branch of the repository should be used when creating links
40+
41+
42+
latex:
43+
latex_documents:
44+
targetname: leedsarcdocs.tex

book/_toc.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# these comments are borrowed from https://github.com/alan-turing-institute/the-turing-way/blob/master/book/website/_toc.yml
2+
# Each entry has the following schema:
3+
#
4+
# - title: mytitle # Title of chapter or subchapter
5+
# file: myfile # filename relative to the folder.
6+
# sections: # Contains a list of more entries that make up the chapter's subchapters
7+
#
8+
# Below are some special values that trigger specific behavior:
9+
# - header: My Header # Will insert a header with no link in the sidebar
10+
11+
# ===== Main Landing Page ========================================
12+
- file: welcome
13+
14+
# ===== Getting started ==========================================
15+
- file: example_section/start
16+
sections:
17+
- file: example_section/example
1.11 KB
Loading

book/assets/img/logo/logo.png

92.7 KB
Loading

book/example_section/example.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Foo
2+
3+
Bar bar foo foo

book/example_section/start.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Example section

book/welcome.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Welcome
2+
3+
Welcome to a template Documentation site for the [Research Computing Team](https://arcleeds.github.io) at the [University of Leeds](https://www.leeds.ac.uk).

0 commit comments

Comments
 (0)