Skip to content

Commit

Permalink
documentation skeleton with Jekyll documentation theme
Browse files Browse the repository at this point in the history
  • Loading branch information
sprankhub committed Aug 5, 2016
1 parent 82d8c44 commit 641c8bf
Show file tree
Hide file tree
Showing 85 changed files with 11,939 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_site/
.sass-cache/
.jekyll-metadata
_pdf
.idea/
6 changes: 6 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Page Not Found"
search: exclude
---

Sorry, but the page you were trying to view does not exist. Try searching for it or looking at the URL to see if it looks correct.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

# gem "rails"
gem 'github-pages'
gem 'jekyll'
128 changes: 128 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
activesupport (4.2.5.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.8)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorator (0.1)
ethon (0.8.1)
ffi (>= 1.3.0)
execjs (2.6.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.10)
gemoji (2.1.0)
github-pages (52)
RedCloth (= 4.2.9)
github-pages-health-check (= 1.0.1)
jekyll (= 3.0.3)
jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.4.0)
jekyll-gist (= 1.4.0)
jekyll-mentions (= 1.0.1)
jekyll-paginate (= 1.1.0)
jekyll-redirect-from (= 0.9.1)
jekyll-sass-converter (= 1.3.0)
jekyll-seo-tag (= 1.3.1)
jekyll-sitemap (= 0.10.0)
jekyll-textile-converter (= 0.1.0)
jemoji (= 0.5.1)
kramdown (= 1.9.0)
liquid (= 3.0.6)
mercenary (~> 0.3)
rdiscount (= 2.1.8)
redcarpet (= 3.3.3)
rouge (= 1.10.1)
terminal-table (~> 1.4)
github-pages-health-check (1.0.1)
addressable (~> 2.3)
net-dns (~> 0.8)
octokit (~> 4.0)
public_suffix (~> 1.4)
typhoeus (~> 0.7)
html-pipeline (2.3.0)
activesupport (>= 2, < 5)
nokogiri (>= 1.4)
i18n (0.7.0)
jekyll (3.0.3)
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.4.0)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-mentions (1.0.1)
html-pipeline (~> 2.3)
jekyll (~> 3.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.9.1)
jekyll (>= 2.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-seo-tag (1.3.1)
jekyll (~> 3.0)
jekyll-sitemap (0.10.0)
jekyll-textile-converter (0.1.0)
RedCloth (~> 4.0)
jekyll-watch (1.3.1)
listen (~> 3.0)
jemoji (0.5.1)
gemoji (~> 2.0)
html-pipeline (~> 2.2)
jekyll (>= 2.0)
json (1.8.3)
kramdown (1.9.0)
liquid (3.0.6)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
mercenary (0.3.5)
mini_portile2 (2.0.0)
minitest (5.8.4)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
octokit (4.2.0)
sawyer (~> 0.6.0, >= 0.5.3)
public_suffix (1.5.3)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rdiscount (2.1.8)
redcarpet (3.3.3)
rouge (1.10.1)
safe_yaml (1.0.4)
sass (3.4.21)
sawyer (0.6.0)
addressable (~> 2.3.5)
faraday (~> 0.8, < 0.10)
terminal-table (1.5.2)
thread_safe (0.3.5)
typhoeus (0.8.0)
ethon (>= 0.8.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)

PLATFORMS
ruby

DEPENDENCIES
github-pages
jekyll
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# CustomGento Magento Extensions Documentation

http://docs.customgento.com
84 changes: 84 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@

output: web
# this property is useful for conditional filtering of content that is separate from the PDF.

topnav_title: CustomGento Extension Documentation
# this appears on the top navigation bar next to the home button

site_title: CustomGento Extension Documentation
# this appears in the html browser tab for the site title (seen mostly by search engines, not users)

company_name: CustomGento - Simon Sprankel
# this appears in the footer

github_editme_path: customgento/docs/blob/gh-pages/pages/
# if you're using Github, provide the basepath to the branch you've created for reviews, following the sample here. if not, leave this value blank.

disqus_shortname:
# if you're using disqus for comments, add the shortname here. if not, leave this value blank.

host: 127.0.0.1
# the preview server used. Leave as is.

port: 4005
# the port where the preview is rendered. You can leave this as is unless you have other Jekyll builds using this same port that might cause conflicts. in that case, use another port such as 4006.

exclude:
- .idea/
- .gitignore
# these are the files and directories that jekyll will exclude from the build

feedback_subject_line: CustomGento Extension Documentation Feedback

feedback_email: [email protected]
# used as a contact email for the Feedback link in the top navigation bar

# feedback_disable: true
# if you uncomment the previous line, the Feedback link gets removed

# feedback_text: "Need help?"
# if you uncomment the previous line, it changes the Feedback text

# feedback_link: "http://helpy.io/"
# if you uncomment the previous line, it changes where the feedback link points to

highlighter: rouge
# library used for syntax highlighting

markdown: kramdown
kramdown:
input: GFM
auto_ids: true
hard_wrap: false
syntax_highlighter: rouge
# filter used to process markdown. note that kramdown differs from github-flavored markdown in some subtle ways

collections:
tooltips:
output: false
# collections are declared here. this renders the content in _tooltips and processes it, but doesn't output it as actual files in the output unless you change output to true

defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "page"
comments: true
search: true
sidebar: home_sidebar

# these are defaults used for the frontmatter for these file types

sidebars:
- home_sidebar
- ctp_sidebar
- bi_sidebar
- otp_sidebar

description: "Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features."
# the description is used in the feed.xml file

# needed for sitemap.xml file only
url: http://docs.customgento.com
15 changes: 15 additions & 0 deletions _data/alerts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
tip: '<div class="alert alert-success" role="alert"><i class="fa fa-check-square-o"></i> <b>Tip: </b>'
note: '<div class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note: </b>'
important: '<div class="alert alert-warning" role="alert"><i class="fa fa-warning"></i> <b>Important: </b>'
warning: '<div class="alert alert-danger" role="alert"><i class="fa fa-exclamation-circle"></i> <b>Warning: </b>'
end: '</div>'

callout_danger: '<div class="bs-callout bs-callout-danger">'
callout_default: '<div class="bs-callout bs-callout-default">'
callout_primary: '<div class="bs-callout bs-callout-primary">'
callout_success: '<div class="bs-callout bs-callout-success">'
callout_info: '<div class="bs-callout bs-callout-info">'
callout_warning: '<div class="bs-callout bs-callout-warning">'

hr_faded: '<hr class="faded"/>'
hr_shaded: '<hr class="shaded"/>'
19 changes: 19 additions & 0 deletions _data/sidebars/bi_sidebar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This is your sidebar TOC. The sidebar code loops through sections here and provides the appropriate formatting.

entries:
- title: Sidebar
levels: one
folders:

- title: BankIntegration
output: web
folderitems:
- title: Overview
url: /bi_index.html#overview
output: web
- title: General Configuration
url: /bi_index.html#general-configuration
output: web
- title: The Upload Page
url: /bi_index.html#the-upload-page
output: web
13 changes: 13 additions & 0 deletions _data/sidebars/ctp_sidebar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This is your sidebar TOC. The sidebar code loops through sections here and provides the appropriate formatting.

entries:
- title: Sidebar
levels: one
folders:

- title: ConfigurableTierPrices
output: web
folderitems:
- title: Overview
url: /ctp_index.html#overview
output: web
19 changes: 19 additions & 0 deletions _data/sidebars/home_sidebar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This is your sidebar TOC. The sidebar code loops through sections here and provides the appropriate formatting.

entries:
- title: Sidebar
levels: one
folders:

- title: Extensions
output: web
folderitems:
- title: ConfigurableTierPrices
url: /cti_index.html
output: web
- title: BankIntegration
url: /bi_index.html
output: web
- title: OptionsTierPrices
url: /otp_index.html
output: web
13 changes: 13 additions & 0 deletions _data/sidebars/otp_sidebar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This is your sidebar TOC. The sidebar code loops through sections here and provides the appropriate formatting.

entries:
- title: Sidebar
levels: one
folders:

- title: OptionsTierPrices
output: web
folderitems:
- title: Overview
url: /otp_index.html#overview
output: web
5 changes: 5 additions & 0 deletions _data/strings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


# placed here for translation purposes
search_placeholder_text: search...
search_no_results_text: No results found.
20 changes: 20 additions & 0 deletions _data/topnav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Topnav single links
## if you want to list an external url, use external_url instead of url. the theme will apply a different link base.
topnav:
- title: Topnav
items:
- title: Extension Store
external_url: http://customgento.com

#Topnav dropdowns
topnav_dropdowns:
- title: Topnav dropdowns
folders:
- title: Extensions
folderitems:
- title: ConfigurableTierPrices
url: /ctp_index.html
- title: BankIntegration
url: /bi_index.html
- title: OptionsTierPrices
url: /otp_index.html
15 changes: 15 additions & 0 deletions _includes/archive.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: default
type: archive
---

<div class="post-header">
<h1 class="post-title-main">{{ page.title }}</h1>
</div>
<div class="post-content">

{{ content }}
</div>



1 change: 1 addition & 0 deletions _includes/callout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<div markdown="span" class="bs-callout bs-callout-{{include.type}}">{{include.content}}</div>
15 changes: 15 additions & 0 deletions _includes/custom/sidebarconfigs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{% if page.sidebar == "home_sidebar" %}
{% assign sidebar = site.data.sidebars.home_sidebar.entries %}

{% elsif page.sidebar == "ctp_sidebar" %}
{% assign sidebar = site.data.sidebars.ctp_sidebar.entries %}

{% elsif page.sidebar == "bi_sidebar" %}
{% assign sidebar = site.data.sidebars.bi_sidebar.entries %}

{% elsif page.sidebar == "otp_sidebar" %}
{% assign sidebar = site.data.sidebars.otp_sidebar.entries %}

{% else %}
{% assign sidebar = site.data.sidebars.home_sidebar.entries %}
{% endif %}
Loading

0 comments on commit 641c8bf

Please sign in to comment.