sanskrit-documentation-theme 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +79 -0
  3. data/_includes/archive.html +15 -0
  4. data/_includes/callout.html +1 -0
  5. data/_includes/disqus.html +17 -0
  6. data/_includes/feedback.html +13 -0
  7. data/_includes/footer.html +9 -0
  8. data/_includes/functions/recursive_item_to_list.html +29 -0
  9. data/_includes/google_analytics.html +6 -0
  10. data/_includes/head.html +45 -0
  11. data/_includes/head_print.html +28 -0
  12. data/_includes/image.html +1 -0
  13. data/_includes/important.html +1 -0
  14. data/_includes/initialize_shuffle.html +130 -0
  15. data/_includes/inline_image.html +1 -0
  16. data/_includes/note.html +1 -0
  17. data/_includes/sidebar.html +16 -0
  18. data/_includes/taglogic.html +32 -0
  19. data/_includes/tip.html +1 -0
  20. data/_includes/toc.html +38 -0
  21. data/_includes/topnav.html +62 -0
  22. data/_includes/warning.html +1 -0
  23. data/_layouts/default.html +121 -0
  24. data/_layouts/default_print.html +25 -0
  25. data/_layouts/none.html +3 -0
  26. data/_layouts/page.html +68 -0
  27. data/_layouts/page_print.html +15 -0
  28. data/_layouts/post.html +39 -0
  29. data/assets/blog/archive.html +33 -0
  30. data/assets/blog/index.html +28 -0
  31. data/assets/css/boxshadowproperties.css +24 -0
  32. data/assets/css/class-styles-general.css +281 -0
  33. data/assets/css/device-specific.css +92 -0
  34. data/assets/css/element-styles-general.css +229 -0
  35. data/assets/css/font-awesome.min.css +4 -0
  36. data/assets/css/fonts.css +13 -0
  37. data/assets/css/modern-business.css +89 -0
  38. data/assets/css/navbar-toc.css +203 -0
  39. data/assets/css/printstyles.css +159 -0
  40. data/assets/css/theme-blue.css +121 -0
  41. data/assets/feed.xml +32 -0
  42. data/assets/fonts/FontAwesome.otf +0 -0
  43. data/assets/fonts/fontawesome-webfont.eot +0 -0
  44. data/assets/fonts/fontawesome-webfont.svg +520 -0
  45. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  46. data/assets/fonts/fontawesome-webfont.woff +0 -0
  47. data/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  48. data/assets/fonts/glyphicons-halflings-regular.svg +288 -0
  49. data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  50. data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  51. data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  52. data/assets/google-us.md +12 -0
  53. data/assets/images/company_logo_big.png +0 -0
  54. data/assets/images/favicon.ico +0 -0
  55. data/assets/js/customscripts.js +54 -0
  56. data/assets/js/jekyll-search.js +1 -0
  57. data/assets/js/jquery.ba-throttle-debounce.min.js +9 -0
  58. data/assets/js/jquery.navgoco.min.js +8 -0
  59. data/assets/js/jquery.shuffle.min.js +1588 -0
  60. data/assets/js/toc.js +73 -0
  61. data/assets/search.json +33 -0
  62. data/licenses/LICENSE-BSD-NAVGOCO.txt +27 -0
  63. data/licenses/LICENSE-CONTENT.md +3 -0
  64. data/licenses/LICENSE-MIT-DOC-THEME-THOLT.txt +21 -0
  65. data/licenses/LICENSE-MIT-SANSKRIT-DOC-THEME.txt +21 -0
  66. metadata +193 -0
