source 'https://rubygems.org'
-gem 'jekyll'
-gem 'RedCloth'
+gem 'zenweb'
+gem 'liquid'
GEM
remote: https://rubygems.org/
specs:
- RedCloth (4.2.9)
- classifier (1.3.3)
- fast-stemmer (>= 1.0.0)
- colorator (0.1)
- commander (4.1.5)
- highline (~> 1.6.11)
- fast-stemmer (1.0.2)
- ffi (1.9.3)
- highline (1.6.20)
- jekyll (1.3.0)
- classifier (~> 1.3)
- colorator (~> 0.1)
- commander (~> 4.1.3)
- liquid (~> 2.5.2)
- listen (~> 1.3)
- maruku (~> 0.6.0)
- pygments.rb (~> 0.5.0)
- redcarpet (~> 2.3.0)
- safe_yaml (~> 0.9.7)
- liquid (2.5.4)
- listen (1.3.1)
- rb-fsevent (>= 0.9.3)
- rb-inotify (>= 0.9)
- rb-kqueue (>= 0.2)
- maruku (0.6.1)
- syntax (>= 1.0.0)
- posix-spawn (0.3.6)
- pygments.rb (0.5.4)
- posix-spawn (~> 0.3.6)
- yajl-ruby (~> 1.1.0)
- rb-fsevent (0.9.3)
- rb-inotify (0.9.2)
- ffi (>= 0.5.0)
- rb-kqueue (0.2.0)
- ffi (>= 0.5.0)
- redcarpet (2.3.0)
- safe_yaml (0.9.7)
- syntax (1.0.0)
- yajl-ruby (1.1.0)
+ coderay (1.1.0)
+ kramdown (1.3.1)
+ less (1.2.21)
+ mutter (>= 0.4.2)
+ treetop (>= 1.4.2)
+ liquid (2.6.1)
+ makerakeworkwell (1.0.3)
+ rake (>= 0.9.2, < 11)
+ mutter (0.5.3)
+ polyglot (0.3.3)
+ rake (10.1.1)
+ treetop (1.4.15)
+ polyglot
+ polyglot (>= 0.3.1)
+ zenweb (3.3.1)
+ coderay (~> 1.0)
+ kramdown (~> 1.0)
+ less (~> 1.2)
+ makerakeworkwell (~> 1.0)
+ rake (>= 0.9, < 11)
PLATFORMS
ruby
DEPENDENCIES
- RedCloth
- jekyll
+ liquid
+ zenweb
+++ /dev/null
-Use this README file to introduce your application and point to useful places in the API for learning more.
-Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
--- /dev/null
+#!/usr/bin/env rake
+
+require "rubygems"
+require "zenweb/tasks"
+load "zenweb-textile.rb"
+load "zenweb-liquid.rb"
+
+exclude: ["Rakefile", "tmp"]
baseurl: /doc
arvados_api_host: qr1hi.arvadosapi.com
+layout: default
navbar:
userguide:
- Getting Started
- API Methods
- Schema
sdk:
- - Python
\ No newline at end of file
+ - Python
navsection: adminguide
title: Cheat Sheet
navorder: 1
----
+...
h1. Cheat Sheet
navsection: adminguide
title: Overview
navorder: 0
----
+...
{% include alert-stub.html %}
navmenu: Concepts
title: Authentication
navorder: 2
----
+...
h1. Authentication
h3. Refresh the access code (optional)
-Access codes have a limited lifetime. A refresh token allows an application to request a new access token.
\ No newline at end of file
+Access codes have a limited lifetime. A refresh token allows an application to request a new access token.
navmenu: Concepts
title: Crunch scripts
navorder: 5
----
+...
h2. Crunch scripts
navsection: api
title: API Reference
navorder: 0
----
+...
h1. API Reference
navmenu: Concepts
title: REST methods
navorder: 3
----
+...
h1. REST Methods
navmenu: API Methods
title: "api_client_authorizations"
navorder: 1
----
+...
h1. api_client_authorizations
navmenu: API Methods
title: "api_clients"
navorder: 2
----
+...
h1. api_clients
navmenu: API Methods
title: "authorized_keys"
navorder: 3
----
+...
h1. authorized_keys
navmenu: API Methods
title: "collections"
navorder: 4
----
+...
h1. collections
navmenu: API Methods
title: "groups"
navorder: 5
----
+...
h1. groups
navmenu: API Methods
title: "humans"
navorder: 6
----
+...
h1. humans
navmenu: API Methods
title: "job_tasks"
navorder: 7
----
+...
h1. job_tasks
navmenu: API Methods
title: "jobs"
navorder: 8
----
+...
h1. jobs
navmenu: API Methods
title: "keep_disks"
navorder: 9
----
+...
h1. keep_disks
navmenu: API Methods
title: "links"
navorder: 10
----
+...
h1. links
navmenu: API Methods
title: "logs"
navorder: 11
----
+...
h1. logs
navmenu: API Methods
title: "nodes"
navorder: 12
----
+...
h1. nodes
navmenu: API Methods
title: "pipeline_instances"
navorder: 13
----
+...
h1. pipeline_instances
navmenu: API Methods
title: "pipeline_templates"
navorder: 14
----
+...
h1. pipeline_templates
navmenu: API Methods
title: "repositories"
navorder: 15
----
+...
h1. repositories
navmenu: API Methods
title: "specimens"
navorder: 16
----
+...
h1. specimens
navmenu: API Methods
title: "traits"
navorder: 17
----
+...
h1. traits
navmenu: API Methods
title: "users"
navorder: 18
----
+...
h1. users
navmenu: API Methods
title: "virtual_machines"
navorder: 19
----
+...
h1. virtual_machines
navmenu: Concepts
title: "Permission model"
navorder: 6
----
+...
h1. Permission model
navmenu: Concepts
title: Resources
navorder: 4
----
+...
h1. Resources
navmenu: Schema
title: ApiClient
navorder: 2
----
+...
h1. ApiClient
navmenu: Schema
title: ApiClientAuthorization
navorder: 1
----
+...
h1. ApiClientAuthorization
navmenu: Schema
title: AuthorizedKey
navorder: 3
----
+...
h1. AuthorizedKey
navmenu: Schema
title: Collection
navorder: 4
----
+...
h1. Collection
navmenu: Schema
title: Commit
navorder: 6
----
+...
h1. Commit
navmenu: Schema
title: CommitAncestor
navorder: 5
----
+...
h1. CommitAncestor
navmenu: Schema
title: Group
navorder: 7
----
+...
h1. Group
navmenu: Schema
title: Human
navorder: 8
----
+...
h1. Human
navmenu: Schema
title: Job
navorder: 9
----
+...
h1. Job
navmenu: Schema
title: JobTask
navorder: 10
----
+...
h1. JobTask
navmenu: Schema
title: KeepDisk
navorder: 11
----
+...
h1. KeepDisk
navmenu: Schema
title: Link
navorder: 12
----
+...
h1. Link
navmenu: Schema
title: Log
navorder: 14
----
+...
h1. Log
navmenu: Schema
title: Node
navorder: 15
----
+...
h1. Node
navmenu: Schema
title: PipelineInstance
navorder: 16
----
+...
h1. PipelineInstance
navmenu: Schema
title: PipelineTemplate
navorder: 17
----
+...
h1. PipelineTemplate
navmenu: Schema
title: Repository
navorder: 18
----
+...
h1. Repository
navmenu: Schema
title: Specimen
navorder: 19
----
+...
h1. Specimen
navmenu: Schema
title: Trait
navorder: 20
----
+...
h1. Trait
navmenu: Schema
title: User
navorder: 21
----
+...
h1. User
navmenu: Schema
title: VirtualMachine
navorder: 22
----
+...
h1. VirtualMachine
layout: default
navsection: top
title: Arvados | Documentation
----
+...
<div class="frontpagehero">
<div style="padding:100px 50px; margin-left:0px; margin-top:0px">
navsection: installguide
title: Install client libraries
navorder: 5
----
+...
h1. Install client libraries
navsection: installguide
title: Create standard objects
navorder: 4
----
+...
h1. Create standard objects
navsection: installguide
title: Overview
navorder: 0
----
+...
{% include alert-stub.html %}
navsection: installguide
title: Install the API server
navorder: 1
----
+...
{% include alert-stub.html %}
navsection: installguide
title: Install the Crunch dispatcher
navorder: 3
----
+...
h1. Crunch setup
navsection: installguide
title: Install the Arvados workbench application
navorder: 2
----
+...
{% include alert-stub.html %}
navsection: sdk
title: "SDK Reference"
navorder: 0
----
+...
h1. Arvados SDK Reference
navmenu: Python
title: "Crunch utility libraries"
navorder: 20
----
+...
h1. Crunch utility libraries
title: "PyDoc Reference"
navorder: 30
no_nav_left: true
----
+...
notextile. <iframe src="arvados/" style="width:100%; height:100%; border:none" />
navmenu: Python
title: "Python SDK"
navorder: 10
----
+...
h1. Python SDK
navmenu: Examples
title: "Crunch examples"
navorder: 30
----
+...
h1. Crunch examples
navmenu: Getting Started
title: "Checking your environment"
navorder: 10
----
+...
h1. Checking your environment
navmenu: Getting Started
title: Arvados Community and Getting Help
navorder: 11
----
+...
h1. Arvados Community and Getting Help
navmenu: Getting Started
title: Accessing an Arvados VM over ssh
navorder: 2
----
+...
h1. Accessing an Arvados Virtual Machine over ssh
navmenu: Getting Started
title: Accessing Arvados Workbench
navorder: 1
----
+...
h1. Accessing Arvados Workbench
Access the Arvados beta test instance available using this link:
navsection: userguide
title: Welcome to Arvados!
navorder: 0
----
+...
h1. Welcome to Arvados!
navmenu: Reference
title: "Getting an API token"
navorder: 01
----
+...
h1. Reference: Getting an API token
navmenu: Reference
title: "Command line interface"
navorder: 22
----
+...
h1. Reference: Command Line Interface
navmenu: Tutorials
title: "Running external programs"
navorder: 18
----
+...
h1. Running external programs
navmenu: Tutorials
title: "Writing a Crunch script"
navorder: 13
----
+...
h1. Writing a Crunch script
navmenu: Tutorials
title: "Using GATK with Arvados"
navorder: 16
----
+...
h1. Using GATK with Arvados
navmenu: Tutorials
title: "Debugging a Crunch script"
navorder: 14
----
+...
h1. Debugging a Crunch script
navmenu: Tutorials
title: "Running a Crunch job"
navorder: 12
----
+...
h1. Running a crunch job
navmenu: Tutorials
title: "Storing and Retrieving data using Arvados Keep"
navorder: 11
----
+...
h1. Storing and Retrieving data using Arvados Keep
navmenu: Tutorials
title: "Constructing a Crunch pipeline"
navorder: 15
----
+...
h1. Constructing a Crunch pipeline
navmenu: Tutorials
title: "Parallel Crunch tasks"
navorder: 15
----
+...
h1. Parallel Crunch tasks
navmenu: Tutorials
title: "Querying the Metadata Database"
navorder: 16
----
+...
h1. Querying the Metadata Database
--- /dev/null
+require 'zenweb'
+
+module ZenwebLiquid
+ VERSION = '0.0.1'
+end
+
+module Zenweb
+ class Page
+
+ ##
+ # Render a page's liquid and return the intermediate result
+ def render_liquid page, content, binding = TOPLEVEL_BINDING
+ require 'liquid'
+
+ unless defined? @liquid_template then
+ @liquid_template = Liquid::Template.parse(content).render()
+ end
+
+ @liquid_template.render(binding)
+ end
+ end
+end
--- /dev/null
+require 'zenweb'
+
+module ZenwebTextile
+ VERSION = '0.0.1'
+end
+
+module Zenweb
+ class Page
+
+ ##
+ # Render a page's textile and return the resulting html
+ def render_textile page, content
+ textile body
+ end
+
+ ##
+ # Render textile in +content+
+ def textile content
+ require 'RedCloth'
+ @textile = RedCloth.new(content).to_html
+ end
+ end
+end