Skip to content

Commit af680a1

Browse files
Young-Lordgithub-actions-sync
authored andcommitted
add copy to clipboard
kitian616/jekyll-TeXt-theme#218
0 parents  commit af680a1

312 files changed

Lines changed: 14192 additions & 0 deletions

File tree

Some content is hidden

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

.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]

.github/workflows/jekyll.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7+
name: Deploy Jekyll site to Pages
8+
9+
on:
10+
# Runs on pushes targeting the default branch
11+
push:
12+
branches: ["master"]
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
18+
permissions:
19+
contents: read
20+
pages: write
21+
id-token: write
22+
23+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
24+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
25+
concurrency:
26+
group: "pages"
27+
cancel-in-progress: false
28+
29+
jobs:
30+
# Build job
31+
build:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v3
36+
- name: Setup Ruby
37+
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
38+
with:
39+
ruby-version: '3.1' # Not needed with a .ruby-version file
40+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
41+
cache-version: 0 # Increment this number if you need to re-download cached gems
42+
- name: Setup Pages
43+
id: pages
44+
uses: actions/configure-pages@v3
45+
- name: Build with Jekyll
46+
# Outputs to the './_site' directory by default
47+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48+
env:
49+
JEKYLL_ENV: production
50+
- name: Upload artifact
51+
# Automatically uploads an artifact from the './_site' directory by default
52+
uses: actions/upload-pages-artifact@v1
53+
54+
# Deployment job
55+
deploy:
56+
environment:
57+
name: github-pages
58+
url: ${{ steps.deployment.outputs.page_url }}
59+
runs-on: ubuntu-latest
60+
needs: build
61+
steps:
62+
- name: Deploy to GitHub Pages
63+
id: deployment
64+
uses: actions/deploy-pages@v2

.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)