Skip to content

Commit cc42de5

Browse files
authored
Merge pull request #2 from NightRain233/master
提交GitHub Pages + jekyll 搭建的SDK文档中心
2 parents e307d2b + d35150d commit cc42de5

File tree

348 files changed

+16219
-1
lines changed

Some content is hidden

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

348 files changed

+16219
-1
lines changed

.commitlintrc.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
module.exports = {
2+
parserPreset: 'conventional-changelog-conventionalcommits',
3+
rules: {
4+
'body-leading-blank': [1, 'always'],
5+
'footer-leading-blank': [1, 'always'],
6+
'header-max-length': [2, 'always', 72],
7+
'scope-case': [2, 'always', 'lower-case'],
8+
'subject-case': [
9+
2,
10+
'never',
11+
['sentence-case', 'start-case', 'pascal-case', 'upper-case']
12+
],
13+
'subject-empty': [2, 'never'],
14+
'subject-full-stop': [2, 'never', '.'],
15+
'type-case': [2, 'always', 'lower-case'],
16+
'type-empty': [2, 'never'],
17+
'type-enum': [
18+
2,
19+
'always',
20+
[
21+
'build',
22+
'chore',
23+
'ci',
24+
'docs',
25+
'feat',
26+
'fix',
27+
'improvement',
28+
'perf',
29+
'refactor',
30+
'release',
31+
'revert',
32+
'style',
33+
'test'
34+
]
35+
]
36+
}
37+
};

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
max_line_length = 80
11+
trim_trailing_whitespace = true

.eslintrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"jquery": true,
5+
"node": true
6+
},
7+
"rules": {
8+
"no-console": "error",
9+
"semi": ["error", "always"],
10+
"quotes": ["error", "single"],
11+
"comma-dangle": ["error", "never"],
12+
"block-scoped-var": "error",
13+
"default-case": "error",
14+
"no-extra-bind": "error",
15+
"camelcase": "error",
16+
"indent": ["error", 2, { "SwitchCase": 1 }],
17+
"eol-last": ["error", "always"]
18+
},
19+
"extends": ["eslint:recommended"]
20+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: 'Bug:'
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
<!-- Prefer English -->
11+
12+
**Description**
13+
14+
[Description of the bug]
15+
16+
**Steps to Reproduce**
17+
18+
1. [First Step]
19+
2. [Second Step]
20+
3. [and so on...]
21+
22+
**Expected behavior**
23+
24+
[What you expected to happen]
25+
26+
**Screenshots (If Necessary)**
27+
28+
[Screenshots to help explain your problem.]
29+
30+
**Environment (If Necessary)**
31+
32+
- OS: [e.g. Github Pages, Windows 10, macOS 10.13, Linux(CentOS 7.5), iOS 11, Android 8(Pixel 2)]
33+
- Ruby: [e.g. Github Pages, 2.4.0p0]
34+
- Jekyll: [e.g. Github Pages, 3.7.3]
35+
- Browser: [e.g. Chrome, Safari, Edge, Firefox]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: 'Feature request: '
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
<!-- Prefer English -->
11+
12+
## Description
13+
14+
[Description of the feature]

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
*~
2+
~*
3+
*.diff
4+
*.patch
5+
*.bak
6+
.DS_Store
7+
*.swp
8+
*.swo
9+
*.log
10+
*.log.*
11+
12+
/.vscode/
13+
14+
node_modules/
15+
.sass-cache/
16+
17+
/.bundle/
18+
/vendor/bundle
19+
*.gem
20+
21+
yarn.lock
22+
package-lock.json
23+
Gemfile.lock
24+
25+
_site/
26+
.jekyll-metadata
27+
.jekyll-cache/

.stylelintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/node_modules/
2+
/_gh_pages/
3+
**/dist/
4+
**/*.min.css
5+
**/vendor/

0 commit comments

Comments
 (0)