Commit Graph

150 Commits

Author SHA1 Message Date
Yatsishin Ilya
111902a018 Merge #10600 2020-05-15 16:14:39 +03:00
Ivan Blinkov
cd14f9ebcb
SQL reference refactoring (#10857)
* split up select.md

* array-join.md basic refactoring

* distinct.md basic refactoring

* format.md basic refactoring

* from.md basic refactoring

* group-by.md basic refactoring

* having.md basic refactoring

* additional index.md refactoring

* into-outfile.md basic refactoring

* join.md basic refactoring

* limit.md basic refactoring

* limit-by.md basic refactoring

* order-by.md basic refactoring

* prewhere.md basic refactoring

* adjust operators/index.md links

* adjust sample.md links

* adjust more links

* adjust operatots links

* fix some links

* adjust aggregate function article titles

* basic refactor of remaining select clauses

* absolute paths in make_links.sh

* run make_links.sh

* remove old select.md locations

* translate docs/es

* translate docs/fr

* translate docs/fa

* remove old operators.md location

* change operators.md links

* adjust links in docs/es

* adjust links in docs/es

* minor texts adjustments

* wip

* update machine translations to use new links

* fix changelog

* es build fixes

* get rid of some select.md links

* temporary adjust ru links

* temporary adjust more ru links

* improve curly brace handling

* adjust ru as well

* fa build fix

* ru link fixes

* zh link fixes

* temporary disable part of anchor checks
2020-05-15 07:34:54 +03:00
ImgBotApp
d78eeab8b3
[ImgBot] Optimize images
*Total -- 643.66kb -> 611.81kb (4.95%)

/website/images/yandex.png -- 4.24kb -> 2.04kb (52.04%)
/docs/fr/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/tr/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/en/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/es/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/ja/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/zh/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/ru/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/fa/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/en/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/ja/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/tr/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/fa/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/zh/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/ru/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/es/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/tr/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/en/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/fr/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/es/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/website/images/mkdocs/copy.svg -- 0.76kb -> 0.76kb (0.38%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-05-11 03:31:47 +00:00
Ivan Blinkov
21d8b6288d
[docs] generate AMP versions for docs articles (#10732)
* Refactoring in preparation for AMP support

* infrastructure for AMP validation

* Add Metrika counter on AMP page + adjust layout

* more content fixes

* improve amp layout

* improve navigation

* Move converting admonitions to generation time

* strict amp test check

* Batch AMP validation

* Add date published/modified to docs articles and their ld+json meta

* few more content fixes

* improve ld+json meta

* adjust margins

* skip published/modified for stable release docs

* adapt single page mode

* update po

* skip published/modified for single page docs

* update po

* adjust layout

* adjust layout
2020-05-08 11:04:09 +03:00
BayoNet
4ec7821fec
DOCS-624: Fixing links to nowhere 2 (#10703)
* enbaskakova-DOCSUP-652 (#101)

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Revert "enbaskakova-DOCSUP-652 (#101)" (#107)

This reverts commit 639fee7610.

* CLICKHOUSEDOCS-624: Fixed en

* CLICKHOUSEDOCS-624: Fixed RU.

* CLICKHOUSEDOCS-624: Fixed ES and FR.

* CLICKHOUSEDOCS-624: Fixed JA and TR

* CLICKHOUSEDOCS-624: Fixed FA.

* CLICKHOUSEDOCS-624: Fixed ZH.

* Update docs/tools/test.py

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/tools/test.py

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: elenaspb2019 <47083263+elenaspb2019@users.noreply.github.com>
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-06 22:28:06 +03:00
Ivan Blinkov
e5c892eecf
DOCS-624: re-generate select.md (#10689)
* lost redirect

* re-generate select.md
2020-05-06 13:20:58 +03:00
BayoNet
dba72d73fe
DOCS-624: Fixing links to nowhere (#10675)
* enbaskakova-DOCSUP-652 (#101)

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Revert "enbaskakova-DOCSUP-652 (#101)" (#107)

This reverts commit 639fee7610.

* CLICKHOUSEDOCS-624: Fixed links. Was 60, became 13.

* CLICKHOUSEDOCS-624: Finished fix links in Enlish version.

* CLICKHOUSEDOCS-624: Fixed RU links

Co-authored-by: elenaspb2019 <47083263+elenaspb2019@users.noreply.github.com>
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-06 09:13:29 +03:00
Ivan Blinkov
d91c97d15d
[docs] replace underscores with hyphens (#10606)
* Replace underscores with hyphens

* remove temporary code

* fix style check

* fix collapse
2020-04-30 21:19:18 +03:00
Ivan Blinkov
b028288350
Switch to httpS://repo.clickhouse.tech for deb packages (#10529)
* Switch to httpS://repo.clickhouse.tech for deb packages

* deduplicate install instructions
2020-04-28 19:39:50 +03:00
Vladimir
647ea5e810
Fixed the wrong link. (#10518) 2020-04-27 11:30:12 +03:00
Azat Khuzhin
83ab91f1ad docs/kafka: use ATTACH TABLE over ATTACH MATERIALIZED VIEW (all langs)
Since later requires full specification (engine and so on).
2020-04-25 03:08:00 +03:00
Ivan Blinkov
388bcffec9
Rearrange includes at docs+changelog and move description templates (#10472)
* temp commit

* rearrange includes
2020-04-24 12:50:22 +03:00
Ivan Blinkov
54e09dc20a
Draft of ANSI SQL compatibility article (#10457) 2020-04-24 10:02:44 +03:00
BayoNet
51922d3f3c
DOCS-595: Updated the example for MergeTree storage config (#10410)
* CLICKHOUSEDOCS-595: Updated the example.

* CLICKHOUSEDOCS-595: Fixed in other languages.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-04-23 11:05:27 +03:00
Ivan Blinkov
ab150f96a1
[website] get rid of remnants of old markup (from benchmark pages) (#10412)
* rm outdated nginx config

* get rid of most outdated markup of benchmark.html

* reformat js

* get rid of ru comments + wrap benchmark.js in a function call

* split benchmark results into separate files

* adjust links to benchmarks

* refactor hardware benchmarks as well

* adjust links

* fix filtering for hardware

* additional markup tuning
2020-04-22 14:30:33 +03:00
Ivan Blinkov
80873d79e3
[docs] tuning of <details> tag, search menu colours and hidden pages (#10313)
* improve hidden page title

* adjust docsearch menu colors

* enable pymdownx.details

* some <details> styling

* remove useless example
2020-04-16 21:03:52 +03:00
Ivan Blinkov
03c575934b
Minor docs content improvements (#10304)
* Add link to flink-clickhouse-sink + fixes nearby

* Add link to dbal-doctrine

* cleanup ru toc root

* Sort out russian docs ToC a little bit

* Add link collection of commercial support services
2020-04-16 15:55:32 +03:00
BohuTANG
f5c463e9ad Fix path and typo in the tests.md 2020-04-12 21:28:36 +08:00
Ivan Blinkov
344be40068
Re-attach index.md to better place in nav + hide empty articles (#10182) 2020-04-10 22:22:15 +03:00
Ivan Blinkov
564bec176e
Update codebrowser links (#10166)
* Put single-page content into a separate js file

* move break comments

* Update codebrowser links
2020-04-10 13:40:59 +03:00
Ivan Blinkov
a4e2fd24b0
Get rid of toc_ru.yml (#10152) 2020-04-09 21:06:07 +03:00
BohuTANG
b3b0731c36
Documentation: change testsies to queries in tests.md (#10122) 2020-04-08 16:21:55 +03:00
Ivan Blinkov
f6f4fb0000
Documentation issues fixes (#10112) 2020-04-08 12:09:59 +03:00
Dmitry Belyavtsev
d300a7da3c
Add ruby library clickhouse-activerecord to list in docs (#10069)
* Add ruby library clickhouse-activerecord to list in docs

* Add library clickhouse-activerecord in docsfor other locales
2020-04-07 10:48:41 +03:00
Ivan Blinkov
765dd7c495
Update some docs translations (#10044) 2020-04-04 12:15:31 +03:00
Ivan Lezhankin
8a5a73e76d Merge branch 'master' into dbms2src 2020-04-03 18:20:05 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00
Ivan Blinkov
b66c26d833
Get rid of toc_en.yml (#10023) 2020-04-03 16:23:32 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00
Ivan Blinkov
cc60f0edaf
Custom mkdocs theme (#9874) 2020-03-30 11:25:29 +03:00
Ilya Yatsishin
67e2828252
Play docs (#9820) 2020-03-23 18:27:19 +03:00
Mikhail f. Shiryaev
c965e5e07c
Third party check (#9824)
* Add link to nagios plugin for clickhouse

* Add missing links to clickhouse_exporter
2020-03-23 16:20:37 +03:00
Denis Zhuravlev
b1ddbd247c
Doc. Update create table visits with a new syntax. (#9801) 2020-03-22 15:13:19 +03:00
Ivan Blinkov
790704d081
Restore some old manual anchors in docs (#9803)
* Simplify 404 page

* add es array_functions.md

* restore some old manual anchors

* update sitemaps

* trigger checks

* restore more old manual anchors

* refactor test.md + temporary disable failure again

* fix mistype
2020-03-22 12:14:59 +03:00
Šimon Podlipský
e4a18367cf
Add PHP simpod/clickhouse-client (#9794)
Yet another ClickHouse client

- all formats support leveraging PHP generics for type safety
- lightweight
- swappable http client
- guarded by Infection + PHPStan and PSalm max levels
2020-03-21 18:14:02 +03:00
Šimon Podlipský
4505e408c0
Change PHP client names to <vendor/lib> format (#9795)
- change name format to help distinguish clients
- use packagist links that are more helpful for library consumers
2020-03-21 18:08:13 +03:00
imgbot[bot]
58bc9445cd
[ImgBot] Optimize images (#9792)
*Total -- 1.47kb -> 1.46kb (1.06%)

/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-21 12:44:03 +03:00
Ivan Blinkov
f315e5079b
More complete "es" translation (#9791)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation

* add normalize-en-markdown.sh

* normalize some en markdown

* normalize some en markdown

* admonition support

* normalize

* normalize

* normalize

* support wide tables

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* lightly edited machine translation of introdpection.md

* lightly edited machhine translation of lazy.md

* WIP on translation utils

* Normalize ru docs

* Normalize other languages

* some fixes

* WIP on normalize/translate tools

* add requirements.txt

* [experimental] add es docs language as machine translated draft

* remove duplicate script

* Back to wider tab-stop (narrow renders not so well)

* Links to nowhere check at least for English

* use f string

* More complete es translation
2020-03-21 12:17:06 +03:00
imgbot[bot]
2a318d4ec5
[ImgBot] Optimize images (#9788)
*Total -- 1.47kb -> 1.46kb (1.06%)

/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-21 07:31:31 +03:00
Ivan Blinkov
2e1f6bc56d
[experimental] add "es" docs language as machine translated draft (#9787)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation

* add normalize-en-markdown.sh

* normalize some en markdown

* normalize some en markdown

* admonition support

* normalize

* normalize

* normalize

* support wide tables

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* lightly edited machine translation of introdpection.md

* lightly edited machhine translation of lazy.md

* WIP on translation utils

* Normalize ru docs

* Normalize other languages

* some fixes

* WIP on normalize/translate tools

* add requirements.txt

* [experimental] add es docs language as machine translated draft

* remove duplicate script

* Back to wider tab-stop (narrow renders not so well)
2020-03-21 07:11:51 +03:00
imgbot[bot]
be957eeab1
[ImgBot] Optimize images (#9785)
*Total -- 1.47kb -> 1.46kb (1.06%)

/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-20 22:01:56 +03:00
Ivan Blinkov
8561a026b1
WIP on docs translation/normalization tools (#9783) 2020-03-20 21:20:59 +03:00
Ivan Blinkov
03aa7894d9
Draft of docs translation helper (#9755)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation
2020-03-19 20:49:27 +03:00
Ivan Blinkov
80828b969b
Minor improvements in docs build and content (#9752) 2020-03-19 14:51:22 +03:00
Nikolai Kochetov
50fb0ec9f6
Add links to changelogs from other years. (#9710)
* Add links to changelogs from other years.

* Move some changelogs to other folders.

* Fix links

* Renames and fixes.
2020-03-17 23:01:36 +03:00
Denis Zhuravlev
71697a4afc
Doc. ontime.md refresh to сorrespond modern CH (modern create/join) (#9709)
* ontime.md refresh to сorrespond modern CH

* RU ontime.md refresh to сorrespond modern CH

* ontime.md FA refresh to сorrespond modern CH

* ontime.md ZH refresh to сorrespond modern CH
2020-03-17 21:10:23 +03:00
BayoNet
127bee643c
DOCS-549: Updated info about keywords case-sensivity. (#9626)
* Added DateTime64 to TOCs.
* Note about case-sencivity of keywords.
2020-03-13 10:29:50 +03:00
Yatsishin Ilya
0a25fe71bd more docs 2020-02-28 12:19:11 +03:00
Yatsishin Ilya
cf9153e9de Merge remote-tracking branch 'origin' into qoega/random-table-function-small 2020-02-27 22:52:24 +03:00
Sergei Shtykov
11fb904719 CLICKHOUSEDOCS-561: Repaired master 2020-02-26 10:59:07 +03:00