Browse Source

Organize dist folder more.

Fix #407.
pull/405/head
XhmikosR 11 years ago
parent
commit
2b29cbf60b
  1. 24
      Gruntfile.js
  2. 0
      dist/css/ratchet-theme-android.css
  3. 0
      dist/css/ratchet-theme-android.min.css
  4. 0
      dist/css/ratchet-theme-ios.css
  5. 0
      dist/css/ratchet-theme-ios.min.css
  6. 4
      dist/css/ratchet.css
  7. 2
      dist/css/ratchet.min.css
  8. 0
      dist/js/ratchet.js
  9. 0
      dist/js/ratchet.min.js
  10. 2
      docs/_includes/footer.html
  11. 2
      docs/_includes/header.html
  12. 0
      docs/dist/css/ratchet-theme-android.css
  13. 0
      docs/dist/css/ratchet-theme-android.min.css
  14. 0
      docs/dist/css/ratchet-theme-ios.css
  15. 0
      docs/dist/css/ratchet-theme-ios.min.css
  16. 0
      docs/dist/css/ratchet.css
  17. 0
      docs/dist/css/ratchet.min.css
  18. 0
      docs/dist/js/ratchet.js
  19. 0
      docs/dist/js/ratchet.min.js
  20. 6
      docs/examples/app-android-notes/index.html
  21. 6
      docs/examples/app-ios-mail/inbox.html
  22. 6
      docs/examples/app-ios-mail/index.html
  23. 4
      docs/examples/app-movies/choose-theater.html
  24. 4
      docs/examples/app-movies/index.html
  25. 2
      docs/one.html
  26. 4
      docs/template.html
  27. 2
      docs/two.html
  28. 10
      sass/ratchicons.scss

24
Gruntfile.js

