Skip to content

Commit

Permalink
jupyter book basics
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparrow0hawk committed Oct 7, 2020
1 parent f6c5f2b commit 5ff0a1f
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 0 deletions.
44 changes: 44 additions & 0 deletions book/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Book settings
title: Template documentation jupyter book
author: University of Leeds Research Computing Team
logo: ./assets/img/logo/logo.png
email: [email protected]
copyright: "2020"

# execute settings
execute:
execute_notebooks: auto

# HTML-specific settings
html:
favicon : "./assets/img/logo/favicon-32x32.png" # A path to a favicon image
navbar_number_sections : False # Add a number to each section in your left navbar
google_analytics_id : "" # A GA id that can be used to track book views.
home_page_in_navbar : true # Whether to include your home page in the left Navigation Bar
use_repository_button: true
use_issues_button: true
use_edit_page_button: true
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/
navbar_footer_text :
'Visit the <a href="https://arcleeds.github.io/">Research Computing Home Site</a>
<div>
This book is powered by <a href="https://jupyterbook.org">Jupyter Book</a>
</div>' # Will be displayed underneath the left navbar.


# Launch button settings
launch_buttons:
notebook_interface : "classic" # The interface interactive links will activate ["classic", "jupyterlab"]
binderhub_url : "https://mybinder.org" # The URL of the BinderHub (e.g., https://mybinder.org)
jupyterhub_url : "" # The URL of the JupyterHub (e.g., https://datahub.berkeley.edu)
thebelab : false # Add a thebelab button to pages (requires the repository to run on Binder)

repository:
url : https://github.com/ARCTraining/template-jb-docs # The URL to your book's repository
path_to_book : "book/" # A path to your book's folder, relative to the repository root.
branch : gh-pages # Which branch of the repository should be used when creating links


latex:
latex_documents:
targetname: leedsarcdocs.tex
17 changes: 17 additions & 0 deletions book/_toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# these comments are borrowed from https://github.com/alan-turing-institute/the-turing-way/blob/master/book/website/_toc.yml
# Each entry has the following schema:
#
# - title: mytitle # Title of chapter or subchapter
# file: myfile # filename relative to the folder.
# sections: # Contains a list of more entries that make up the chapter's subchapters
#
# Below are some special values that trigger specific behavior:
# - header: My Header # Will insert a header with no link in the sidebar

# ===== Main Landing Page ========================================
- file: welcome

# ===== Getting started ==========================================
- file: example_section/start
sections:
- file: example_section/example
Binary file added book/assets/img/logo/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/assets/img/logo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions book/example_section/example.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Foo

Bar bar foo foo
1 change: 1 addition & 0 deletions book/example_section/start.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Example section
3 changes: 3 additions & 0 deletions book/welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Welcome

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 comments on commit 5ff0a1f

Please sign in to comment.