twosigma/beakerx-www

Name: beakerx-www

Owner: Two Sigma

Description: website for BeakerX

Created: 2017-08-08 16:23:02.0

Updated: 2018-05-22 20:29:44.0

Pushed: 2018-05-22 20:29:43.0

Homepage:

Size: 1814

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

BeakerX Web Page

Installation

This site is rendered by Jekyll, so you will need some dependencies to run it.

le install

Once all dependencies are properly installed, run Jekyll.

le exec jekyll serve

This will render the site at http://127.0.0.1:4000

Development
Adding data

Text, images, icons and links are defined in yaml files in the _data directory. Each yaml file represents a region of the site.

To insert an image or icon
Adding data to subpages
Required page front matter

ect: project-name
e: page-title
ut: page
r: 1

project

The name's project will group all files belonging to the same project in the navigation bar. It will also populate the header with the project's data located in _data/projects.yaml

title

This is the name of the page, as it will display on the navigation bar.

layout

The “page” layout is the only one currently available for subpages. The page order will determine the sub-layout.

order

The page order in the navigation bar. “Order: 1” is reserved for the landing page and has an unique layout.

Project header data
title

Name of project. Must match with the name on the project's markdown page's front matter. It's case sensitive. This entry is not optional.

text

The project's description.

github

Parameters github.user and github.project must match a github repository to display its stars and forks.

icon

Name of project's icon svg file, found in includes/icons.

twitter

The twitter handle associated with the project.

header

Short information and instructions on the header's sidebar. It's divided in sections.

Structure of header data area
er:
section:
  title: section title
  icon: section-icon.svg
  content: > #
    section content text
title

Title of section.

icon

Name of icon file to be on the left of the title.

content

An area that allows some markdown to indicate hyperlinks, buttons or a line of code.

File Tree

_config.yml
_data
??? contributions.yaml
??? cta.yaml
??? ...
_includes
??? _home
|   ?? contributions.html
|   ?? ...
??? _icons
|   ?? icon-camera.svg
|   ?? icon-cart.svg
|   ?? ...
??? _pages
|   ?? ...
??? footer.html
??? header.html
_layouts
??? home.html
??? page.html
_plugins
??? ...
_projects
??? project-name
|   ?? documentation.md
|   ?? faq.md
|   ?? index.md
??? ...
_sass
??? base
|   ?? __base.scss
|   ?? ...
??? includes
|   ?? __includes.scss
|   ?? ...
??? vendor
    ?? ...
_site
static
??? css
??? img
|   ?? favicon.ico
|   ?? stats-1.png
|   ?? ...
??? js
_config.yml
Gemfile
Gemfile.lock
index.html

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.