sanskrit-documentation-theme 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +79 -0
- data/_includes/archive.html +15 -0
- data/_includes/callout.html +1 -0
- data/_includes/disqus.html +17 -0
- data/_includes/feedback.html +13 -0
- data/_includes/footer.html +9 -0
- data/_includes/functions/recursive_item_to_list.html +29 -0
- data/_includes/google_analytics.html +6 -0
- data/_includes/head.html +45 -0
- data/_includes/head_print.html +28 -0
- data/_includes/image.html +1 -0
- data/_includes/important.html +1 -0
- data/_includes/initialize_shuffle.html +130 -0
- data/_includes/inline_image.html +1 -0
- data/_includes/note.html +1 -0
- data/_includes/sidebar.html +16 -0
- data/_includes/taglogic.html +32 -0
- data/_includes/tip.html +1 -0
- data/_includes/toc.html +38 -0
- data/_includes/topnav.html +62 -0
- data/_includes/warning.html +1 -0
- data/_layouts/default.html +121 -0
- data/_layouts/default_print.html +25 -0
- data/_layouts/none.html +3 -0
- data/_layouts/page.html +68 -0
- data/_layouts/page_print.html +15 -0
- data/_layouts/post.html +39 -0
- data/assets/blog/archive.html +33 -0
- data/assets/blog/index.html +28 -0
- data/assets/css/boxshadowproperties.css +24 -0
- data/assets/css/class-styles-general.css +281 -0
- data/assets/css/device-specific.css +92 -0
- data/assets/css/element-styles-general.css +229 -0
- data/assets/css/font-awesome.min.css +4 -0
- data/assets/css/fonts.css +13 -0
- data/assets/css/modern-business.css +89 -0
- data/assets/css/navbar-toc.css +203 -0
- data/assets/css/printstyles.css +159 -0
- data/assets/css/theme-blue.css +121 -0
- data/assets/feed.xml +32 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +520 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/assets/fonts/glyphicons-halflings-regular.svg +288 -0
- data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/assets/google-us.md +12 -0
- data/assets/images/company_logo_big.png +0 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/js/customscripts.js +54 -0
- data/assets/js/jekyll-search.js +1 -0
- data/assets/js/jquery.ba-throttle-debounce.min.js +9 -0
- data/assets/js/jquery.navgoco.min.js +8 -0
- data/assets/js/jquery.shuffle.min.js +1588 -0
- data/assets/js/toc.js +73 -0
- data/assets/search.json +33 -0
- data/licenses/LICENSE-BSD-NAVGOCO.txt +27 -0
- data/licenses/LICENSE-CONTENT.md +3 -0
- data/licenses/LICENSE-MIT-DOC-THEME-THOLT.txt +21 -0
- data/licenses/LICENSE-MIT-SANSKRIT-DOC-THEME.txt +21 -0
- metadata +193 -0
data/assets/js/toc.js
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
// https://github.com/ghiculescu/jekyll-table-of-contents
|
2
|
+
(function($){
|
3
|
+
$.fn.toc = function(options) {
|
4
|
+
var defaults = {
|
5
|
+
noBackToTopLinks: false,
|
6
|
+
title: '',
|
7
|
+
minimumHeaders: 3,
|
8
|
+
headers: 'h1, h2, h3, h4',
|
9
|
+
listType: 'ol', // values: [ol|ul]
|
10
|
+
},
|
11
|
+
settings = $.extend(defaults, options);
|
12
|
+
|
13
|
+
var headers = $(settings.headers).filter(function() {
|
14
|
+
// get all headers with an ID
|
15
|
+
var previousSiblingName = $(this).prev().attr( "name" );
|
16
|
+
if (!this.id && previousSiblingName) {
|
17
|
+
this.id = $(this).attr( "id", previousSiblingName.replace(/\./g, "-") );
|
18
|
+
}
|
19
|
+
return this.id;
|
20
|
+
}), output = $(this);
|
21
|
+
if (!headers.length || headers.length < settings.minimumHeaders || !output.length) {
|
22
|
+
return;
|
23
|
+
}
|
24
|
+
|
25
|
+
var get_level = function(ele) { return parseInt(ele.nodeName.replace("H", ""), 10); }
|
26
|
+
var highest_level = headers.map(function(_, ele) { return get_level(ele); }).get().sort()[0];
|
27
|
+
|
28
|
+
// There is a javascript click listener (defined later in this file) for the below to scroll up.
|
29
|
+
var return_to_top = '<div class="icon-arrow-up back-to-top" style="text-align:right;">Up↑</div>';
|
30
|
+
|
31
|
+
var level = get_level(headers[0]),
|
32
|
+
this_level,
|
33
|
+
html = settings.title + " <"+settings.listType+" id=\"toc_ul\" class=\"nav\">";
|
34
|
+
headers.on('click', function() {
|
35
|
+
if (!settings.noBackToTopLinks) {
|
36
|
+
window.location.hash = this.id;
|
37
|
+
}
|
38
|
+
})
|
39
|
+
.addClass('clickable-header').after(return_to_top)
|
40
|
+
.each(function(_, header) {
|
41
|
+
this_level = get_level(header);
|
42
|
+
if (!settings.noBackToTopLinks && this_level === highest_level) {
|
43
|
+
$(header).addClass('top-level-header');
|
44
|
+
}
|
45
|
+
if (this_level === level) // same level as before; same indenting
|
46
|
+
html += "<li><a href='#" + header.id + "'>" + header.innerText + "</a>";
|
47
|
+
else if (this_level <= level){ // higher level than before; end parent ol
|
48
|
+
for(i = this_level; i < level; i++) {
|
49
|
+
html += "</li></"+settings.listType+">"
|
50
|
+
}
|
51
|
+
html += "<li><a href='#" + header.id + "'>" + header.innerText + "</a>";
|
52
|
+
}
|
53
|
+
else if (this_level > level) { // lower level than before; expand the previous to contain a ol
|
54
|
+
for(i = this_level; i > level; i--) {
|
55
|
+
html += "<"+settings.listType+"><li>"
|
56
|
+
}
|
57
|
+
html += "<a href='#" + header.id + "'>" + header.innerText + "</a>";
|
58
|
+
}
|
59
|
+
level = this_level; // update for the next one
|
60
|
+
});
|
61
|
+
html += "</"+settings.listType+">";
|
62
|
+
|
63
|
+
// Listener for "Back to top" links under headings.
|
64
|
+
if (!settings.noBackToTopLinks) {
|
65
|
+
$(document).on('click', '.back-to-top', function() {
|
66
|
+
$(window).scrollTop(0);
|
67
|
+
window.location.hash = '';
|
68
|
+
});
|
69
|
+
}
|
70
|
+
|
71
|
+
output.html(html);
|
72
|
+
};
|
73
|
+
})(jQuery);
|
data/assets/search.json
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
title: search
|
3
|
+
layout: none
|
4
|
+
search: exclude
|
5
|
+
---
|
6
|
+
|
7
|
+
[
|
8
|
+
{% for page in site.pages %}
|
9
|
+
{% unless page.search == "exclude" %}
|
10
|
+
{
|
11
|
+
"title": "{{ page.title | escape }}",
|
12
|
+
"tags": "{{ page.tags }}",
|
13
|
+
"keywords": "{{page.keywords}}",
|
14
|
+
"url": "{{site.baseurl}}/{{ page.url }}",
|
15
|
+
"summary": "{{page.summary | strip }}"
|
16
|
+
}
|
17
|
+
{% unless forloop.last and site.posts.size < 1 %},{% endunless %}
|
18
|
+
{% endunless %}
|
19
|
+
{% endfor %}
|
20
|
+
|
21
|
+
{% for post in site.posts %}
|
22
|
+
|
23
|
+
{
|
24
|
+
"title": "{{ post.title | escape }}",
|
25
|
+
"tags": "{{ post.tags }}",
|
26
|
+
"keywords": "{{post.keywords}}",
|
27
|
+
"url": "{{site.baseurl}}/{{ post.url }}",
|
28
|
+
"summary": "{{post.summary | strip }}"
|
29
|
+
}
|
30
|
+
{% unless forloop.last %},{% endunless %}
|
31
|
+
{% endfor %}
|
32
|
+
|
33
|
+
]
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/* This license pertains to the Navgoco jQuery component used for the sidebar. */
|
2
|
+
|
3
|
+
Copyright (c) 2013, Christodoulos Tsoulloftas, http://www.komposta.net
|
4
|
+
All rights reserved.
|
5
|
+
|
6
|
+
Redistribution and use in source and binary forms, with or without modification,
|
7
|
+
are permitted provided that the following conditions are met:
|
8
|
+
|
9
|
+
* Redistributions of source code must retain the above copyright notice,
|
10
|
+
this list of conditions and the following disclaimer.
|
11
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
13
|
+
and/or other materials provided with the distribution.
|
14
|
+
* Neither the name of the <Christodoulos Tsoulloftas> nor the names of its
|
15
|
+
contributors may be used to endorse or promote products derived from this
|
16
|
+
software without specific prior written permission.
|
17
|
+
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
19
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
20
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
21
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
22
|
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
23
|
+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
24
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
25
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
26
|
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
27
|
+
OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Tom Johnson
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Vishvas
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
metadata
ADDED
@@ -0,0 +1,193 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sanskrit-documentation-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- vvasuki
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-09-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-seo-tag
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-feed
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.9'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.9'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jekyll-sitemap
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.2.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.2.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.16'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.16'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '12.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '12.0'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- sanskrit-programmers@googlegroups.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- README.md
|
105
|
+
- _includes/archive.html
|
106
|
+
- _includes/callout.html
|
107
|
+
- _includes/disqus.html
|
108
|
+
- _includes/feedback.html
|
109
|
+
- _includes/footer.html
|
110
|
+
- _includes/functions/recursive_item_to_list.html
|
111
|
+
- _includes/google_analytics.html
|
112
|
+
- _includes/head.html
|
113
|
+
- _includes/head_print.html
|
114
|
+
- _includes/image.html
|
115
|
+
- _includes/important.html
|
116
|
+
- _includes/initialize_shuffle.html
|
117
|
+
- _includes/inline_image.html
|
118
|
+
- _includes/note.html
|
119
|
+
- _includes/sidebar.html
|
120
|
+
- _includes/taglogic.html
|
121
|
+
- _includes/tip.html
|
122
|
+
- _includes/toc.html
|
123
|
+
- _includes/topnav.html
|
124
|
+
- _includes/warning.html
|
125
|
+
- _layouts/default.html
|
126
|
+
- _layouts/default_print.html
|
127
|
+
- _layouts/none.html
|
128
|
+
- _layouts/page.html
|
129
|
+
- _layouts/page_print.html
|
130
|
+
- _layouts/post.html
|
131
|
+
- assets/blog/archive.html
|
132
|
+
- assets/blog/index.html
|
133
|
+
- assets/css/boxshadowproperties.css
|
134
|
+
- assets/css/class-styles-general.css
|
135
|
+
- assets/css/device-specific.css
|
136
|
+
- assets/css/element-styles-general.css
|
137
|
+
- assets/css/font-awesome.min.css
|
138
|
+
- assets/css/fonts.css
|
139
|
+
- assets/css/modern-business.css
|
140
|
+
- assets/css/navbar-toc.css
|
141
|
+
- assets/css/printstyles.css
|
142
|
+
- assets/css/theme-blue.css
|
143
|
+
- assets/feed.xml
|
144
|
+
- assets/fonts/FontAwesome.otf
|
145
|
+
- assets/fonts/fontawesome-webfont.eot
|
146
|
+
- assets/fonts/fontawesome-webfont.svg
|
147
|
+
- assets/fonts/fontawesome-webfont.ttf
|
148
|
+
- assets/fonts/fontawesome-webfont.woff
|
149
|
+
- assets/fonts/glyphicons-halflings-regular.eot
|
150
|
+
- assets/fonts/glyphicons-halflings-regular.svg
|
151
|
+
- assets/fonts/glyphicons-halflings-regular.ttf
|
152
|
+
- assets/fonts/glyphicons-halflings-regular.woff
|
153
|
+
- assets/fonts/glyphicons-halflings-regular.woff2
|
154
|
+
- assets/google-us.md
|
155
|
+
- assets/images/company_logo_big.png
|
156
|
+
- assets/images/favicon.ico
|
157
|
+
- assets/js/customscripts.js
|
158
|
+
- assets/js/jekyll-search.js
|
159
|
+
- assets/js/jquery.ba-throttle-debounce.min.js
|
160
|
+
- assets/js/jquery.navgoco.min.js
|
161
|
+
- assets/js/jquery.shuffle.min.js
|
162
|
+
- assets/js/toc.js
|
163
|
+
- assets/search.json
|
164
|
+
- licenses/LICENSE-BSD-NAVGOCO.txt
|
165
|
+
- licenses/LICENSE-CONTENT.md
|
166
|
+
- licenses/LICENSE-MIT-DOC-THEME-THOLT.txt
|
167
|
+
- licenses/LICENSE-MIT-SANSKRIT-DOC-THEME.txt
|
168
|
+
homepage: https://github.com/sanskrit-coders/sanskrit-documentation-theme
|
169
|
+
licenses:
|
170
|
+
- MIT
|
171
|
+
metadata: {}
|
172
|
+
post_install_message:
|
173
|
+
rdoc_options: []
|
174
|
+
require_paths:
|
175
|
+
- lib
|
176
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0'
|
186
|
+
requirements: []
|
187
|
+
rubyforge_project:
|
188
|
+
rubygems_version: 2.7.7
|
189
|
+
signing_key:
|
190
|
+
specification_version: 4
|
191
|
+
summary: A documentation theme forked off http://github.com/tomjoht/documentation-theme-jekyll
|
192
|
+
.
|
193
|
+
test_files: []
|