Commit Graph

17 Commits

Author SHA1 Message Date
Vladimir
b1f22e893e
Merge branch 'master' into sevirov-DOCSUP-7098-edit_translate_russian_docs_templates 2021-03-15 15:57:54 +03:00
Alexey Milovidov
8c9bd09e6c Remove broken "Original article" 2021-03-14 15:19:04 +03:00
Dmitriy
aad98b368e Edit and translate to Russian
Поправил шаблоны в английской и русской версиях.
2021-03-13 21:18:45 +03:00
Vladimir
2c560d8e3b
Merge pull request #20544 from adevyatova/annadevyatova-DOCSUP-6762-templates 2021-02-17 10:17:01 +03:00
gyuton
0b0b481825
DOCSUP-5602: Edited and translated to russian (#20302)
* Edited and added translation

* Minor fixes

* Fix typo

Co-authored-by: George <gyuton@yandex-team.ru>
Co-authored-by: Ivan <5627721+abyss7@users.noreply.github.com>
2021-02-16 14:02:33 +03:00
Anna
ce1f10904e Global replacement Parameters to Arguments 2021-02-16 00:22:10 +03:00
Azat Khuzhin
840a21d073 Add top_level_domains_path for easier overriding 2020-12-09 21:08:31 +03:00
Azat Khuzhin
916cbd6610 Add ability to use custom TLD list
v2: Add a note that top_level_domains_lists aren not applied w/o restart
v3: Remove ExtractFirstSignificantSubdomain{Default,Custom}Lookup.h headers
v4: TLDListsHolder: remove FIXME for dense_hash_map (this is not significant)
2020-12-09 21:08:22 +03:00
Azat Khuzhin
48645eae33 Add cutToFirstSignificantSubdomainWithWWW()
Sometimes it is odd to get TLD itself from the
cutToFirstSignificantSubdomain() (since you will not get TLD itself if
you pass it directly):
- cutToFirstSignificantSubdomain('org')            -> ""
- cutToFirstSignificantSubdomain('www.org')        -> org
- cutToFirstSignificantSubdomain('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomain('www.kernel.org') -> kernel.org

So add one more function to get www.org in this case:
- cutToFirstSignificantSubdomainWithWWW('org')            -> ""
- cutToFirstSignificantSubdomainWithWWW('www.org')        -> www.org
- cutToFirstSignificantSubdomainWithWWW('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomainWithWWW('www.kernel.org') -> kernel.org

P.S. not sure about the naming though, so it will great if someone has
suggestion for the name.
2020-11-18 21:09:27 +03:00
Alexey Milovidov
db4db42b65 Fix broken links in docs 2020-10-13 20:23:29 +03:00
Ivan Blinkov
ceac649c01
[docs] split misc statements (#12403) 2020-07-11 14:05:49 +03:00
BayoNet
2eb6f1d0c1
DOCS-679: netloc function (#12321)
* DOCSUP-1377 (netloc function) (#135)

* add EN description

* changes in query

* changes after review

* add RU description

* CLICKHOUSEDOCS-679: Text fixes.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>
Co-authored-by: Evgenia Sudarikova <56156889+otrazhenia@users.noreply.github.com>
2020-07-09 11:50:53 +03:00
Ivan Blinkov
fa0e2461e7
Update url-functions.md 2020-06-19 13:15:32 +03:00
Ivan Blinkov
7170f3c534
[docs] split aggregate function and system table references (#11742)
* prefer relative links from root

* wip

* split aggregate function reference

* split system tables
2020-06-18 11:24:31 +03:00
Azat Khuzhin
9de1a231c9 Add optional default_port argument for the port() function 2020-05-23 23:36:01 +03:00
Azat Khuzhin
409cff11df Add port() function
It uses domain() (getURLHost()) internally so it has the same
limitations:
- no ipv6 support
- no host-without-dots support (i.e. "foobar")
2020-05-23 20:45:56 +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