@ -44,11 +44,11 @@ module.exports = function(grunt) {
'js/sliders.js',
'js/toggles.js'
],
dest: '<%= meta.distPath %><%= pkg.name %>.js'
dest: '<%= meta.distPath %>js/<%= pkg.name %>.js'
},
docs: {
src: '<%= meta.distPath %><%= pkg.name %>.js',
dest: '<%= meta.docsPath %><%= pkg.name %>.js'
src: '<%= meta.distPath %>js/<%= pkg.name %>.js',
dest: '<%= meta.docsPath %>js/<%= pkg.name %>.js'
}
},
@ -60,9 +60,9 @@ module.exports = function(grunt) {
},
dist: {
files: {
'<%= meta.distPath %><%= pkg.name %>.css': 'sass/ratchet.scss',
'<%= meta.distPath %><%= pkg.name %>-theme-ios.css': 'sass/theme-ios.scss',
'<%= meta.distPath %><%= pkg.name %>-theme-android.css': 'sass/theme-android.scss',
'<%= meta.distPath %>css/<%= pkg.name %>.css': 'sass/ratchet.scss',
'<%= meta.distPath %>css/<%= pkg.name %>-theme-ios.css': 'sass/theme-ios.scss',
'<%= meta.distPath %>css/<%= pkg.name %>-theme-android.css': 'sass/theme-android.scss',
'<%= meta.docsAssetsPath %>css/docs.css': 'sass/docs.scss'
}
}
@ -92,13 +92,13 @@ module.exports = function(grunt) {
report: 'min'
},
ratchet: {
src: '<%= meta.distPath %><%= pkg.name %>.css',
dest: '<%= meta.distPath %><%= pkg.name %>.min.css'
src: '<%= meta.distPath %>css/<%= pkg.name %>.css',
dest: '<%= meta.distPath %>css/<%= pkg.name %>.min.css'
},
theme: {
files: {
'<%= meta.distPath %><%= pkg.name %>-theme-ios.min.css': '<%= meta.distPath %><%= pkg.name %>-theme-ios.css',
'<%= meta.distPath %><%= pkg.name %>-theme-android.min.css' : '<%= meta.distPath %><%= pkg.name %>-theme-android.css'
'<%= meta.distPath %>css/<%= pkg.name %>-theme-ios.min.css': '<%= meta.distPath %>css/<%= pkg.name %>-theme-ios.css',
'<%= meta.distPath %>css/<%= pkg.name %>-theme-android.min.css' : '<%= meta.distPath %>css/<%= pkg.name %>-theme-android.css'
}
},
docs: {
@ -119,8 +119,8 @@ module.exports = function(grunt) {
report: 'min'
},
ratchet: {
src: '<%= meta.distPath %><%= pkg.name %>.js',
dest: '<%= meta.distPath %><%= pkg.name %>.min.js'
src: '<%= meta.distPath %>js/<%= pkg.name %>.js',
dest: '<%= meta.distPath %>js/<%= pkg.name %>.min.js'
},
docs: {
src: [

0
dist/ratchet-theme-android.css → dist/css/ratchet-theme-android.css vendored

0
dist/ratchet-theme-android.min.css → dist/css/ratchet-theme-android.min.css vendored

0
dist/ratchet-theme-ios.css → dist/css/ratchet-theme-ios.css vendored

0
dist/ratchet-theme-ios.min.css → dist/css/ratchet-theme-ios.min.css vendored

4
docs/dist/ratchet.css → dist/css/ratchet.css vendored

@ -1250,8 +1250,8 @@ select {
@font-face {
font-family: Ratchicons;
src: url("fonts/ratchicons.eot");
src: url("fonts/ratchicons.eot?#iefix") format("embedded-opentype"), url("fonts/ratchicons.woff") format("woff"), url("fonts/ratchicons.ttf") format("truetype"), url("fonts/ratchicons.svg#svgFontName") format("svg");
src: url("../fonts/ratchicons.eot");
src: url("../fonts/ratchicons.eot?#iefix") format("embedded-opentype"), url("../fonts/ratchicons.woff") format("woff"), url("../fonts/ratchicons.ttf") format("truetype"), url("../fonts/ratchicons.svg#svgFontName") format("svg");
font-weight: normal;
font-style: normal;
}

2
docs/dist/ratchet.min.css → dist/css/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

0
dist/ratchet.js → dist/js/ratchet.js vendored

0
dist/ratchet.min.js → dist/js/ratchet.min.js vendored

2
docs/_includes/footer.html

@ -41,5 +41,5 @@
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="/dist/ratchet.min.js"></script>
<script src="/dist/js/ratchet.min.js"></script>
<script src="/assets/js/docs.min.js"></script>

2
docs/_includes/header.html

@ -11,7 +11,7 @@
<!-- Google Web Fonts -->
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,500,700|Open+Sans:300">
<link rel="stylesheet" href="/dist/ratchet.min.css">
<link rel="stylesheet" href="/dist/css/ratchet.min.css">
<link rel="stylesheet" href="/assets/css/docs.min.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

0
docs/dist/ratchet-theme-android.css → docs/dist/css/ratchet-theme-android.css vendored

0
docs/dist/ratchet-theme-android.min.css → docs/dist/css/ratchet-theme-android.min.css vendored

0
docs/dist/ratchet-theme-ios.css → docs/dist/css/ratchet-theme-ios.css vendored

0
docs/dist/ratchet-theme-ios.min.css → docs/dist/css/ratchet-theme-ios.min.css vendored

0
dist/ratchet.css → docs/dist/css/ratchet.css vendored

0
dist/ratchet.min.css → docs/dist/css/ratchet.min.css vendored

0
docs/dist/ratchet.js → docs/dist/js/ratchet.js vendored

0
docs/dist/ratchet.min.js → docs/dist/js/ratchet.min.js vendored

6
docs/examples/app-android-notes/index.html

@ -10,10 +10,10 @@
<!-- Roboto -->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,500,700">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-android.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet-theme-android.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

6
docs/examples/app-ios-mail/inbox.html

@ -7,10 +7,10 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

6
docs/examples/app-ios-mail/index.html

@ -7,10 +7,10 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

4
docs/examples/app-movies/choose-theater.html

@ -7,9 +7,9 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

4
docs/examples/app-movies/index.html

@ -7,9 +7,9 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

2
docs/one.html

@ -9,7 +9,7 @@
<link rel="shortcut icon" href="favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="/dist/ratchet.css">
<link rel="stylesheet" href="/dist/css/ratchet.min.css">
<!--[if lt IE 9]><script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><![endif]-->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/img/apple-touch-icon-114x114.png">
</head>

4
docs/template.html

@ -15,7 +15,7 @@
<meta name="apple-mobile-web-app-title" content="Ratchet">
<!-- Include the compiled Ratchet CSS -->
<link rel="stylesheet" href="/dist/ratchet.min.css">
<link rel="stylesheet" href="/dist/css/ratchet.min.css">
<!-- Intro paragraph styles. Delete once you start using this page -->
<style>
@ -63,6 +63,6 @@
</div>
<!-- Include the compiled Ratchet JS -->
<script src="/dist/ratchet.min.js"></script>
<script src="/dist/js/ratchet.min.js"></script>
</body>
</html>

2
docs/two.html

@ -9,7 +9,7 @@
<link rel="shortcut icon" href="favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="/dist/ratchet.css">
<link rel="stylesheet" href="/dist/css/ratchet.min.css">
<!--[if lt IE 9]><script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><![endif]-->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/img/apple-touch-icon-114x114.png">
</head>

10
sass/ratchicons.scss

@ -4,11 +4,11 @@
@font-face {
font-family: Ratchicons;
src: url("fonts/ratchicons.eot");
src: url("fonts/ratchicons.eot?#iefix") format("embedded-opentype"),
url("fonts/ratchicons.woff") format("woff"),
url("fonts/ratchicons.ttf") format("truetype"),
url("fonts/ratchicons.svg#svgFontName") format("svg");
src: url("../fonts/ratchicons.eot");
src: url("../fonts/ratchicons.eot?#iefix") format("embedded-opentype"),
url("../fonts/ratchicons.woff") format("woff"),
url("../fonts/ratchicons.ttf") format("truetype"),
url("../fonts/ratchicons.svg#svgFontName") format("svg");
font-weight: normal;
font-style: normal;
}

Loading…
Cancel
Save