Skip to content

Commit 7f98a5d

Browse files
author
litongjava
committed
init commit
0 parents  commit 7f98a5d

16 files changed

+3826
-0
lines changed

.gitignore

+154
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
### Eclipse template
2+
*.pydevproject
3+
.metadata
4+
.gradle*
5+
classes/
6+
bin/
7+
tmp/
8+
*.tmp
9+
*.bak
10+
*.swp
11+
*~.nib
12+
local.properties
13+
.settings/
14+
.loadpath
15+
rebel.xml
16+
17+
# Eclipse Core
18+
.project
19+
20+
generatedsources
21+
22+
# External tool builders
23+
.externalToolBuilders/
24+
25+
# Locally stored "Eclipse launch configurations"
26+
*.launch
27+
28+
# CDT-specific
29+
.cproject
30+
31+
# JDT-specific (Eclipse Java Development Tools)
32+
.classpath
33+
34+
# PDT-specific
35+
.buildpath
36+
37+
# sbteclipse plugin
38+
.target
39+
40+
# TeXlipse plugin
41+
.texlipse
42+
43+
44+
45+
### JetBrains template
46+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
47+
48+
*.iml
49+
.flattened-pom.xml
50+
## Directory-based project format:
51+
.idea/
52+
# if you remove the above rule, at least ignore the following:
53+
54+
# User-specific stuff:
55+
# .idea/workspace.xml
56+
# .idea/tasks.xml
57+
# .idea/dictionaries
58+
59+
# Sensitive or high-churn files:
60+
# .idea/dataSources.ids
61+
# .idea/dataSources.xml
62+
# .idea/sqlDataSources.xml
63+
# .idea/dynamic.xml
64+
# .idea/uiDesigner.xml
65+
66+
# Gradle:
67+
# .idea/gradle.xml
68+
# .idea/libraries
69+
70+
# Mongo Explorer plugin:
71+
# .idea/mongoSettings.xml
72+
73+
## File-based project format:
74+
*.ipr
75+
*.iws
76+
77+
## Plugin-specific files:
78+
79+
# IntelliJ
80+
/out/
81+
82+
# mpeltonen/sbt-idea plugin
83+
.idea_modules/
84+
85+
# JIRA plugin
86+
atlassian-ide-plugin.xml
87+
88+
# Crashlytics plugin (for Android Studio and IntelliJ)
89+
com_crashlytics_export_strings.xml
90+
crashlytics.properties
91+
crashlytics-build.properties
92+
93+
build/
94+
95+
# Ignore Gradle GUI config
96+
gradle-app.setting
97+
98+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
99+
!gradle-wrapper.jar
100+
101+
db
102+
103+
### Java template
104+
*.class
105+
106+
# Mobile Tools for Java (J2ME)
107+
.mtj.tmp/
108+
109+
# Package Files #
110+
#*.jar
111+
112+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
113+
hs_err_pid*
114+
115+
116+
### Leiningen template
117+
classes/
118+
target/
119+
logs/
120+
checkouts/
121+
.lein-deps-sum
122+
.lein-repl-history
123+
.lein-plugins/
124+
.lein-failures
125+
.nrepl-port
126+
127+
querydsl/
128+
129+
.DS_Store
130+
131+
*.exe
132+
*.out
133+
134+
*.log
135+
node_modules/
136+
dist/
137+
dist.zip
138+
package-lock.json
139+
*.lock
140+
local.properties
141+
.cxx
142+
.externalNativeBuild
143+
/captures
144+
/build
145+
__pycache__/
146+
*.pyc
147+
148+
149+
cmake-build-debug/
150+
cmake-build-debug-mingw/
151+
venv/
152+
.vs/
153+
Debug/
154+
vcpkg_installed/

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2016 Tong Li
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

docs/.vuepress/config.js

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// 引入JSON文件
2+
const head = require("./config/head");
3+
const plugin = require("./config/plugins");
4+
const themeConfig = require("./config/themeConfig");
5+
const webpack = require("webpack");
6+
module.exports = {
7+
base: "/tio-boot-docs/",
8+
title: "Tio Boot Docs",
9+
description: "Java 高性能Web 快速开发框架",
10+
head: head,
11+
plugins: plugin,
12+
13+
markdown: {
14+
lineNumbers: true,
15+
},
16+
themeConfig: themeConfig,
17+
configureWebpack: {
18+
plugins: [
19+
new webpack.DefinePlugin({
20+
"process.env.CLIENT_ID": JSON.stringify(process.env.CLIENT_ID),
21+
"process.env.CLIENT_SECRET": JSON.stringify(process.env.CLIENT_SECRET),
22+
"process.env.GA": JSON.stringify(process.env.GA),
23+
}),
24+
],
25+
},
26+
};

