Skip to content

Commit 0c8ca4e

Browse files
committed
Add SQLite documentation
1 parent be13903 commit 0c8ca4e

21 files changed

Lines changed: 336 additions & 8 deletions

File tree

assets/images/docs.png

466 Bytes
Loading

assets/images/[email protected]

1.06 KB
Loading

assets/javascripts/news.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[
22
[
3+
"2016-12-04",
4+
"New documentation: <a href=\"/sqlite/\">SQLite</a>"
5+
], [
36
"2016-11-20",
47
"New documentations: <a href=\"/yarn/\">Yarn</a>, <a href=\"/immutable/\">Immutable.js</a> and <a href=\"/async/\">Async</a>"
58
], [

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,11 @@ credits = [
529529
'2014-2015 Automattic',
530530
'MIT',
531531
'https://raw.githubusercontent.com/Automattic/socket.io/master/LICENSE'
532+
], [
533+
'SQLite',
534+
'n/a',
535+
'Public Domain',
536+
'https://sqlite.org/copyright.html'
532537
], [
533538
'Statsmodels',
534539
'2009-2012 Statsmodels Developers<br>&copy; 2006-2008 Scipy Developers<br>&copy; 2006 Jonathan E. Taylor',
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#= require views/pages/simple
2+
3+
class app.views.SqlitePage extends app.views.SimplePage
4+
@events:
5+
click: 'onClick'
6+
7+
onClick: (event) =>
8+
return unless id = event.target.getAttribute('data-toggle')
9+
return unless el = @find("##{id}")
10+
$.stopEvent(event)
11+
if el.style.display == 'none'
12+
el.style.display = 'block'
13+
event.target.textContent = 'hide'
14+
else
15+
el.style.display = 'none'
16+
event.target.textContent = 'show'
17+
return

assets/stylesheets/application-dark.css.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
'pages/socketio',
8585
'pages/sphinx',
8686
'pages/sphinx_simple',
87+
'pages/sqlite',
8788
'pages/support_tables',
8889
'pages/tcl_tk',
8990
'pages/tensorflow',

assets/stylesheets/application.css.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
'pages/socketio',
8585
'pages/sphinx',
8686
'pages/sphinx_simple',
87+
'pages/sqlite',
8788
'pages/support_tables',
8889
'pages/tcl_tk',
8990
'pages/tensorflow',

assets/stylesheets/components/_content.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,19 @@
391391
&._pre-clip-error:after { content: 'Error'; }
392392
}
393393

394+
._btn {
395+
white-space: nowrap;
396+
padding: .125rem .375rem;
397+
background-image: linear-gradient(lighten($boxBackground, 3%), darken($boxBackground, 4%));
398+
border: 1px solid $boxBorder;
399+
border-radius: 3px;
400+
401+
&:active {
402+
background-color: $boxBackground;
403+
box-shadow: inset 0 1px 3px rgba(black, .15);
404+
}
405+
}
406+
394407
._github-btn {
395408
display: inline-block;
396409
vertical-align: text-top;

assets/stylesheets/global/_icons.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
%icon-close-white { background-position: -2rem -5rem; }
5757
%icon-back { background-position: -3rem -5rem; @extend %darkIconFix !optional; }
5858

59+
._icon-sqlite:before { background-position: -5rem 0; @extend %darkIconFix !optional; }
5960
._icon-async:before { background-position: -6rem 0; @extend %darkIconFix !optional; }
6061
._icon-http:before { background-position: -7rem 0; @extend %darkIconFix !optional; }
6162
._icon-jquery:before { background-position: -8rem 0; @extend %darkIconFix !optional; }
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
._sqlite {
2+
@extend %simple;
3+
4+
dt { @extend %block-label, %label-blue; }
5+
.todo { @extend %note, %note-red; }
6+
}

0 commit comments

Comments
 (0)