Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
cdcaa0d9
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cdcaa0d9
编写于
6月 04, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sidebar for docs
上级
47a39a84
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
77 addition
and
24 deletion
+77
-24
docs/develop-as-components.md
docs/develop-as-components.md
+8
-0
docs/download.md
docs/download.md
+4
-1
docs/getting-started.md
docs/getting-started.md
+8
-0
docs/introduce.md
docs/introduce.md
+17
-0
static/style.css
static/style.css
+1
-0
theme/templates/aside.html
theme/templates/aside.html
+10
-18
theme/templates/component-aside.html
theme/templates/component-aside.html
+22
-0
theme/templates/component.html
theme/templates/component.html
+1
-1
theme/templates/layout.html
theme/templates/layout.html
+2
-2
theme/templates/page.html
theme/templates/page.html
+4
-2
未找到文件。
docs/develop-as-components.md
0 → 100644
浏览文件 @
cdcaa0d9
# 组件开发模式
-
category: start
-
order: 2
---
待补充。
docs/download.md
浏览文件 @
cdcaa0d9
# 下载
---
-
category: start
-
order: 3
---
待补充。
docs/getting-started.md
0 → 100644
浏览文件 @
cdcaa0d9
# 快速上手
-
category: start
-
order: 1
---
待补充。
docs/
start
.md
→
docs/
introduce
.md
浏览文件 @
cdcaa0d9
# Ant Design
# 介绍
-
category: start
-
order: 0
---
下一个设计&前端框架。
## 五分钟上手
## 介绍
## 特性
## 工具
## 部署和使用
## 谁在使用
##
谁在使用
##
Roadmap
static/style.css
浏览文件 @
cdcaa0d9
...
...
@@ -429,6 +429,7 @@ footer ul li > a {
width
:
260px
;
background
:
#F9F9F9
;
padding-top
:
10px
;
margin-bottom
:
50px
;
}
.aside-container
>
ul
>
li
{
...
...
theme/templates/aside.html
浏览文件 @
cdcaa0d9
<script
src=
"/dist/index.js"
></script>
{%- set categories = resource.pages|get_all_category %}
<aside
class=
"aside-container"
>
<ul>
{%- for category in categories %}
{%- set items = resource.pages|find_category(category) %}
<li>
<h4>
{{category}}
</h4>
<ul>
{%- for item in items %}
<li
class=
"{%- if item.title === post.title %}current{%- endif %}"
>
<a
href=
"{{permalink_url(item)}}"
>
{{item.title}}
<span
class=
"chinese"
>
{{item.meta.chinese}}
</span>
</a>
</li>
{%- endfor %}
</ul>
</li>
{%- endfor %}
{%- set items = resource.pages|find_category(post.meta.category) %}
<li>
<ul>
{%- for item in items %}
<li
class=
"{%- if item.title === post.title %}current{%- endif %}"
>
<a
href=
"{{permalink_url(item)}}"
>
{{item.title}}
</a>
</li>
{%- endfor %}
</ul>
</li>
</ul>
</aside>
theme/templates/component-aside.html
0 → 100644
浏览文件 @
cdcaa0d9
<script
src=
"/dist/index.js"
></script>
{%- set categories = resource.pages|get_all_category %}
<aside
class=
"aside-container"
>
<ul>
{%- for category in categories %}
{%- set items = resource.pages|find_category(category) %}
<li>
<h4>
{{category}}
</h4>
<ul>
{%- for item in items %}
<li
class=
"{%- if item.title === post.title %}current{%- endif %}"
>
<a
href=
"{{permalink_url(item)}}"
>
{{item.title}}
<span
class=
"chinese"
>
{{item.meta.chinese}}
</span>
</a>
</li>
{%- endfor %}
</ul>
</li>
{%- endfor %}
</ul>
</aside>
theme/templates/component.html
浏览文件 @
cdcaa0d9
{% extends "page.html" %}
{% block aside %}
{%- include "aside.html" %}
{%- include "
component-
aside.html" %}
{% endblock %}
{% block content %}
...
...
theme/templates/layout.html
浏览文件 @
cdcaa0d9
...
...
@@ -36,8 +36,8 @@
<li
class=
"{%- if post.meta.filepath === 'README.md' %}current{%- endif %}"
>
<a
href=
"/"
>
首页
</a>
</li>
<li
class=
"{%- if post.
filename
=== 'start' %}current{%- endif %}"
>
<a
href=
"/docs/
start
"
>
上手
</a>
<li
class=
"{%- if post.
meta.category
=== 'start' %}current{%- endif %}"
>
<a
href=
"/docs/
introduce
"
>
上手
</a>
</li>
<li
class=
"{%- if post.filename === 'design' %}current{%- endif %}"
>
<a
href=
"/docs/design"
>
设计
</a>
...
...
theme/templates/page.html
浏览文件 @
cdcaa0d9
...
...
@@ -10,10 +10,12 @@
{% block description %}{% if post.summay %}{{post.summary}}{% endif %}{% endblock %}
{% block aside %}{% endblock %}
{% block aside %}
{%- include "aside.html" %}
{% endblock %}
{% block content %}
<section
class=
"main-container
main-container-center
"
>
<section
class=
"main-container"
>
<article
class=
"markdown"
>
<h1>
{{ post.title }} {{ post.meta.chinese }}
</h1>
{{ post.html }}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录