Skip to content
This repository was archived by the owner on May 7, 2020. It is now read-only.

Commit 71f0820

Browse files
committed
first commit of tcprojwrapper
0 parents  commit 71f0820

File tree

140 files changed

+18632
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+18632
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.env
2+
private

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "cinder"]
2+
path = cinder
3+
url = [email protected]:topcoderinc/cinder.git

bin/setup.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
echo 'enter NEW project name'
2+
read name
3+
4+
//git clone --recursive [email protected]:topcoderinc/tcProjWrapper.git drone-series
5+
sed -i.bak s/tcprojWrapper/${name}/g mkdocs.yml && rm mkdocs.yml.bak
6+
rm -rf .git*
7+
git init
8+
git add .
9+
git commit -am 'first commit to ${name}, templated from [email protected]:topcoderinc/tcProjWrapper.git '
10+
mkdir src
11+
git submodule add [email protected]:topcoderinc/dsp-server.git src/dsp-server
12+
git submodule add [email protected]:topcoderinc/dsp-server.git src/dsp-frontend

cinder/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build
2+
dist
3+
mkdocs_cinder.egg-info/

cinder/CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Changelog
2+
3+
### v0.9.4
4+
5+
- added support for H3 header titles in sidebar menu (PR #9)
6+
7+
### v0.9.3
8+
9+
- Added support for > 2 level dropdown link depth (Issue #1 with PR #3)
10+
- Updated Hack web fonts to v2.018
11+
12+
### v0.9.2
13+
14+
- Updated Hack web fonts to v2.015.
15+
16+
17+
### v0.9.1
18+
19+
- modified the width of the footer horizontal line to avoid overlap with long TOC in the left sidebar
20+
- minified the Bootstrap CSS
21+
- modified the formatting of license declaration displays in the footer
22+
23+
### v0.9.0
24+
25+
- Initial release

cinder/LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Chris Simpkins
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.

cinder/MANIFEST.in

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
recursive-include cinder *.ico *.js *.css *.png *.html *.eot *.svg *.ttf *.woff *.woff2
2+
recursive-exclude * __pycache__
3+
recursive-exclude * *.py[co]
4+
include README.md
5+
include LICENSE.md

cinder/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<a href="http://sourcefoundry.org/cinder/"><img src="img/header.png" alt="Cinder | A clean, responsive theme for MkDocs" width="728"></a>
2+
3+
## Cinder
4+
5+
A clean, responsive MkDocs static documentation site generator theme
6+
7+
[Demo and Documentation](http://sourcefoundry.org/cinder/)
8+

cinder/cinder/404.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{% extends "base.html" %}
2+
3+
{% block content %}
4+
5+
<div class="row-fluid">
6+
<div id="main-content" class="span12">
7+
<h1 id="404-page-not-found" style="text-align: center">404</h1>
8+
<p style="text-align: center"><strong>Page not found</strong></p>
9+
<p style="text-align: center"><a href="{{ base_url }}">Home</a></p>
10+
</div>
11+
</div>
12+
13+
{% endblock %}

cinder/cinder/__init__.py

Whitespace-only changes.

cinder/cinder/base.html

+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">{% if page_description %}
8+
<meta name="description" content="{{ page_description }}">{% endif %} {% if site_author %}
9+
<meta name="author" content="{{ site_author }}">{% endif %} {% if canonical_url %}
10+
<link rel="canonical" href="{{ canonical_url }}">{% endif %} {% if favicon %}
11+
<link rel="shortcut icon" href="{{ base_url }}/{{ favicon }}">{% else %}
12+
<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}
13+
14+
<title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
15+
16+
<link href="{{ base_url }}/css/bootstrap-custom.min.css" rel="stylesheet">
17+
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet">
18+
<link rel="stylesheet" href="//cdn.jsdelivr.net/font-hack/2.018/css/hack.min.css">
19+
<link href='//fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic&subset=latin-ext,latin' rel='stylesheet' type='text/css'>
20+
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,600,700&subset=latin-ext,latin' rel='stylesheet' type='text/css'>
21+
<link href="{{ base_url }}/css/base.css" rel="stylesheet">
22+
<link href="{{ base_url }}/css/cinder.css" rel="stylesheet">
23+
<link rel="stylesheet" href="{{ base_url }}/css/highlight.css">{%- for path in extra_css %}
24+
25+
26+
<link href="{{ path }}" rel="stylesheet">{%- endfor %}
27+
28+
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
29+
<!--[if lt IE 9]>
30+
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
31+
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
32+
<![endif]-->
33+
34+
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js"></script>
35+
<script>
36+
WebFont.load({
37+
google: {
38+
families: ['Open Sans', 'PT Sans']
39+
}
40+
});
41+
</script>
42+
43+
{% if google_analytics %}
44+
<script>
45+
(function(i, s, o, g, r, a, m) {
46+
i['GoogleAnalyticsObject'] = r;
47+
i[r] = i[r] || function() {
48+
(i[r].q = i[r].q || []).push(arguments)
49+
}, i[r].l = 1 * new Date();
50+
a = s.createElement(o),
51+
m = s.getElementsByTagName(o)[0];
52+
a.async = 1;
53+
a.src = g;
54+
m.parentNode.insertBefore(a, m)
55+
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
56+
57+
ga('create', '{{ google_analytics[0] }}', '{{ google_analytics[1] }}');
58+
ga('send', 'pageview');
59+
</script>
60+
{% endif %}
61+
</head>
62+
63+
<body{% if current_page and current_page.is_homepage %} class="homepage" {% endif %}>
64+
65+
{% include "nav.html" %}
66+
67+
<div class="container">
68+
{% block content %}
69+
<div class="col-md-3">{% include "toc.html" %}</div>
70+
<div class="col-md-9" role="main">{% include "content.html" %}</div>
71+
{% endblock %}
72+
</div>
73+
74+
<footer class="col-md-12 text-center">
75+
<hr>
76+
<p>{% if copyright %}
77+
<small>{{ copyright }}<br></small>
78+
{% endif %}
79+
<small>Documentation built with <a href="http://www.mkdocs.org/">MkDocs</a>.</p></small>
80+
</footer>
81+
82+
<script src="{{ base_url }}/js/jquery-1.10.2.min.js"></script>
83+
<script src="{{ base_url }}/js/bootstrap-3.0.3.min.js"></script>
84+
<script src="{{ base_url }}/js/highlight.pack.js"></script>
85+
<script>hljs.initHighlightingOnLoad();</script>
86+
<script>
87+
var base_url = '{{ base_url }}';
88+
</script>
89+
<script data-main="{{ base_url }}/mkdocs/js/search.js" src="{{ base_url }}/mkdocs/js/require.js"></script>
90+
<script src="{{ base_url }}/js/base.js"></script>
91+
{%- for path in extra_javascript %}
92+
<script src="{{ path }}"></script>
93+
{%- endfor %}
94+
95+
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="Search Modal" aria-hidden="true">
96+
<div class="modal-dialog">
97+
<div class="modal-content">
98+
<div class="modal-header">
99+
<button type="button" class="close" data-dismiss="modal">
100+
<span aria-hidden="true">&times;</span>
101+
<span class="sr-only">Close</span>
102+
</button>
103+
<h4 class="modal-title" id="exampleModalLabel">Search</h4>
104+
</div>
105+
<div class="modal-body">
106+
<p>
107+
From here you can search these documents. Enter your search terms below.
108+
</p>
109+
<form role="form">
110+
<div class="form-group">
111+
<input type="text" class="form-control" placeholder="Search..." id="mkdocs-search-query">
112+
</div>
113+
</form>
114+
<div id="mkdocs-search-results"></div>
115+
</div>
116+
<div class="modal-footer">
117+
</div>
118+
</div>
119+
</div>
120+
</div>
121+
122+
</body>
123+
124+
</html>
125+
{% if current_page and current_page.is_homepage %}
126+
<!--
127+
MkDocs version : {{ mkdocs_version }}
128+
Build Date UTC : {{ build_date_utc }}
129+
-->
130+
{% endif %}

cinder/cinder/content.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{% if meta.source %}
2+
<div class="source-links">
3+
{% for filename in meta.source %}
4+
<span class="label label-primary">{{ filename }}</span>
5+
{% endfor %}
6+
</div>
7+
{% endif %}
8+
9+
{{ content }}

0 commit comments

Comments
 (0)