Giter Club home page Giter Club logo

jupyter.github.io's Introduction

Jupyter's main website

Build Status

This is the source to Jupyter.org.

Build instruction.

The site is build using GitHub Pages Jekyll, see Jekyll website for customizing build process, and detail on how what where.

Quick local testing

$ gem install jekyll kramdown github-pages

cd into the root of this directory,

jekyll serve --baseurl ''

Open your browser to localhost:4000

Edit the various part and reload at will.

Enjoy

What is where.

Most pages are located at the place where their URL is, nothing fancy. Headers and footer are in _includes/head.html, _includes/header.html , _includes/footer.html.

The navbar is in _data/nav.yml and look like that:

head:
    - Home
    - title: Install
      url: http://jupyter.readthedocs.org/en/latest/install.html
    - About
    - title: Documentation
      url: http://jupyter.readthedocs.org/en/latest/install.html
    - title: Blog
      url: https://blog.jupyter.org
    - Donate

which mean, insert in order the following links into the navbar:

- Link to `Home` page, guess the url by yourself. 
- link to `Install` page, the url is...
- Link to `About`, guess the url by yourself, 
-  ... etc.

The navbar will automatically target _blank pages where the url is explicit, and mark the correct link as the "current" one.

How do I create a new page ?

Create my_page.html (will have url https://jupyter.org/my_page.html) or my_page/index.html (will have url https://jupyter.org/my_page/), start with the following :

---
layout: default
title: My Page
navbar_gray: true
---

write some html here (consider you are already inside `<body></body>`

You can not do it yet with .md file, but you will be able soon.

Add commit (and don't forget to add to _data/nav.yml

navbar_gray: true start the navbar with a grey background if you need it.

Continuous Integration Testing on Travis

Travis will run and test:

  • jekyll build
  • html-proofer
  • csslint

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.