@@ -0,0 +1 @@
1
+ <div markdown="span" class="alert alert-success" role="alert"><i class="fa fa-check-square-o"></i> <b>Tip:</b> {{include.content}}</div>
@@ -0,0 +1,38 @@
1
+
2
+ <!-- this handles the automatic toc. use ## for subheads to auto-generate the on-page minitoc. if you use html tags, you must supply an ID for the heading element in order for it to appear in the minitoc. -->
3
+ <script>
4
+ $( document ).ready(function() {
5
+ // Handler for .ready() called.
6
+
7
+ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', headers: 'h2,h3,h4,h5,h6'});
8
+ $('#toc_ul').navgoco({
9
+ caretHtml: '',
10
+ accordion: true,
11
+ openClass: 'active', // open
12
+ save: false, // leave false or nav highlighting doesn't work right
13
+ caretHtml: '...', // Make it easier to expand the drawers by increasing click-capture area.
14
+ cookie: {
15
+ name: 'navgoco',
16
+ expires: false,
17
+ path: '/'
18
+ },
19
+ slide: {
20
+ duration: 400,
21
+ easing: 'swing'
22
+ }
23
+ });
24
+
25
+
26
+ // /* this offset helps account for the space taken up by the floating toolbar. */
27
+ // $('#toc').on('click', 'a', function() {
28
+ // var target = $(this.getAttribute('href'))
29
+ // , scroll_target = target.offset().top
30
+ //
31
+ // $(window).scrollTop(scroll_target - 10);
32
+ // return false
33
+ // })
34
+ });
35
+ </script>
36
+
37
+
38
+ <div id="toc"></div>
@@ -0,0 +1,62 @@
1
+ <!-- Navigation -->
2
+ <nav class="navbar navbar-inverse navbar-static-top">
3
+ <div class="container topnavlinks">
4
+ <div class="navbar-header">
5
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
6
+ <span class="sr-only">Toggle navigation</span>
7
+ <span class="icon-bar"></span>
8
+ <span class="icon-bar"></span>
9
+ <span class="icon-bar"></span>
10
+ </button>
11
+ <a class="fa fa-home fa-lg navbar-brand" href="{{"/index.html" | prepend: site.baseurl}}">&nbsp;<span class="projectTitle"> {{site.site_title}}</span></a>
12
+ </div>
13
+ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
14
+ <ul class="nav navbar-nav navbar-right">
15
+ <!-- toggle sidebar button -->
16
+ <li><a id="tg-sb-link" href="#"><i id="tg-sb-icon" class="fa fa-toggle-on"></i> Nav</a></li>
17
+
18
+ {% assign topnav = site.data.sidebars[page.topnav] %}
19
+ <!-- {{topnav}} -->
20
+ <li class="dropdown">
21
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">
22
+ {{ topnav.title }}
23
+ <b class="caret"></b></a>
24
+ <ul class="dropdown-menu">
25
+ {% for subitem in topnav.contents %}
26
+ {% include /functions/recursive_item_to_list.html item=subitem level=1 %}
27
+ {% endfor %}
28
+ </ul>
29
+ </li>
30
+ <!-- conditional logic to control which topnav appears for the audience defined in the configuration file.-->
31
+ {% if site.feedback_disable == null or site.feedback_disable == false %}
32
+ {% include feedback.html %}
33
+ {% endif %}
34
+ <!--comment out this block if you want to hide search-->
35
+ <li>
36
+ <!--start search-->
37
+ <div id="search-demo-container">
38
+ <input type="text" id="search-input" placeholder="{{site.data.strings.search_placeholder_text}}">
39
+ <ul id="results-container"></ul>
40
+ </div>
41
+ <script src="{{ site.baseurl | append: "/assets/js/jekyll-search.js"}}" type="text/javascript"></script>
42
+ <script type="text/javascript">
43
+ SimpleJekyllSearch.init({
44
+ searchInput: document.getElementById('search-input'),
45
+ resultsContainer: document.getElementById('results-container'),
46
+ dataSource: '{{ site.baseurl | append: "/assets/search.json" }}',
47
+ searchResultTemplate: '<li><a href="{url}" title="{{page.title | escape }}">{title}</a></li>',
48
+ noResultsText: '{{site.data.strings.search_no_results_text}}',
49
+ limit: 10,
50
+ fuzzy: true,
51
+ })
52
+ </script>
53
+ <!--end search-->
54
+ </li>
55
+ <li>
56
+ <a href=" {{ site.baseurl}}/assets/google-us.html">Google us!</a>
57
+ </li>
58
+ </ul>
59
+ </div>
60
+ </div>
61
+ <!-- /.container -->
62
+ </nav>
@@ -0,0 +1 @@
1
+ <div markdown="span" class="alert alert-danger" role="alert"><i class="fa fa-exclamation-circle"></i> <b>Warning:</b> {{include.content}}</div>
@@ -0,0 +1,121 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ {% include head.html %}
5
+ <script>
6
+ $(document).ready(function() {
7
+ // Initialize navgoco with default options
8
+ $("#displayed_sidebar").navgoco({
9
+ caretHtml: '',
10
+ accordion: true,
11
+ openClass: 'active', // open
12
+ save: false, // leave false or nav highlighting doesn't work right
13
+ cookie: {
14
+ name: 'navgoco',
15
+ expires: false,
16
+ path: '/'
17
+ },
18
+ slide: {
19
+ duration: 400,
20
+ easing: 'swing'
21
+ }
22
+ });
23
+ $("#toc_ul").navgoco({
24
+ caretHtml: '',
25
+ accordion: true,
26
+ openClass: 'active', // open
27
+ save: false, // leave false or nav highlighting doesn't work right
28
+ cookie: {
29
+ name: 'navgoco',
30
+ expires: false,
31
+ path: '/'
32
+ },
33
+ slide: {
34
+ duration: 400,
35
+ easing: 'swing'
36
+ }
37
+ });
38
+
39
+ $("#collapseAll").click(function(e) {
40
+ e.preventDefault();
41
+ $("#displayed_sidebar").navgoco('toggle', false);
42
+ });
43
+
44
+ $("#expandAll").click(function(e) {
45
+ e.preventDefault();
46
+ $("#displayed_sidebar").navgoco('toggle', true);
47
+ });
48
+
49
+ });
50
+
51
+ </script>
52
+ <script>
53
+ $(function () {
54
+ $('[data-toggle="tooltip"]').tooltip()
55
+ })
56
+ </script>
57
+ <script>
58
+ $(document).ready(function() {
59
+ $("#tg-sb-link").click(function() {
60
+ $("#tg-sb-sidebar").toggle();
61
+ $("#tg-sb-content").toggleClass('col-md-9');
62
+ $("#tg-sb-content").toggleClass('col-md-12');
63
+ $("#tg-sb-icon").toggleClass('fa-toggle-on');
64
+ $("#tg-sb-icon").toggleClass('fa-toggle-off');
65
+ });
66
+ });
67
+ </script>
68
+ {% if page.datatable == true %}
69
+ <!-- Include the standard DataTables bits -->
70
+ <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.13/css/jquery.dataTables.css">
71
+ <script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.13/js/jquery.dataTables.js"></script>
72
+ <!-- First, this walks through the tables that occur between ...-begin
73
+ and ...-end and add the "datatable" class to them.
74
+ Then it invokes DataTable's standard initializer
75
+ Credit here: http://www.beardedhacker.com/blog/2015/08/28/add-class-attribute-to-markdown-table/
76
+ -->
77
+ <script>
78
+ $(document).ready(function(){
79
+ $('div.datatable-begin').nextUntil('div.datatable-end', 'table').addClass('display');
80
+ $('table.display').DataTable( {
81
+ paging: true,
82
+ stateSave: true,
83
+ searching: true
84
+ });
85
+ });
86
+ </script>
87
+ {% endif %}
88
+
89
+ </head>
90
+ <body>
91
+ {% include topnav.html %}
92
+ <!-- Page Content -->
93
+ <div class="container">
94
+ <div id="main">
95
+ <!-- Content Row -->
96
+ <div class="row">
97
+ {% assign content_col_size = "col-md-12" %}
98
+ {% unless page.hide_sidebar %}
99
+ <!-- Sidebar Column -->
100
+ <div class="col-md-3" id="tg-sb-sidebar">
101
+ {% include sidebar.html %}
102
+ </div>
103
+ {% assign content_col_size = "col-md-9" %}
104
+ {% endunless %}
105
+
106
+ <!-- Content Column -->
107
+ <div class="{{content_col_size}}" id="tg-sb-content">
108
+ {{content}}
109
+ </div>
110
+ <!-- /.row -->
111
+ </div>
112
+ <!-- /.container -->
113
+ </div>
114
+ <!-- /#main -->
115
+ </div>
116
+
117
+ </body>
118
+ {% if site.google_analytics %}
119
+ {% include google_analytics.html %}
120
+ {% endif %}
121
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <html>
4
+ <head>
5
+ {% include head_print.html %}
6
+
7
+
8
+ </head>
9
+
10
+ <body class="{% if page.type == "title"%}title{% elsif page.type == "frontmatter" %}frontmatter{% elsif page.type == "first_page" %}first_page{% endif %} print">
11
+
12
+ <!-- Page Content -->
13
+ <div class="container">
14
+ <!-- Content Column -->
15
+ <div class="col-md-9">
16
+
17
+ {{content}}
18
+ </div>
19
+
20
+ </div> <!-- /.container -->
21
+
22
+ </body>
23
+
24
+ </html>
25
+
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ {{content}}
@@ -0,0 +1,68 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="post-header">
6
+ <h1 class="post-title-main">{{ page.title }}</h1>
7
+ </div>
8
+
9
+ {% if page.simple_map == true %}
10
+
11
+ <script>
12
+ $(document).ready ( function(){
13
+ $('.box{{page.box_number}}').addClass('active');
14
+ });
15
+ </script>
16
+
17
+ {% include custom/{{page.map_name}}.html %}
18
+
19
+ {% elsif page.complex_map == true %}
20
+
21
+ <script>
22
+ $(document).ready ( function(){
23
+ $('.modalButton{{page.box_number}}').addClass('active');
24
+ });
25
+ </script>
26
+
27
+ {% include custom/{{page.map_name}}.html %}
28
+
29
+ {% endif %}
30
+ <div class="post-content" unicode_script="{{ page.unicode_script }}">
31
+
32
+ {% if page.summary %}
33
+ <div class="summary">{{page.summary}}</div>
34
+ {% endif %}
35
+
36
+ {% unless page.toc == false %}
37
+ {% include toc.html %}
38
+ {% endunless %}
39
+
40
+
41
+ {% if site.github_editme_path %}
42
+
43
+ <a target="_blank" href="https://github.com/{{site.github_editme_path}}{{page.path}}" class="btn btn-default githubEditButton" role="button"><i class="fa fa-github fa-lg"></i> Edit me</a>
44
+
45
+ {% endif %}
46
+
47
+
48
+ {{content}}
49
+
50
+ <div class="tags">
51
+ {% if page.tags != null %}
52
+ <b>Tags: </b>
53
+ {% assign projectTags = site.data.tags.allowed-tags %}
54
+ {% for tag in page.tags %}
55
+ {% if projectTags contains tag %}
56
+ <a href="{{site.baseurl}}{{ "/tags/" | append: tag | append: ".html" }}" class="btn btn-default navbar-btn cursorNorm" role="button">{{page.tagName}}{{tag}}</a>
57
+ {% endif %}
58
+ {% endfor %}
59
+ {% endif %}
60
+ </div>
61
+
62
+ {% include disqus.html %}
63
+
64
+ </div>
65
+
66
+ {{site.data.alerts.hr_shaded}}
67
+
68
+ {% include footer.html %}
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default_print
3
+ comments: true
4
+ ---
5
+ <div class="post-header">
6
+ <h1 class="post-title-main" id="{{page.permalink | replace: '/', '_' }}">{{ page.title }}</h1>
7
+ </div>
8
+
9
+ <div class="post-content">
10
+
11
+ {% if page.summary %}
12
+ <div class="summary">{{page.summary}}</div>
13
+ {% endif %}
14
+ {{ content }}
15
+ </div>
@@ -0,0 +1,39 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
8
+ <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time> {% if page.author %}<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">/ {{ page.author }}</span></span>{% endif %}{% if page.tags != null %}/
9
+ {% assign projectTags = site.data.tags.allowed-tags %}
10
+ {% for tag in page.tags %}
11
+ {% if projectTags contains tag %}
12
+ <a href="{{site.baseurl}}{{ "/page/tags/" | append: tag | append: ".html" }}" class="btn btn-default navbar-btn cursorNorm" role="button">{{page.tagName}}{{tag}}</a>
13
+ {% endif %}
14
+ {% endfor %}
15
+ {% endif %}
16
+
17
+ </p>
18
+
19
+
20
+ </header>
21
+
22
+ <div class="post-content" itemprop="articleBody">
23
+
24
+ {% if page.summary %}
25
+ <div class="summary">{{page.summary}}</div>
26
+ {% endif %}
27
+
28
+ {{ content }}
29
+ </div>
30
+
31
+
32
+
33
+ </article>
34
+
35
+ {% include disqus.html %}
36
+
37
+ {{site.data.alerts.hr_shaded}}
38
+
39
+ {% include footer.html %}
@@ -0,0 +1,33 @@
1
+ ---
2
+ title: News
3
+ sidebar: home_sidebar
4
+ keywords: news, blog, updates, release notes, announcements
5
+ toc: false
6
+ ---
7
+
8
+ <div class="home">
9
+
10
+ <div class="post-list">
11
+
12
+
13
+ <section id="archive">
14
+ <h3>This year's posts</h3>
15
+ {%for post in site.posts %}
16
+ {% unless post.next %}
17
+ <ul class="this">
18
+ {% else %}
19
+ {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
20
+ {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
21
+ {% if year != nyear %}
22
+ </ul>
23
+ <h3>{{ post.date | date: '%Y' }}</h3>
24
+ <ul class="past">
25
+ {% endif %}
26
+ {% endunless %}
27
+ <li><time>{{ post.date | date:"%d %b" }}</time><a href="{{site.baseurl}}{{ post.url}}">{{ post.title }}</a></li>
28
+ {% endfor %}
29
+ </ul>
30
+ </section>
31
+ <hr/>
32
+ </div>
33
+ </div>
@@ -0,0 +1,28 @@
1
+ ---
2
+ title: Blog
3
+ sidebar: home_sidebar
4
+ keywords: news, blog, updates, announcements
5
+ toc: false
6
+ ---
7
+ <div class="home">
8
+
9
+ <div class="post-list">
10
+ {% for post in site.posts limit:10 %}
11
+
12
+
13
+ <h2><a class="post-link" href="{{site.baseurl}}{{ post.url }}">{{ post.title }}</a></h2>
14
+ <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }} /
15
+ {% for tag in post.tags %}
16
+ <a href="{{site.baseurl}}{{ "/tags/" | append: tag | append: ".html"}}">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
17
+ {% endfor %}</span>
18
+ <p>{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}</p>
19
+
20
+ {% endfor %}
21
+
22
+ <p><a href="{{ "feed.xml" | relative_url }}" class="btn btn-primary navbar-btn cursorNorm" role="button">RSS Subscribe{{tag}}</a></p>
23
+
24
+ <hr />
25
+ <p>See more posts from the <a href="archive.html">Archive</a>. </p>
26
+
27
+ </div>
28
+ </div>