Skip to content

Commit

Permalink
rename source/vendors to source/lib due to <iissnan/hexo-theme-next#1214
Browse files Browse the repository at this point in the history
  • Loading branch information
xovel committed Nov 4, 2016
1 parent b1a8431 commit 5d60003
Show file tree
Hide file tree
Showing 59 changed files with 34 additions and 12 deletions.
2 changes: 1 addition & 1 deletion themes/next.xovel/.bowerrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"directory": "source/vendors"
"directory": "source/lib"
}
12 changes: 6 additions & 6 deletions themes/next.xovel/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
node_modules/

# Ignore unused verdors' files
source/vendors/fancybox/*
!source/vendors/fancybox/source/
source/lib/fancybox/*
!source/lib/fancybox/source/

source/vendors/font-awesome/less/
source/vendors/font-awesome/scss/
source/lib/font-awesome/less/
source/lib/font-awesome/scss/

source/vendors/ua-parser-js/*
!source/vendors/ua-parser-js/dist/
source/lib/ua-parser-js/*
!source/lib/ua-parser-js/dist/
2 changes: 1 addition & 1 deletion themes/next.xovel/.javascript_ignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source/vendors/*
source/lib/*
source/js/src/affix.js
source/js/src/scrollspy.js
4 changes: 2 additions & 2 deletions themes/next.xovel/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ since: 2016
menu:
home: /
categories: /categories
#tags: /tags
tags: /tags
archives: /archives
about: /about
#commonweal: /404.html
Expand Down Expand Up @@ -354,7 +354,7 @@ fancybox: true
# Be aware that you should use the same version as internal ones to avoid potential problems.
vendors:
# Internal path prefix. Please do not edit it.
_internal: vendors
_internal: lib

# Internal version: 2.1.3
jquery:
Expand Down
2 changes: 1 addition & 1 deletion themes/next.xovel/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"**/.*",
"node_modules",
"bower_components",
"source/vendors",
"source/lib",
"test",
"tests",
"screenshots"
Expand Down
2 changes: 1 addition & 1 deletion themes/next.xovel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"bugs": {
"url": "https://github.com/iissnan/hexo-theme-next/issues"
},
"homepage": "https://github.com/iissnan/hexo-theme-next#readme",
"homepage": "https://theme-next.iissnan.com",
"devDependencies": {
"coffee-script": "^1.10.0",
"gulp": "^3.9.0",
Expand Down
15 changes: 15 additions & 0 deletions themes/next.xovel/source/lib/fancybox/.bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "fancybox",
"homepage": "https://github.com/fancyapps/fancyBox",
"version": "2.1.5",
"_release": "2.1.5",
"_resolution": {
"type": "version",
"tag": "v2.1.5",
"commit": "18d171278d21ca59067aace6d52a1adeb6462219"
},
"_source": "git://github.com/fancyapps/fancyBox.git",
"_target": "~2.1.5",
"_originalSource": "fancybox",
"_direct": true
}
7 changes: 7 additions & 0 deletions themes/next.xovel/source/lib/fancybox/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Auto detect text files and perform LF normalization
* text=auto

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.gif binary

0 comments on commit 5d60003

Please sign in to comment.