完善布局
This commit is contained in:
parent
6559ff0bdf
commit
1578d577bd
|
@ -18,7 +18,9 @@
|
|||
# 站点简介:
|
||||
> * 本站点主要提供铁锈战争的代码API教程与指导,皆在为铁锈带来更好的Mod质量。
|
||||
> * 本站点提供--地图Mapping代码表,单位Unit代码表,调试Debug代码表。
|
||||
<div style="display:flex;align-content: flex-start;flex-wrap: nowrap;flex-direction: row;justify-content: center;">
|
||||
<font size="6px" color="#42b983">RTS-Code-API-1.15-CopyRight-2023</font>
|
||||
</div>
|
||||
|
||||
<font size="6px" color="#42b983">RTS-Code-API-1.15-CopyRight-2023</font>
|
||||
|
||||
<!-- docsify serve docs -->
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<h1 id="anchors">RustedWarfare-API Code<small>0.1 Demo</small> </h1>
|
||||
|
||||
|
||||
<h2><p id='main'>Rusted Warfare Code API<p><h2>
|
||||
<h2><p id='mainx'>Rusted Warfare Code API<p><h2>
|
||||
|
||||
<h3 id="anchors">学习Mod,制作Mod,创新Mod</h3>
|
||||
<h3 id="anchors">Map Code/Unit Code/Debug Code</h3>
|
||||
|
|
BIN
docs/images/avaters/ling.jpg
Normal file
BIN
docs/images/avaters/ling.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 80 KiB |
BIN
docs/images/avaters/tobby3600.jpg
Normal file
BIN
docs/images/avaters/tobby3600.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
@ -203,6 +203,7 @@
|
|||
background: #0d4fba;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
window.$docsify = {
|
||||
el: '#main',
|
||||
|
@ -219,6 +220,27 @@
|
|||
tabHeadings: true // default
|
||||
},
|
||||
|
||||
'flexible-alerts': {
|
||||
note: {
|
||||
label: "随录笔记"
|
||||
},
|
||||
tip: {
|
||||
label: "特别注意"
|
||||
},
|
||||
warning: {
|
||||
label: "警告"
|
||||
},
|
||||
attention: {
|
||||
label: "不推荐"
|
||||
}
|
||||
},
|
||||
|
||||
Valine: {
|
||||
appId: 'e3Ipwd8kr6LEeNRLk487mmtB-gzGzoHsz',
|
||||
appKey: 'gQYoj8j4KehzLWLGvpr5sKeP',
|
||||
placeholder: "可以将你的一些见解发表到这里,说不定能帮助到其他萌新或者让一些陷入迷途的人豁然开朗呢!支持MarkDown语法。",
|
||||
avatar: 'hide'
|
||||
},
|
||||
scrollToTop: {
|
||||
auto: true,
|
||||
text: 'Top↑',
|
||||
|
@ -226,23 +248,46 @@
|
|||
bottom: 15,
|
||||
offset: 500
|
||||
},
|
||||
timeUpdater: {
|
||||
text: "> 最后编写更新时间: {docsify-updated}",
|
||||
formatUpdated: "{YYYY}/{MM}/{DD}",
|
||||
whereToPlace: "top", // "top" or "bottom", default to "bottom"
|
||||
},
|
||||
chat: {
|
||||
// chat panel title
|
||||
title: '',
|
||||
// set avatar url
|
||||
users: [
|
||||
{ nickname: 'tobby3600', avatar: '/images/avaters/tobby3600.jpg' },
|
||||
{ nickname: 'JDSALing', avatar: '/images/avaters/ling.jpg' },
|
||||
],
|
||||
myself: 'JDSALing',
|
||||
animation: 50,
|
||||
// Panel navigation bar style, supporting "mac" and "windows"
|
||||
os: 'none',
|
||||
},
|
||||
|
||||
// 完整配置参数
|
||||
search: {
|
||||
maxAge: 114514, // 过期时间,单位毫秒,1.9分钟
|
||||
maxAge: 86400000, // 过期时间,单位毫秒,1.9分钟
|
||||
paths: 'auto', // or 'auto'
|
||||
|
||||
search: [
|
||||
'auto', // => /zh-cn/README.md
|
||||
],
|
||||
|
||||
// 支持本地化
|
||||
placeholder: {
|
||||
'/': '搜索你需要的!'
|
||||
'/': '搜索你需要的!探索你所想的!'
|
||||
},
|
||||
|
||||
// 支持本地化
|
||||
noData: {
|
||||
'/': '未找到结果……'
|
||||
'/': '尚未找到匹配结果……'
|
||||
},
|
||||
|
||||
// 搜索标题的最大层级, 1 - 6
|
||||
depth: 6,
|
||||
depth: 3,
|
||||
|
||||
hideOtherSidebarContent: true, // 是否隐藏其他侧边栏内容
|
||||
|
||||
|
@ -269,16 +314,25 @@
|
|||
|
||||
<!-- 插件引入 -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsify-tabs@1"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsify-updated/src/time-updater.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
||||
<script src="//unpkg.com/docsify-scroll-to-top/dist/docsify-scroll-to-top.min.js"></script>
|
||||
<script src="https://lingasdj.github.io/RW-API-Code/js/RW-ini-1.15.js"></script>
|
||||
<script src="https://lingasdj.github.io/RW-API-Code/js/docsify-copy-code.min.js"></script>
|
||||
<script src='//unpkg.com/valine/dist/Valine.min.js'></script>
|
||||
<script src="//unpkg.com/docsify-valine/dist/docsify-valine.min.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/docsify-chat/lib/docsify-chat.min.js"></script>
|
||||
<script src="https://unpkg.com/docsify-plugin-flexible-alerts"></script>
|
||||
<style>
|
||||
/* 主页样式 */
|
||||
#main {
|
||||
#mainx {
|
||||
color: #0080ff;
|
||||
}
|
||||
|
||||
#main {
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
#anchors {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
|
||||
#
|
||||
|
||||
# Page 1
|
||||
<!-- tabs:start -->
|
||||
|
||||
|
@ -10,19 +11,28 @@
|
|||
#### name-代码简介
|
||||
?> 代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组
|
||||
#### name-要点指示
|
||||
!> name代码的要点指示:
|
||||
定义单位原始名称,可以是中文。
|
||||
游戏使用它区分其它单位。如果没有在`displayText或者语言文件设置显示名称`,那么它也将作为单位的显示名称。
|
||||
<br>
|
||||
具体描述文件位置(内部):
|
||||
1.assets/translationsStrings_zh.properties
|
||||
格式:units.单位名称.name=写单位显示的名称
|
||||
units.单位名称.description= [[填单位显示的描述]]
|
||||
<br>
|
||||
ini文件的单独定义(外部-推荐):
|
||||
2.displayText: 单位的标题
|
||||
displayDescription: -单位的描述
|
||||
<br>
|
||||
|
||||
> [!NOTE] name代码的要点指示:
|
||||
|
||||
<!-- chat:start -->
|
||||
#### **JDSALing**
|
||||
|
||||
|
||||
定义单位原始名称,可以是中文。<br>
|
||||
游戏使用它区分其它单位。<br>
|
||||
如果没有在[displayText或者语言文件设置显示名称],<br>
|
||||
那么它也将作为单位的显示名称。 <br>
|
||||
具体描述文件位置(内部): <br>
|
||||
1.assets/translationsStrings_zh.properties <br>
|
||||
格式:units.单位名称.name=写单位显示的名称 <br>
|
||||
units.单位名称.description= [[填单位显示的描述]] <br>
|
||||
#### **tobby3600**
|
||||
|
||||
ini文件的单独定义(外部-推荐): <br>
|
||||
2.displayText: 单位的标题 <br>
|
||||
displayDescription: -单位的描述 <br>
|
||||
|
||||
<!-- chat:end -->
|
||||
|
||||
特别提醒:`displayText支持本地化`,例如如果要写一个`多语言的单位描述`,可以通过以下例子:
|
||||
|
||||
|
@ -181,8 +191,6 @@ altNames:ling,tobby3600,coldmint
|
|||
# Page 8
|
||||
<!-- tabs:start -->
|
||||
|
||||
|
||||
|
||||
# **[decal_Name] 贴花组**
|
||||
|
||||
# **[Dex-Code] 源码Dex扩展组**
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"prism-liquibase": "^0.0.4"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user