docs/.vuepress/config/head.js

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module.exports = [
2+
['link', { rel: 'stylesheet', href: '/prism-theme.css' }],
3+
['link', {rel: 'icon', href: '/logo.png'}],
4+
['link', {rel: 'manifest', href: '/manifest.json'}],
5+
['meta', {name: 'theme-color', content: '#3eaf7c'}],
6+
['meta', {name: 'apple-mobile-web-app-capable', content: 'yes'}],
7+
['meta', {name: 'apple-mobile-web-app-status-bar-style', content: 'black'}],
8+
['link', {rel: 'apple-touch-icon', href: '/icons/apple-touch-icon-152x152.png'}],
9+
['link', {rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#3eaf7c'}],
10+
['meta', {name: 'msapplication-TileImage', content: '/icons/msapplication-icon-144x144.png'}],
11+
['meta', {name: 'msapplication-TileColor', content: '#000000'}],
12+
["link", {
13+
rel: "icon",
14+
href: '/favicon.ico'
15+
}],
16+
["meta", {
17+
name: "author",
18+
19+
}],
20+
["meta", {
21+
name: "keywords",
22+
content: "JFinal,jfinal"
23+
}],
24+
["script", {
25+
"crossorigin": "anonymous",
26+
async: true,
27+
src: ""
28+
}],
29+
];

docs/.vuepress/config/nav-en.json

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[
2+
{
3+
"text": "Sources",
4+
"ariaLabel": "Sources Menu",
5+
"items": [
6+
{
7+
"text": "Gitee",
8+
"link": "https://gitee.com/ppnt/tio-boot"
9+
},
10+
{
11+
"text": "Github",
12+
"link": "https://github.com/litongjava/tio-boot"
13+
}
14+
]
15+
},
16+
{
17+
"text": "Languages",
18+
"ariaLabel": "Language Menu",
19+
"items": [
20+
{
21+
"text": "Chinese",
22+
"link": "/zh/1 快速上手/1.0 快速上手.md"
23+
},
24+
{
25+
"text": "English",
26+
"link": "/en/1 Quick Start/1.0 Quick Start.md"
27+
}
28+
]
29+
},
30+
{
31+
"text": "About",
32+
"link": "/about/"
33+
}
34+
]

docs/.vuepress/config/plugins.js

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
require('dotenv').config();
2+
module.exports = [
3+
['@vuepress/pwa', {
4+
serviceWorker: true,
5+
updatePopup: {
6+
'/': {
7+
message: "New content is available.",
8+
buttonText: "Refresh"
9+
},
10+
'/zh/': {
11+
message: "发现新内容可用",
12+
buttonText: "刷新"
13+
}
14+
}
15+
}],
16+
['@vssue/vuepress-plugin-vssue', {
17+
platform: 'github-v4',
18+
owner: 'litongjava',
19+
repo: 'jfinal-doc',
20+
clientId: process.env.CLIENT_ID,
21+
clientSecret: process.env.CLIENT_SECRET,
22+
autoCreateIssue: true,
23+
}],
24+
['@vuepress/back-to-top'],
25+
[
26+
'@vuepress/google-analytics',
27+
{
28+
'ga': process.env.GA,
29+
}
30+
],
31+
['@vuepress/medium-zoom'],
32+
['fulltext-search'],
33+
['vuepress-plugin-code-copy',{
34+
staticIcon:true,
35+
}]
36+
]

docs/.vuepress/config/sidebar-en.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

docs/.vuepress/config/sidebar-zh.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

docs/.vuepress/config/themeConfig.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const navEn = require("./nav-en.json");
2+
3+
module.exports = {
4+
lastUpdated: "Last Updated", // string | boolean,K
5+
nav: navEn,
6+
};

docs/.vuepress/theme/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// .vuepress/theme/index.js
2+
module.exports = {
3+
extend: '@vuepress/theme-default'
4+
}

0 commit comments

Comments
 (0)