ctcyang / docs

Repository to store gunrock documents (slate).

Home Page:https://gunrock.github.io/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GunrockLogo

Deploying Gunrock Slate Docs (http://gunrock.github.io/docs)

Prerequisites

You're going to need:

  • Linux or OS X — Windows may work, but is unsupported.
  • Ruby, version 2.3.1 or newer
  • Bundler — If Ruby is already installed, but the bundle command doesn't work, just run gem install bundler in a terminal.

Editing and Publishing

Slate Header for Gunrock

  • Create a markdown page with the extension .html.md and add it to the source directory.
  • Slate markdowns use the following header for page settings like title, footer, etc.
---
# title of the page
title: <Gunrock-Page-Title>

# add a language tab, doesn't work with full_length set to true
# must be one of https://git.io/vQNgJ
language_tabs:
  - shell
  - ruby
  - python
  - javascript

# page footer
toc_footers:
  - <a href='https://github.com/gunrock/gunrock'>Gunrock; GPU Graph Analytics</a>
  - Gunrock &copy; 2018 The Regents of the University of California.

# add markdown files in /source/includes directory to append the page with this header
includes:
  - <filetoinclude>
  - <filetoinclude>

# include search bar in the left menu?
search: true

# full length page or two sections?
full_length: true 
---
  • Note that vega graphs are just <div id=""><script> (json dump) </script></div>.

About

Repository to store gunrock documents (slate).

https://gunrock.github.io/docs

License:Other


Languages

Language:HTML 81.3%Language:JavaScript 16.6%Language:CSS 1.5%Language:Ruby 0.3%Language:Shell 0.3%