Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Dependency directories
Examples/
node_modules/
_site/
node_modules/
npm-debug.log
package-lock.json
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins


125 changes: 125 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.9)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colorator (0.1)
ethon (0.10.1)
ffi (>= 1.3.0)
execjs (2.7.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.18)
gemoji (2.1.0)
github-pages (80)
github-pages-health-check (= 1.1.0)
jekyll (= 3.1.6)
jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.5.1)
jekyll-gist (= 1.4.0)
jekyll-github-metadata (= 1.11.1)
jekyll-mentions (= 1.1.2)
jekyll-paginate (= 1.1.0)
jekyll-redirect-from (= 0.10.0)
jekyll-sass-converter (= 1.3.0)
jekyll-seo-tag (= 1.4.0)
jekyll-sitemap (= 0.10.0)
jemoji (= 0.6.2)
kramdown (= 1.10.0)
liquid (= 3.0.6)
listen (= 3.0.6)
mercenary (~> 0.3)
rouge (= 1.10.1)
terminal-table (~> 1.4)
github-pages-health-check (1.1.0)
addressable (~> 2.3)
net-dns (~> 0.8)
octokit (~> 4.0)
public_suffix (~> 1.4)
typhoeus (~> 0.7)
html-pipeline (2.4.1)
activesupport (>= 2, < 5)
nokogiri (>= 1.4)
i18n (0.8.6)
jekyll (3.1.6)
colorator (~> 0.1)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
mercenary (~> 0.3.3)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-feed (0.5.1)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-github-metadata (1.11.1)
octokit (~> 4.0)
jekyll-mentions (1.1.2)
html-pipeline (~> 2.3)
jekyll (~> 3.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.10.0)
jekyll (>= 2.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-seo-tag (1.4.0)
jekyll (~> 3.0)
jekyll-sitemap (0.10.0)
jekyll-watch (1.4.0)
listen (~> 3.0, < 3.1)
jemoji (0.6.2)
gemoji (~> 2.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0)
kramdown (1.10.0)
liquid (3.0.6)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
mercenary (0.3.6)
mini_portile2 (2.0.0)
minitest (5.10.3)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
public_suffix (1.5.3)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (1.10.1)
safe_yaml (1.0.4)
sass (3.4.22)
sawyer (0.7.0)
addressable (>= 2.3.5, < 2.5)
faraday (~> 0.8, < 0.10)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
typhoeus (0.8.0)
ethon (>= 0.8.0)
tzinfo (1.2.3)
thread_safe (~> 0.1)
unicode-display_width (1.3.0)

PLATFORMS
ruby

DEPENDENCIES
github-pages

BUNDLED WITH
1.12.5
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

![Image of Flex the T-Rex](./assets/flex.png)

## Docs and Example Code
This repository contains a [wiki](https://github.com/tableau/ProjectFrelard/wiki) which contains developer documentation. You are encouraged to use it and also contribute.

## Setup and Running Samples

Expand Down
30 changes: 30 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Site settings
title: Project Frelard
email: git@tableau.com
description: Create add-ins to extend the functionality of Tableau.
repository: d45/tableau.github.io
baseurl: "/extensions-api"
# permalink: pretty

defaults:
-
scope:
path: "" # Apply to all files
type: pages
values:
layout: "default"
permalink: /:path/:basename:output_ext


# Build settings
markdown: kramdown
highlighter: rouge
github: [metadata]

kramdown:
toc_levels: 1..3

# Exclude
exclude: ['node_modules', 'Examples']


7 changes: 7 additions & 0 deletions _includes/analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-BVCN');</script>
<!-- End Google Tag Manager -->
46 changes: 46 additions & 0 deletions _includes/docs_menu.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<div class="well docs-menu col-xs-12 col-sm-4 col-md-3">
{% include search_form.html %}
<ul class="nav nav-list">
<li class="nav-header">Overview</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_getstarted.html">Get Started</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_overview.html">What is a Dashboard Extension</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_create.html">Create a Dashboard Extension</a>
</li>

<li class="nav-header">Basic Concepts</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_api_about.html">Tableau Extensions API Basics</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_examples.html">Dashboard Extension Samples</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_manifest.html">Tableau Extension Manifest File</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_events.html">Events and Event Handling</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_debugging.html">Remote Debugging of JavaScript and HTML</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_contributing.html">Hosting and Contributing to the Community Portal</a>
</li>

<li class="nav-header">Reference</li>
<li>
<a href="{{ site.baseurl }}/docs/index.html" target="_blank">API Reference</a>
</li>
<li>
<a href="https://github.com/tableau/extensions-api#known-issues-as-of-june-14-2017">Known Issues</a>
</li>
<li>
<a href="{{ site.baseurl }}/docs/trex_release-notes.html">Release Notes</a>
</li>
</ul>
</div>
8 changes: 8 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!-- Footer -->
<footer>
<div class="row">
<hr class="footer-hr">
<p>This site is open source. Suggestions and pull requests are welcome on our <a href="https://github.com/tableau/ProjectFrelard">GitHub page</a>.</p>
<p>(c) Copyright 2017 Tableau</p>
</div>
</footer>
18 changes: 18 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<link rel="shortcut icon" type="image/png" href="{{ site.baseurl }}/assets/logo.png">

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/github-highlight.css">

<script src="{{ site.baseurl }}/assets/js/redirect-to-search.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>

{% if jekyll.environment == "production" %}{% include analytics.html %}{% endif %}
31 changes: 31 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<header class="site-header">
<div class="wrapper">
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand navbar-brand-logo" href="{{ site.baseurl }}/#">Tableau Extensions API - <b><i>Developer Preview</i></b></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="{{ site.baseurl }}/docs/trex_getstarted.html">Docs</a></li>
<li><a href="{{ site.baseurl }}/docs/index.html" target="_blank">API Reference</a></li>
<li><a href="{{ site.baseurl }}/docs/trex_examples.html">Samples</a></li>
<li><a href="{{ site.baseurl }}/community/">Community Extensions</a></li>
<li><a target="_blank" href="https://community.tableau.com/community/developers/">Forum</a></li>
<li><a href="{{ site.baseurl }}/docs/trex_release-notes.html">Release Notes</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="tableauIcon"><a target="_blank" href="http://tableau.com"><img src="{{ site.baseurl }}/assets/logo.png" alt="Tableau Developers" class="logo" /></a></li>
<li><a target="_blank" href="https://github.com/tableau/extensions-api"><span class="icon icon--github" title="Extensions API on GitHub" alt="Extensions API on GitHub">{% include icon-github.svg %}</span></a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
</div>
</header>
1 change: 1 addition & 0 deletions _includes/icon-github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions _includes/search_form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="search-container form-group has-feedback">
<form id="docs-search">
<input type="search" id="search-input" class="custom-search form-control" placeholder="Search the docs..." search-url="{{ site.baseurl}}/docs/search.html">
<span class="glyphicon glyphicon-search form-control-feedback"></span>
</form>
</div>

20 changes: 20 additions & 0 deletions _layouts/api-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: api-ref
---
<!DOCTYPE html>
<html>

<head>
{% include head.html %}
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/api_ref.css">
</head>

<body>
<div class="container">
{% include header.html %}
{{ content }}
<script src="{{ site.baseurl }}/assets/js/api_ref.min.js"></script>
</div>
</body>

</html>
30 changes: 30 additions & 0 deletions _layouts/community.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: community
---
<!DOCTYPE html>
<html>

<head>
{% include head.html %}
</head>

<body>
<div class="container">
{% include header.html %}
<header id="community-jumbo" class="jumbotron hero-spacer">
<h2>{{ page.title }}</h2>
{{ content }}
</header>
<div class="row">
<div id="grid" data-columns>
<!-- dynamically loaded from community/community_extensions.json -->
</div>
</div>

<script src="{{ site.baseurl }}/assets/js/salvattore.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/community_extensions.js"></script>
{% include footer.html %}
</div>
</body>

</html>
34 changes: 34 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>

<head>
{% include head.html %}
</head>

<body>
<div class="container">
{% include header.html %}
<ul class="blogul">
{% for post in site.posts %}
<div class="row">
<h1>{{ post.title }}</h1>
<hr>
<p><span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date: "%-d %B %Y" }}</p>
<hr>
<p class="lead">
{{ post.abstract }}
</p>
{% if post.photoname %}
<img class="img-responsive" src="{{ site.baseurl }}/assets/{{ post.photoname}}" alt=""> {% endif %}
<hr>
<div class="blog-content">
{{ post.content }}
</div>
</div>
{% endfor %}
</ul>
{% include footer.html %}
</div>
</body>

</html>
Loading