-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
将 submodule 的 themes/FixIt 替换为了独立文件。
- Loading branch information
1 parent
4e78070
commit 3c36fe5
Showing
2,707 changed files
with
48,548 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "themes/FixIt"] | ||
path = themes/FixIt | ||
url = https://github.com/hugo-fixit/FixIt.git | ||
Submodule FixIt
deleted from
f37622
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"comments": false, | ||
"minified": true, | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": "> 0.25%, not dead" | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
custom: [ | ||
"https://paypal.me/Lruihao", | ||
"https://lruihao.cn/images/alipay.gif", | ||
"https://lruihao.cn/images/wechatpay.gif" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: "Bug Report 错误报告" | ||
description: "Create a bug report 创建一个错误报告" | ||
title: "[BUG] Some problem ..." | ||
labels: ["bug"] | ||
body: | ||
- type: textarea | ||
id: describe | ||
attributes: | ||
label: Describe the bug 描述你遇到的错误 | ||
description: | | ||
A clear and concise description of what the bug is. | ||
一段简短的对于你遇到的错误的描述。 | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected behavior 期待的行为 | ||
description: | | ||
A clear and concise description of what you expected to happen. | ||
一段简短的对于你期待的行为的描述。 | ||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots 屏幕截图 | ||
description: | | ||
If applicable, add screenshots to help explain your problem. | ||
如果可以的话,提供屏幕截图对解决问题很有帮助。 | ||
- type: textarea | ||
id: environment | ||
attributes: | ||
label: Build Environment 构建环境 | ||
description: | | ||
Please try to use Hugo **extended** version before opening the issue. | ||
请在创建 issue 之前尝试使用 Hugo **extended** 版本。 | ||
placeholder: | | ||
- OS: [e.g. Windows 10, macOS, Ubuntu] | ||
- Theme version/commit [e.g. 0.2.0, 2ccba79] | ||
- Hugo version [e.g. 0.69.0] | ||
- type: textarea | ||
id: preview | ||
attributes: | ||
label: Preview Environment 预览环境 | ||
placeholder: | | ||
- OS: [e.g. Windows 10, macOS, Ubuntu, iOS, Android] | ||
- Browser [e.g. Chrome, Safari, Firefox] | ||
- type: textarea | ||
id: additional | ||
attributes: | ||
label: Additional Information 补充信息 | ||
description: | | ||
Configuration files or front matter code ... | ||
配置文件或者前置参数的代码 ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Questions 问题讨论 | ||
url: https://github.com/hugo-fixit/FixIt/discussions/new | ||
about: Please ask questions in Discussion. 请在讨论中提问。 | ||
|
||
- name: 官方 QQ 群 | ||
url: https://qm.qq.com/cgi-bin/qm/qr?k=awbwdTtSQ_-H5QGzeJxdWgv6JMbNehNM&jump_from=webapi | ||
about: '加入 FixIt 主题交流群: 814031017' | ||
|
||
- name: Theme Documentation 主题文档 | ||
url: https://fixit.lruihao.cn/categories/documentation/ | ||
about: Please read the documentation carefully. 请先仔细阅读主题文档。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: "Feature request 功能请求" | ||
description: "Suggest an idea for this project 为这个项目提供一个建议" | ||
title: "[FEATURE] Some feature" | ||
labels: ["enhancement"] | ||
body: | ||
- type: textarea | ||
id: describe | ||
attributes: | ||
label: Describe the feature you want 描述你的功能需求 | ||
description: | | ||
Please submit new issues for different features. | ||
请针对不同的功能建议提交新的 issue。 | ||
placeholder: | | ||
I recommend adding this feature ... | ||
我希望添加这样的一个功能 ... | ||
- type: textarea | ||
id: reference | ||
attributes: | ||
label: Useful reference 有价值的参考 | ||
description: | | ||
If available, provide useful links to fulfill the feature. | ||
如果可以的话,提供实现这个功能的相关参考链接。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Set to true to add reviewers to PRs | ||
addReviewers: true | ||
|
||
# Set to 'author' to add PR's author as a assignee | ||
addAssignees: author | ||
|
||
# A list of reviewers to be added to PRs (GitHub user name) | ||
reviewers: | ||
- Lruihao | ||
|
||
# A number of reviewers added to the PR | ||
# Set 0 to add all the reviewers (default: 0) | ||
numberOfReviewers: 1 | ||
|
||
# A list of assignees, overrides reviewers if set | ||
assignees: | ||
- Lruihao | ||
|
||
# A number of assignees to add to the PRs | ||
# Set to 0 to add all of the assignees. | ||
# Uses numberOfReviewers if unset. | ||
numberOfAssignees: 0 | ||
|
||
# A list of keywords to be skipped the process if PR's title include it | ||
skipKeywords: | ||
- wip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: "CodeQL config" | ||
|
||
paths-ignore: | ||
- assets/lib/** | ||
- docs/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "monthly" | ||
open-pull-requests-limit: 1000 | ||
assignees: | ||
- "Lruihao" | ||
labels: | ||
- "dependencies" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Update Algolia Search Index | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'docs' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
algolia-atomic: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true # Fetch Hugo themes (true OR recursive) | ||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | ||
|
||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: 'latest' | ||
extended: true | ||
|
||
- name: Build | ||
run: | | ||
npm install | ||
npm run build | ||
- name: Update Algolia Index (en) | ||
env: | ||
ALGOLIA_APP_ID: YKOM6PKLUY | ||
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }} | ||
ALGOLIA_INDEX_NAME: 'index.en' | ||
ALGOLIA_INDEX_FILE: './docs/public/index.json' | ||
run: | | ||
npm run algolia | ||
- name: Update Algolia Index (zh-cn) | ||
env: | ||
ALGOLIA_APP_ID: YKOM6PKLUY | ||
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }} | ||
ALGOLIA_INDEX_NAME: 'index.zh-cn' | ||
ALGOLIA_INDEX_FILE: './docs/public/zh-cn/index.json' | ||
run: | | ||
npm run algolia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Auto Assign | ||
on: | ||
issues: | ||
types: [opened] | ||
pull_request: | ||
types: [opened] | ||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: bubkoo/auto-assign@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CONFIG_FILE: .github/configs/auto-assign.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Hugo build check | ||
on: | ||
pull_request: | ||
branches: [ master ] | ||
workflow_dispatch: | ||
jobs: | ||
Actions-Hugo-Check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive # Fetch Hugo themes (true OR recursive) | ||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | ||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: latest | ||
extended: true | ||
- name: Build Hugo static files | ||
run: hugo -v --source=docs --gc --minify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: '30 18 * * 5' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'javascript' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] | ||
# Learn more: | ||
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
config-file: ./.github/configs/codeql.yml | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
# queries: ./path/to/local/query, your-org/your-repo/queries@main | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Generate Contribute List | ||
on: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
jobs: | ||
contrib-readme-job: | ||
runs-on: ubuntu-latest | ||
name: A job to automate contribute list in contributors.md file | ||
steps: | ||
- name: First Contribution Check | ||
id: first-check | ||
uses: sukki37/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }} | ||
- name: Contribute List | ||
uses: akhilmhdh/contributors-readme-action@master | ||
if: ${{ steps.first-check.outputs.isNewContributor == 'true' }} | ||
with: | ||
readme_path: "contributors.md" | ||
image_size: 100 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Hugo default output directory | ||
public/ | ||
resources/ | ||
|
||
# NPM | ||
node_modules/ | ||
|
||
## OS Files | ||
# Windows | ||
Thumbs.db | ||
ehthumbs.db | ||
Desktop.ini | ||
$RECYCLE.BIN/ | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# Linux | ||
.directory | ||
|
||
# Hugo | ||
.hugo_build.lock | ||
jsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "docs"] | ||
path = docs | ||
url = https://github.com/hugo-fixit/docs.git |
Oops, something went wrong.