Skip to content

Commit

Permalink
Introduce v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-nginx committed Dec 31, 2017
1 parent 2dd5c63 commit e12bb0b
Show file tree
Hide file tree
Showing 290 changed files with 25,515 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "source/lib"
}
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.py]
indent_size = 4
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source/lib/* linguist-vendored
scripts/merge.js linguist-vendored
5 changes: 5 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Before submitting an issue, please search for the issue [here](https://github.com/theme-next/hexo-theme-next/issues?utf8=%E2%9C%93&q=) to find if the issue is already reported.

Also, you can search for answers on the [«NexT» Documentation Site](https://theme-next.org):

- FAQs (Work in progress)
70 changes: 70 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!-- ATTENTION!
IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING.
如果你不填充下面的内容,我们可能会直接关闭你的 issue。
If you want to fast resolve your issue, WRITE IT IN ENGLISH, please. Not all contributors/collaborators know Chinese language and Google translate can't always give true translates on issues. Thanks!
You may delete this recomendations and use template which is placed below.
-->

### I agree and want to create new issue <!-- (我确认我已经查看了) -->

<!-- Check all with "x" (使用 "x" 选择) -->
- [] Yes, I was on [Hexo Docs page](https://hexo.io/docs/), especially on [Templates](https://hexo.io/docs/templates.html), [Variables](https://hexo.io/docs/variables.html), [Helpers](https://hexo.io/docs/helpers.html) and [Troubleshooting](https://hexo.io/docs/troubleshooting.html).
- [] Yes, I was on [NexT Documentation Site](http://theme-next.org).
- [] And yes, I already searched for current [issues](https://github.com/theme-next/hexo-theme-next/issues?utf8=%E2%9C%93&q=is%3Aissue) and this is not help to me.

***

### Expected behavior <!-- (预期行为) -->


### Actual behavior <!-- (实际行为) -->


### Steps to reproduce the behavior <!-- (重现步骤) -->
1. N/A
2. N/A
3. N/A

* Link to demo site with this issue: N/A
* Link(s) to source code or any usefull link(s): N/A

### Node.js and NPM Information
<!-- Paste info from `node -v && npm -v` (粘貼信息 `node -v && npm -v`) -->
```
```

### Hexo Information
<!-- Paste info from `hexo -v` (粘貼信息 `hexo -v`) -->
```
```

### Package dependencies Information
<!-- Paste info from `cat package.json` (粘貼信息 `cat package.json`) -->
```
```

### NexT Information

**NexT Version:**
<!-- Check one with "x" (使用 "x" 选择) -->
```
[] Latest Master branch.
[] Latest Release version.
[] Old version -
```

**NexT Scheme:**
<!-- Check one with "x" (使用 "x" 选择) -->
```
[] All schemes
[] Muse
[] Mist
[] Pisces
[] Gemini
```

### Other Information <!-- (Like Browser, System, Screenshots) -->
87 changes: 87 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<!-- ATTENTION!
1. Please, write pulls readme in English. Not all contributors/collaborators know Chinese language and Google translate can't always give true translates on issues. Thanks!
2. If your pull is short and simple, recommended to use "Usual pull template".
If your pull is big and include many separated changes, recommended to use "BIG pull template".
3. Always remember what NexT include 4 schemes. And if on one of them all worked fine after changes, on another scheme this changes can be broken. Muse and Mist have similar structure, but Pisces is very difference from them. Gemini is a mirror of Pisces with some styles and layouts remakes. So, please, make the tests at least on two schemes (Muse or Mist and Pisces or Gemini).
-->

<!-- Usual pull template -->

## PR Checklist
**Please check if your PR fulfills the following requirements:**

- [ ] The commit message follows [our guidelines](https://github.com/theme-next/hexo-theme-next/blob/master/.github/CONTRIBUTING.md).
- [ ] Tests for the changes have been added (for bug fixes / features).
- [ ] Muse | Mist have been tested.
- [ ] Pisces | Gemini have been tested.
- [ ] Docs have been added / updated (for bug fixes / features).

## PR Type
**What kind of change does this PR introduce?** <!-- (Check one with "x") -->

- [ ] Bugfix.
- [ ] Feature.
- [ ] Code style update (formatting, local variables).
- [ ] Refactoring (no functional changes, no api changes).
- [ ] Build related changes.
- [ ] CI related changes.
- [ ] Documentation content changes.
- [ ] Other... Please describe:

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->

Issue Number(s): N/A

## What is the new behavior?
Description about this pull, in several words...

* Screens with this changes: N/A
* Link to demo site with this changes: N/A

### How to use?
In NexT `_config.yml`:
```yml
...
```

## Does this PR introduce a breaking change?
- [ ] Yes.
- [ ] No.

<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->

<!-- BIG pull template -->
<!--
1. xxxxxxx - commit link on modified file. Just copy this below your pull request readme.
2. You can paste any image directly from your clipboard. Just press **Print Scr** and paste it into pull readme - link on image will generate and paste automaticly.
-->
<!--
## PART X. Title of fixes and/or enhancements.
Short description in several words here.
Issue Number(s): #xxxx.
### Files modified:
1. Short description of modified file [1]. xxxxxxx
2. Short description of modified file [2]. xxxxxxx
3. Short description of modified file [3]. xxxxxxx
### Global code changes:
* ADD: `newFunction` in `utils.js`.
* DEL: `oldFunction` from `utils.js`
### How it looks?
![image](https://user-images.githubusercontent.com/xxxxxxxx/xxxxxxxx-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx.png)
Live demo [here](http://site.com/).
### How to use?
In Next `_config.yml`:
```yml
...
```
-->
Binary file added .github/browserstack_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.DS_Store
.idea/
*.log
*.iml
yarn.lock
package-lock.json
node_modules/

# Ignore optional external libraries
source/lib/*

# Track internal libraries & Ignore unused verdors files
source/lib/font-awesome/less/
source/lib/font-awesome/scss/
!source/lib/font-awesome/*

!source/lib/jquery/

source/lib/ua-parser-js/*
!source/lib/ua-parser-js/dist/

!source/lib/velocity/
4 changes: 4 additions & 0 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
javascript:
enabled: true
config_file: .jshintrc
ignore_file: .javascript_ignore
5 changes: 5 additions & 0 deletions .javascript_ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source/vendors/*
source/lib/*
source/js/src/affix.js
source/js/src/scrollspy.js
source/js/src/js.cookie.js
27 changes: 27 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"asi": false,
"bitwise": true,
"browser": true,
"camelcase": true,
"curly": true,
"forin": true,
"immed": true,
"latedef": "nofunc",
"maxlen": 120,
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"predef": [
"$",
"jQuery",
"NexT",
"CONFIG"
],
"quotmark": true,
"trailing": true,
"undef": true,
"unused": true,

"expr": true
}
45 changes: 45 additions & 0 deletions .stylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"blocks": false,
"brackets": "always",
"colons": "always",
"colors": "always",
"commaSpace": "always",
"commentSpace": "always",
"cssLiteral": "never",
"customProperties": [],
"depthLimit": false,
"duplicates": true,
"efficient": "always",
"exclude": [],
"extendPref": false,
"globalDupe": false,
"groupOutputByFile": true,
"indentPref": false,
"leadingZero": "never",
"maxErrors": false,
"maxWarnings": false,
"mixed": false,
"mixins": [],
"namingConvention": "lowercase-dash",
"namingConventionStrict": false,
"none": "never",
"noImportant": true,
"parenSpace": false,
"placeholders": "always",
"prefixVarsWithDollar": "always",
"quotePref": false,
"reporterOptions": {
"columns": ["lineData", "severity", "description", "rule"],
"columnSplitter": " ",
"showHeaders": false,
"truncate": true
},
"semicolons": "always",
"sortOrder": "grouped",
"stackedProperties": false,
"trailingWhitespace": "never",
"universal": false,
"valid": true,
"zeroUnits": "never",
"zIndexNormalize": false
}
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: node_js
node_js: node

cache:
directories:
- node_modules

install: npm install

before_script:
- npm install -g gulp

addons:
browserstack:
username: "ivannginx1"
access_key:
secure: "NutOhdgtUdBUXMPZhy8X1F1Jq+tan1LeNOV0FArBt15SNlxtNArqhiyTi4XnG9MPruX4306aGF2RBrKso+OiGNRdGtRGngH613Q0GWNtlC/boMqnI7fHqLIyCs6S12y2uA8PK4Ifxg9bZ0VtCTYYbMy+p1KvBM//L12vmtfdnby8z5Qvex3tB3dLoPOR50CKkINHJVDLm+iVRFrdz4/83oDsulZSRRGIaxu5taDWPIcp3fYZtre2Nc+RXcsyFDyjN7U0Hvr5tKBbloJxXEQEBv2xLkMOtp85nmCPD06s1Il8Wus1ux3raVsfUyaW5FpNX37Jeb5e00RQUM1wgU5m75H6qiGwDvQswbugJG0i/a2nNfsgVmbrSZdMnkHcx2Uxmrw4ejyEP5NSrJSBi05Ck1fQ4UsZ4Qkdf1fd04SI0LpLWt43eoNO/7rHKsQoP4LCX9gxKUuC075NEBLODyJ529RYfA6dKKwwH6o0ZbOgASmCoAWaM65g4+FHRnJcKL/Kj9ZWklQtRa7/ynlHaA65jefFS2lB8Ut6d3rXDDBih9mIrwV1uUaEH96xgAN42bgU/vY6FGzNkDOYZqj4YfsepDM0wbOsslFie7JZq7iFjsYvrXqLvYUMk37AZwQ2Sb6uH4tIT4Qw/4oZfDzA1En3/8HdZJ28nKW/lzjwMSqheIY="
63 changes: 63 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# <div align="center">«NexT» — Elegant and powerful theme for Hexo.</div>

<p align="center">Copyright © 2017 «<a href="https://github.com/theme-next/hexo-theme-next">NexT</a>».</p>

<p align="center">Detail attribution information for «NexT»<br>
is contained in the '<a href="docs/AUTHORS.md">docs/AUTHORS.md</a>' file.</p>

This program is free software; you can redistribute it and/or modify
it under the terms of the [GNU Affero General Public License version 3][AGPL3]
as published by the Free Software Foundation with the addition of the
following permission added to [Section 15][AGPL3-15] as permitted in [Section 7(a)][AGPL3-7]:
FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY «NEXT»,
«NEXT» DISCLAIMS THE WARRANTY OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program; if not, see: https://www.gnu.org/licenses/agpl.txt

In accordance with [Section 7(b)][AGPL3-7] of the GNU Affero General Public License:

* a) It is not necessary to specify copyright in each source file of
this program because GitHub fully save commits of all modified files
with their authors and provides to see for this changes publicly.

* b) For any part of the covered work in which the copyright not specified,
except of third party libraries ('[source/lib/*](source/lib)') and '\*custom.\*' files,
will mean this part owned by «NexT» in accord with terms in this file.

* c) A covered work must retain theme info link to the «NexT» repository
(https://github.com/theme-next/hexo-theme-next) in footer section
of every website created, modified or manipulated by using «NexT».
«NexT» theme configuration must be:
```yml
footer:
theme:
enable: true
```
Collaborators, best contributors and all authors specified in the
'[docs/AUTHORS.md][AUTHORS]' file of «NexT» repository under the
'https://github.com/theme-next' organization can ignore theme info link
requirements.
Anyone can be released from the requirements of the license by purchasing
a commercial license. Buying such a license is mandatory as soon as you
develop commercial activities involving the «NexT» software without
disclosing the source code of your own applications.
These activities include:
1. Access to private repository with various premium features.
2. Priority support for resolve all possible issues with «NexT».
3. Priority support for implement all possible features to «NexT».
For more information, please contact «NexT» Organization at this
address: sales@theme-next.org
<p align="center">This license also available in <a href="docs/LICENSE">text format</a>.</p>
[AUTHORS]: docs/AUTHORS.md
[AGPL3]: docs/AGPL3.md
[AGPL3-7]: docs/AGPL3.md/#7-additional-terms
[AGPL3-15]: docs/AGPL3.md/#15-disclaimer-of-warranty
Loading

0 comments on commit e12bb0b

Please sign in to comment.