Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2dot5
ClickHouse
提交
0853d02a
C
ClickHouse
项目概览
2dot5
/
ClickHouse
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
ClickHouse
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0853d02a
编写于
5月 30, 2017
作者:
I
Ivan Blinkov
提交者:
alexey-milovidov
5月 31, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
CLICKHOUSE-2981: docs styles more similar to main website + add flags to switch language links
上级
b9caa63a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
35 addition
and
23 deletion
+35
-23
docs/_static/custom.css
docs/_static/custom.css
+4
-1
docs/en/conf.py
docs/en/conf.py
+13
-9
docs/ru/conf.py
docs/ru/conf.py
+16
-12
website/gulpfile.js
website/gulpfile.js
+2
-1
未找到文件。
docs/_static/custom.css
浏览文件 @
0853d02a
div
.document
,
div
.footer
{
width
:
1240px
;
}
div
.sphinxsidebarwrapper
{
padding
:
2px
10px
;
padding
:
2px
10px
;
}
div
.sphinxsidebarwrapper
p
.logo
{
...
...
docs/en/conf.py
浏览文件 @
0853d02a
...
...
@@ -11,6 +11,7 @@
#
# All configuration values have a default; values that are commented out
# serve to show the default.
from
__future__
import
unicode_literals
import
collections
import
os
...
...
@@ -49,8 +50,8 @@ source_suffix = '.rst'
master_doc
=
'index'
# General information about the project.
project
=
u
'ClickHouse'
copyright
=
u
'2016–2017 Yandex LLC'
project
=
'ClickHouse'
copyright
=
'2016–2017 Yandex LLC'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
...
...
@@ -120,8 +121,11 @@ html_theme_options = {
'head_font_family'
:
font_family
,
'caption_font_family'
:
font_family
,
'show_powered_by'
:
False
,
'body_text'
:
'#000'
,
'link'
:
'#08f'
,
'link_hover'
:
'red'
,
'extra_nav_links'
:
collections
.
OrderedDict
([
(
'
Documentation in Russian
'
,
'/docs/ru/'
),
(
'
Switch to Russian 🇷🇺
'
,
'/docs/ru/'
),
(
'Single page documentation'
,
'/docs/en/single/'
),
(
'Website home'
,
'/'
),
(
'GitHub'
,
'https://github.com/yandex/ClickHouse'
),
...
...
@@ -226,8 +230,8 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents
=
[
(
'index'
,
'ClickHouse.tex'
,
u
'ClickHouse Documentation'
,
u
'Yandex LLC'
,
'manual'
),
(
'index'
,
'ClickHouse.tex'
,
'ClickHouse Documentation'
,
'Yandex LLC'
,
'manual'
),
]
# The name of an image file (relative to this directory) to place at the top of
...
...
@@ -256,8 +260,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages
=
[
(
'index'
,
'clickhouse'
,
u
'ClickHouse Documentation'
,
[
u
'Yandex LLC'
],
1
)
(
'index'
,
'clickhouse'
,
'ClickHouse Documentation'
,
[
'Yandex LLC'
],
1
)
]
# If true, show URL addresses after external links.
...
...
@@ -270,8 +274,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents
=
[
(
'index'
,
'ClickHouse'
,
u
'ClickHouse Documentation'
,
u
'Yandex LLC'
,
'ClickHouse'
,
'One line description of project.'
,
(
'index'
,
'ClickHouse'
,
'ClickHouse Documentation'
,
'Yandex LLC'
,
'ClickHouse'
,
'One line description of project.'
,
'Miscellaneous'
),
]
...
...
docs/ru/conf.py
浏览文件 @
0853d02a
...
...
@@ -11,6 +11,7 @@
#
# All configuration values have a default; values that are commented out
# serve to show the default.
from
__future__
import
unicode_literals
import
collections
import
os
...
...
@@ -49,8 +50,8 @@ source_suffix = '.rst'
master_doc
=
'index'
# General information about the project.
project
=
u
'ClickHouse'
copyright
=
u
'2016–2017 Yandex LLC'
project
=
'ClickHouse'
copyright
=
'2016–2017 Yandex LLC'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
...
...
@@ -120,11 +121,14 @@ html_theme_options = {
'head_font_family'
:
font_family
,
'caption_font_family'
:
font_family
,
'show_powered_by'
:
False
,
'body_text'
:
'#000'
,
'link'
:
'#08f'
,
'link_hover'
:
'red'
,
'extra_nav_links'
:
collections
.
OrderedDict
([
(
u
'Documentation in English
'
,
'/docs/en/'
),
(
u
'Документация на одной странице'
,
'/docs/ru/single/'
),
(
u
'Главная страница сайта'
,
'/'
),
(
u
'GitHub'
,
'https://github.com/yandex/ClickHouse'
),
(
'Switch to English 🇬🇧
'
,
'/docs/en/'
),
(
'Документация на одной странице'
,
'/docs/ru/single/'
),
(
'Главная страница сайта'
,
'/'
),
(
'GitHub'
,
'https://github.com/yandex/ClickHouse'
),
])
}
...
...
@@ -226,8 +230,8 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents
=
[
(
'index'
,
'ClickHouse.tex'
,
u
'ClickHouse Documentation'
,
u
'Yandex LLC'
,
'manual'
),
(
'index'
,
'ClickHouse.tex'
,
'ClickHouse Documentation'
,
'Yandex LLC'
,
'manual'
),
]
# The name of an image file (relative to this directory) to place at the top of
...
...
@@ -256,8 +260,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages
=
[
(
'index'
,
'clickhouse'
,
u
'ClickHouse Documentation'
,
[
u
'Yandex LLC'
],
1
)
(
'index'
,
'clickhouse'
,
'ClickHouse Documentation'
,
[
'Yandex LLC'
],
1
)
]
# If true, show URL addresses after external links.
...
...
@@ -270,8 +274,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents
=
[
(
'index'
,
'ClickHouse'
,
u
'ClickHouse Documentation'
,
u
'Yandex LLC'
,
'ClickHouse'
,
'One line description of project.'
,
(
'index'
,
'ClickHouse'
,
'ClickHouse Documentation'
,
'Yandex LLC'
,
'ClickHouse'
,
'One line description of project.'
,
'Miscellaneous'
),
]
...
...
website/gulpfile.js
浏览文件 @
0853d02a
...
...
@@ -87,7 +87,8 @@ gulp.task('images', [], function () {
gulp
.
task
(
'
watch
'
,
function
()
{
gulp
.
watch
(
paths
.
htmls
,
[
'
htmls
'
]);
gulp
.
watch
(
paths
.
htmls
,
[
'
reference
'
]);
gulp
.
watch
(
docsDir
,
[
'
docs
'
]);
gulp
.
watch
(
paths
.
reference
,
[
'
reference
'
]);
gulp
.
watch
(
paths
.
scripts
,
[
'
scripts
'
]);
gulp
.
watch
(
paths
.
images
,
[
'
images
'
]);
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录