diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-11-09 16:36:28 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-11-09 17:00:57 +0300 |
commit | f4107a9400f45143ab5049817139b36ac0e6e1bf (patch) | |
tree | a2fd6f1d7a4616ba56de8b90b5f83ad81e941279 | |
parent | b7a04c5226ecb73944150e12c4c907b277e2c069 (diff) | |
download | ydb-f4107a9400f45143ab5049817139b36ac0e6e1bf.tar.gz |
Intermediate changes
38 files changed, 0 insertions, 682 deletions
diff --git a/ydb/docs/.yfm b/ydb/docs/.yfm deleted file mode 100644 index 9536353193..0000000000 --- a/ydb/docs/.yfm +++ /dev/null @@ -1,32 +0,0 @@ -allowHTML: true -langs: ['en','ru'] -apply-presets: true -allowCustomResources: true -resources: - script: - - _assets/gtm.js - -docs-viewer: - project-name: ydb - # no-index: true # Remove this after the public release - langs: ['en','ru'] - themes: ['light'] - metrika: 88962303 - favicon-src: https://storage.yandexcloud.net/ydb-www-prod-site-assets/favicon/favicon.ico - - github-url-prefix: https://github.com/ydb-platform/ydb/tree/main/ydb/docs - - logo-options: - url: - en: https://ydb.tech/ - default: https://ydb.tech/{lang} - src: https://storage.yandexcloud.net/ydb-www-prod-site-assets/logo-full-site-header.svg - src-mobile: https://storage.yandexcloud.net/ydb-www-prod-site-assets/logo-full-site-header.svg - img-has: - width: 80px - offset: true - - index-page: - title: YDB Open Source - description: Горизонтально масштабируемая распределённая отказоустойчивая СУБД - hidden: true diff --git a/ydb/docs/.yfmlint b/ydb/docs/.yfmlint deleted file mode 100644 index ed1cde173c..0000000000 --- a/ydb/docs/.yfmlint +++ /dev/null @@ -1,2 +0,0 @@ -log-levels: - YFM001: 'disabled' diff --git a/ydb/docs/_assets/gtm.js b/ydb/docs/_assets/gtm.js deleted file mode 100644 index 0e934d75e3..0000000000 --- a/ydb/docs/_assets/gtm.js +++ /dev/null @@ -1,24 +0,0 @@ -// Define dataLayer and the gtag function. -window.dataLayer = window.dataLayer || []; -function gtag(){dataLayer.push(arguments);} - -// Default analytics_storage to 'denied'. -window.gtag = window.gtag || gtag; - -const hasAnalyticsConsent = window?.localStorage.getItem('hasAnalyticsConsent'); - -window.gtag('consent', 'default', { - 'analytics_storage': hasAnalyticsConsent === 'true' ? 'granted' : 'denied', - 'wait_for_update': hasAnalyticsConsent === 'true' ? 0 : Infinity, -}); - -dataLayer.push({ - 'event': 'default_consent' -}); - -function loadGtm(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': -new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], -j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= -'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);}; - -loadGtm(window, document, 'script', 'dataLayer', 'GTM-W7ZBL4X') diff --git a/ydb/docs/_assets/logo.svg b/ydb/docs/_assets/logo.svg deleted file mode 100644 index 0a81321530..0000000000 --- a/ydb/docs/_assets/logo.svg +++ /dev/null @@ -1,4 +0,0 @@ -<svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg"> -<circle cx="64" cy="64" r="64" fill="#2399FF"/> -<path fill-rule="evenodd" clip-rule="evenodd" d="M36.9605 31.9503C27.2976 31.9503 19.4644 34.7009 19.4644 39.8607V66.6667C19.4644 71.8266 27.2976 74.5772 36.9605 74.5772C40.3464 74.5772 43.5076 74.2395 46.1859 73.5787V95.933C46.1859 101.093 54.0192 103.843 63.682 103.843C73.3449 103.843 81.1781 101.093 81.1781 95.933V73.4132C83.986 74.183 87.3817 74.5772 91.0396 74.5772C100.702 74.5772 108.536 71.8266 108.536 66.6667V39.8607C108.536 34.7009 100.702 31.9503 91.0396 31.9503C81.3768 31.9503 73.5435 34.7009 73.5435 39.8607V49.7645H54.4566V39.8607C54.4566 34.7009 46.6233 31.9503 36.9605 31.9503ZM81.1781 70.8985L90.7217 58.0354H83.7233L78.7553 64.7567C80.2948 65.9331 81.1781 67.3942 81.1781 69.127V70.8985ZM73.5435 62.3805V55.4905H54.4566V62.215C57.1349 61.5542 60.2961 61.2165 63.682 61.2165C67.3399 61.2165 70.7357 61.6107 73.5435 62.3805ZM48.609 64.7565L43.6412 58.0354H36.6428L46.1859 70.8979V69.127C46.1859 67.3941 47.0694 65.9329 48.609 64.7565ZM79.8368 36.9698C77.0781 38.1699 76.7249 39.3421 76.7249 39.9031C76.7249 40.464 77.0781 41.6363 79.8368 42.8363C82.4751 43.984 86.4067 44.6747 91.0399 44.6747C95.673 44.6747 99.6046 43.984 102.243 42.8363C105.002 41.6363 105.355 40.464 105.355 39.9031C105.355 39.3421 105.002 38.1699 102.243 36.9698C99.6046 35.8221 95.673 35.1314 91.0399 35.1314C86.4067 35.1314 82.4751 35.8221 79.8368 36.9698ZM22.6457 39.9031C22.6457 39.3421 22.999 38.1699 25.7576 36.9698C28.396 35.8221 32.3275 35.1314 36.9607 35.1314C41.5939 35.1314 45.5254 35.8221 48.1638 36.9698C50.9224 38.1699 51.2757 39.3421 51.2757 39.9031C51.2757 40.4641 50.9224 41.6363 48.1638 42.8363C45.5254 43.984 41.5939 44.6747 36.9607 44.6747C32.3275 44.6747 28.396 43.984 25.7576 42.8363C22.999 41.6363 22.6457 40.4641 22.6457 39.9031ZM52.4788 66.2361C49.7202 67.4361 49.3669 68.6083 49.3669 69.1693C49.3669 69.7303 49.7202 70.9025 52.4788 72.1026C55.1172 73.2503 59.0487 73.941 63.6819 73.941C68.3151 73.941 72.2466 73.2503 74.885 72.1026C77.6436 70.9025 77.9969 69.7303 77.9969 69.1693C77.9969 68.6083 77.6436 67.4361 74.885 66.2361C72.2466 65.0884 68.3151 64.3976 63.6819 64.3976C59.0487 64.3976 55.1172 65.0884 52.4788 66.2361Z" fill="white"/> -</svg> diff --git a/ydb/docs/_assets/ydb-promo-video.png b/ydb/docs/_assets/ydb-promo-video.png Binary files differdeleted file mode 100644 index d938de797a..0000000000 --- a/ydb/docs/_assets/ydb-promo-video.png +++ /dev/null diff --git a/ydb/docs/_includes/go/auth-static-database-sql.md b/ydb/docs/_includes/go/auth-static-database-sql.md deleted file mode 100644 index 9f3173dcbc..0000000000 --- a/ydb/docs/_includes/go/auth-static-database-sql.md +++ /dev/null @@ -1,18 +0,0 @@ -```go -package main - -import ( - "context" - - _ "github.com/ydb-platform/ydb-go-sdk/v3" -) - -func main() { - db, err := sql.Open("ydb", "grpcs://login:password@localohost:2135/local") - if err != nil { - panic(err) - } - defer db.Close() - ... -} -``` diff --git a/ydb/docs/_includes/go/auth-static-with-database-sql.md b/ydb/docs/_includes/go/auth-static-with-database-sql.md deleted file mode 100644 index cb773bf8ec..0000000000 --- a/ydb/docs/_includes/go/auth-static-with-database-sql.md +++ /dev/null @@ -1,30 +0,0 @@ -```go -package main - -import ( - "context" - "os" - - "github.com/ydb-platform/ydb-go-sdk/v3" -) - -func main() { - ctx, cancel := context.WithCancel(context.Background()) - defer cancel() - nativeDriver, err := ydb.Open(ctx, - os.Getenv("YDB_CONNECTION_STRING"), - ydb.WithStaticCredentials("user", "password"), - ) - if err != nil { - panic(err) - } - defer nativeDriver.Close(ctx) - connector, err := ydb.Connector(nativeDriver) - if err != nil { - panic(err) - } - db := sql.OpenDB(connector) - defer db.Close() - ... -} -``` diff --git a/ydb/docs/_includes/go/auth-static-with-native.md b/ydb/docs/_includes/go/auth-static-with-native.md deleted file mode 100644 index 0102f8984e..0000000000 --- a/ydb/docs/_includes/go/auth-static-with-native.md +++ /dev/null @@ -1,24 +0,0 @@ -```go -package main - -import ( - "context" - "os" - - "github.com/ydb-platform/ydb-go-sdk/v3" -) - -func main() { - ctx, cancel := context.WithCancel(context.Background()) - defer cancel() - db, err := ydb.Open(ctx, - os.Getenv("YDB_CONNECTION_STRING"), - ydb.WithStaticCredentials("user", "password"), - ) - if err != nil { - panic(err) - } - defer db.Close(ctx) - ... -} -``` diff --git a/ydb/docs/_includes/nodejs/auth-access-token.md b/ydb/docs/_includes/nodejs/auth-access-token.md deleted file mode 100644 index b3dcf825a8..0000000000 --- a/ydb/docs/_includes/nodejs/auth-access-token.md +++ /dev/null @@ -1,15 +0,0 @@ -```typescript -import { Driver, TokenAuthService } from 'ydb-sdk'; - -export async function connect(endpoint: string, database: string, accessToken: string) { - const authService = new TokenAuthService(accessToken); - const driver = new Driver({endpoint, database, authService}); - const timeout = 10000; - if (!await driver.ready(timeout)) { - console.log(`Driver has not become ready in ${timeout}ms!`); - process.exit(1); - } - console.log('Driver connected') - return driver -} -``` diff --git a/ydb/docs/_includes/nodejs/auth-anonymous.md b/ydb/docs/_includes/nodejs/auth-anonymous.md deleted file mode 100644 index 2741bd3a6d..0000000000 --- a/ydb/docs/_includes/nodejs/auth-anonymous.md +++ /dev/null @@ -1,15 +0,0 @@ -```typescript -import { Driver, AnonymousAuthService } from 'ydb-sdk'; - -export async function connect(endpoint: string, database: string) { - const authService = new AnonymousAuthService(); - const driver = new Driver({endpoint, database, authService}); - const timeout = 10000; - if (!await driver.ready(timeout)) { - console.log(`Driver has not become ready in ${timeout}ms!`); - process.exit(1); - } - console.log('Driver connected') - return driver -} -``` diff --git a/ydb/docs/_includes/nodejs/auth-env.md b/ydb/docs/_includes/nodejs/auth-env.md deleted file mode 100644 index ef828d85eb..0000000000 --- a/ydb/docs/_includes/nodejs/auth-env.md +++ /dev/null @@ -1,15 +0,0 @@ -```typescript -import { Driver, getCredentialsFromEnv } from 'ydb-sdk'; - -export async function connect(endpoint: string, database: string) { - const authService = getCredentialsFromEnv(); - const driver = new Driver({endpoint, database, authService}); - const timeout = 10000; - if (!await driver.ready(timeout)) { - console.log(`Driver has not become ready in ${timeout}ms!`); - process.exit(1); - } - console.log('Driver connected') - return driver -} -``` diff --git a/ydb/docs/_includes/nodejs/auth-metadata.md b/ydb/docs/_includes/nodejs/auth-metadata.md deleted file mode 100644 index 49ad89741b..0000000000 --- a/ydb/docs/_includes/nodejs/auth-metadata.md +++ /dev/null @@ -1,15 +0,0 @@ -```typescript -import { Driver, MetadataAuthService } from 'ydb-sdk'; - -export async function connect(endpoint: string, database: string) { - const authService = new MetadataAuthService(); - const driver = new Driver({endpoint, database, authService}); - const timeout = 10000; - if (!await driver.ready(timeout)) { - console.log(`Driver has not become ready in ${timeout}ms!`); - process.exit(1); - } - console.log('Driver connected') - return driver -} -``` diff --git a/ydb/docs/_includes/nodejs/auth-sa-data.md b/ydb/docs/_includes/nodejs/auth-sa-data.md deleted file mode 100644 index c9a75197ed..0000000000 --- a/ydb/docs/_includes/nodejs/auth-sa-data.md +++ /dev/null @@ -1,22 +0,0 @@ -```typescript -import { Driver, IamAuthService } from 'ydb-sdk'; -import { IIamCredentials } from 'ydb-sdk/build/cjs/src/credentials'; - -export async function connect(endpoint: string, database: string) { - const saCredentials: IIamCredentials = { - serviceAccountId: 'serviceAccountId', - accessKeyId: 'accessKeyId', - privateKey: Buffer.from('-----BEGIN PRIVATE KEY-----\nyJ1yFwJq...'), - iamEndpoint: 'iam.api.cloud.yandex.net:443', - }; - const authService = new IamAuthService(saCredentials); - const driver = new Driver({endpoint, database, authService}); - const timeout = 10000; - if (!await driver.ready(timeout)) { - console.log(`Driver has not become ready in ${timeout}ms!`); - process.exit(1); - } - console.log('Driver connected') - return driver -} -``` diff --git a/ydb/docs/_includes/nodejs/auth-sa-file.md b/ydb/docs/_includes/nodejs/auth-sa-file.md deleted file mode 100644 index 2531dd0365..0000000000 --- a/ydb/docs/_includes/nodejs/auth-sa-file.md +++ /dev/null @@ -1,16 +0,0 @@ -```typescript -import { Driver, getSACredentialsFromJson, IamAuthService } from 'ydb-sdk'; - -export async function connect(endpoint: string, database: string, serviceAccountFilename: string) { - const saCredentials = getSACredentialsFromJson(serviceAccountFilename); - const authService = new IamAuthService(saCredentials); - const driver = new Driver({endpoint, database, authService}); - const timeout = 10000; - if (!await driver.ready(timeout)) { - console.log(`Driver has not become ready in ${timeout}ms!`); - process.exit(1); - } - console.log('Driver connected') - return driver -} -``` diff --git a/ydb/docs/_includes/nodejs/auth-static.md b/ydb/docs/_includes/nodejs/auth-static.md deleted file mode 100644 index 932d2d2814..0000000000 --- a/ydb/docs/_includes/nodejs/auth-static.md +++ /dev/null @@ -1,17 +0,0 @@ -```typescript -import { Driver, StaticCredentialsAuthService } from 'ydb-sdk'; - -export async function connect(endpoint: string, database: string, user: string, password: string) { - const authService = new StaticCredentialsAuthService(user, password, endpoint, { - tokenExpirationTimeout: 20000, - }) - const driver = new Driver({endpoint, database, authService}); - const timeout = 10000; - if (!await driver.ready(timeout)) { - console.log(`Driver has not become ready in ${timeout}ms!`); - process.exit(1); - } - console.log('Driver connected') - return driver -} -``` diff --git a/ydb/docs/_includes/python/async/auth-access-token.md b/ydb/docs/_includes/python/async/auth-access-token.md deleted file mode 100644 index 22c7f3ba03..0000000000 --- a/ydb/docs/_includes/python/async/auth-access-token.md +++ /dev/null @@ -1,16 +0,0 @@ -```python -import os -import ydb -import asyncio - -async def ydb_init(): - async with ydb.aio.Driver( - endpoint=os.environ["YDB_ENDPOINT"], - database=os.environ["YDB_DATABASE"], - credentials=ydb.credentials.AccessTokenCredentials(os.environ["YDB_TOKEN"]), - ) as driver: - await driver.wait() - ... - -asyncio.run(ydb_init()) -``` diff --git a/ydb/docs/_includes/python/async/auth-anonymous.md b/ydb/docs/_includes/python/async/auth-anonymous.md deleted file mode 100644 index 1e2b118a34..0000000000 --- a/ydb/docs/_includes/python/async/auth-anonymous.md +++ /dev/null @@ -1,16 +0,0 @@ -```python -import os -import ydb -import asyncio - -async def ydb_init(): - async with ydb.aio.Driver( - endpoint=os.environ["YDB_ENDPOINT"], - database=os.environ["YDB_DATABASE"], - credentials=ydb.credentials.AnonymousCredentials(), - ) as driver: - await driver.wait() - ... - -asyncio.run(ydb_init()) -``` diff --git a/ydb/docs/_includes/python/async/auth-env.md b/ydb/docs/_includes/python/async/auth-env.md deleted file mode 100644 index 9d3e9141e4..0000000000 --- a/ydb/docs/_includes/python/async/auth-env.md +++ /dev/null @@ -1,16 +0,0 @@ -```python -import os -import ydb -import asyncio - -async def ydb_init(): - async with ydb.aio.Driver( - endpoint=os.environ["YDB_ENDPOINT"], - database=os.environ["YDB_DATABASE"], - credentials=ydb.credentials_from_env_variables(), - ) as driver: - await driver.wait() - ... - -asyncio.run(ydb_init()) -``` diff --git a/ydb/docs/_includes/python/async/auth-metadata.md b/ydb/docs/_includes/python/async/auth-metadata.md deleted file mode 100644 index 21e89e6090..0000000000 --- a/ydb/docs/_includes/python/async/auth-metadata.md +++ /dev/null @@ -1,17 +0,0 @@ -```python -import os -import ydb -import ydb.iam -import asyncio - -async def ydb_init(): - async with ydb.aio.Driver( - endpoint=os.environ["YDB_ENDPOINT"], - database=os.environ["YDB_DATABASE"], - credentials=ydb.iam.MetadataUrlCredentials(), - ) as driver: - await driver.wait() - ... - -asyncio.run(ydb_init()) -``` diff --git a/ydb/docs/_includes/python/async/auth-service-account.md b/ydb/docs/_includes/python/async/auth-service-account.md deleted file mode 100644 index 6c814bdbf3..0000000000 --- a/ydb/docs/_includes/python/async/auth-service-account.md +++ /dev/null @@ -1,19 +0,0 @@ -```python -import os -import asyncio -import ydb -import ydb.iam - -async def ydb_init(): - async with ydb.aio.Driver( - endpoint=os.environ["YDB_ENDPOINT"], - database=os.environ["YDB_DATABASE"], - # service account key should be in the local file, - # and SA_KEY_FILE environment variable should point to it - credentials=ydb.iam.ServiceAccountCredentials.from_file(os.environ["SA_KEY_FILE"]), - ) as driver: - await driver.wait() - ... - -asyncio.run(ydb_init()) -``` diff --git a/ydb/docs/_includes/python/async/auth-static.md b/ydb/docs/_includes/python/async/auth-static.md deleted file mode 100644 index a21744d9ae..0000000000 --- a/ydb/docs/_includes/python/async/auth-static.md +++ /dev/null @@ -1,23 +0,0 @@ -```python -import os -import ydb -import asyncio - -config = ydb.DriverConfig( - endpoint=os.environ["YDB_ENDPOINT"], - database=os.environ["YDB_DATABASE"], -) - -credentials = ydb.StaticCredentials( - driver_config=config, - user=os.environ["YDB_USER"], - password=os.environ["YDB_PASSWORD"], -) - -async def ydb_init(): - async with ydb.aio.Driver(driver_config=config, credentials=credentials) as driver: - await driver.wait() - ... - -asyncio.run(ydb_init()) -``` diff --git a/ydb/docs/_includes/python/auth-access-token.md b/ydb/docs/_includes/python/auth-access-token.md deleted file mode 100644 index 51840722fd..0000000000 --- a/ydb/docs/_includes/python/auth-access-token.md +++ /dev/null @@ -1,11 +0,0 @@ -```python -import os -import ydb - -with ydb.Driver( - connection_string=os.environ["YDB_CONNECTION_STRING"], - credentials=ydb.credentials.AccessTokenCredentials(os.environ["YDB_TOKEN"]), -) as driver: - driver.wait(timeout=5) - ... -``` diff --git a/ydb/docs/_includes/python/auth-anonymous.md b/ydb/docs/_includes/python/auth-anonymous.md deleted file mode 100644 index 80cd59fe0d..0000000000 --- a/ydb/docs/_includes/python/auth-anonymous.md +++ /dev/null @@ -1,11 +0,0 @@ -```python -import os -import ydb - -with ydb.Driver( - connection_string=os.environ["YDB_CONNECTION_STRING"], - credentials=ydb.credentials.AnonymousCredentials(), -) as driver: - driver.wait(timeout=5) - ... -``` diff --git a/ydb/docs/_includes/python/auth-env.md b/ydb/docs/_includes/python/auth-env.md deleted file mode 100644 index 94dd0945c1..0000000000 --- a/ydb/docs/_includes/python/auth-env.md +++ /dev/null @@ -1,11 +0,0 @@ -```python -import os -import ydb - -with ydb.Driver( - connection_string=os.environ["YDB_CONNECTION_STRING"], - credentials=ydb.credentials_from_env_variables(), -) as driver: - driver.wait(timeout=5) - ... -``` diff --git a/ydb/docs/_includes/python/auth-metadata.md b/ydb/docs/_includes/python/auth-metadata.md deleted file mode 100644 index 48c7e7d9c6..0000000000 --- a/ydb/docs/_includes/python/auth-metadata.md +++ /dev/null @@ -1,12 +0,0 @@ -```python -import os -import ydb -import ydb.iam - -with ydb.Driver( - connection_string=os.environ["YDB_CONNECTION_STRING"], - credentials=ydb.iam.MetadataUrlCredentials(), -) as driver: - driver.wait(timeout=5) - ... -``` diff --git a/ydb/docs/_includes/python/auth-service-account.md b/ydb/docs/_includes/python/auth-service-account.md deleted file mode 100644 index f2f32fdcdb..0000000000 --- a/ydb/docs/_includes/python/auth-service-account.md +++ /dev/null @@ -1,14 +0,0 @@ -```python -import os -import ydb -import ydb.iam - -with ydb.Driver( - connection_string=os.environ["YDB_CONNECTION_STRING"], - # service account key should be in the local file, - # and SA_KEY_FILE environment variable should point to it - credentials=ydb.iam.ServiceAccountCredentials.from_file(os.environ["SA_KEY_FILE"]), -) as driver: - driver.wait(timeout=5) - ... -``` diff --git a/ydb/docs/_includes/python/auth-static.md b/ydb/docs/_includes/python/auth-static.md deleted file mode 100644 index c486d9c4b5..0000000000 --- a/ydb/docs/_includes/python/auth-static.md +++ /dev/null @@ -1,19 +0,0 @@ -```python -import os -import ydb - -config = ydb.DriverConfig( - endpoint=os.environ["YDB_ENDPOINT"], - database=os.environ["YDB_DATABASE"], -) - -credentials = ydb.StaticCredentials( - driver_config=config, - user=os.environ["YDB_USER"], - password=os.environ["YDB_PASSWORD"] -) - -with ydb.Driver(driver_config=config, credentials=credentials) as driver: - driver.wait(timeout=5) - ... -``` diff --git a/ydb/docs/a.yaml b/ydb/docs/a.yaml deleted file mode 100644 index 65ef679da8..0000000000 --- a/ydb/docs/a.yaml +++ /dev/null @@ -1,107 +0,0 @@ -title: Deploy YDB OSS docs -# slug вашего сервиса в ABC. Его можно узнать из url страницы -# вашего сервиса в ABC, например для адреса -# https://abc.yandex-team.ru/services/market/, market - это slug -service: kikimr - -arcanum: - review: - min_approvers_count: 1 - ignore_self_ship: true - disable_sticky_ships: true - auto_assign: false - groups: - - name: kikimr - roles: - - "kikimr:@scope=development" - - "kikimr:@scope=administration" - - "kikimr:@scope=projects_management" - - "edition_90_ydb_cs:@scope=content" - rules: - - reviewers: - name: kikimr - ship: 1 - -ci: - permissions: - start-flow: - - service: edition_90_ydb_cs - - service: kikimr - secret: sec-01g3rbfrx24zvmxgqq6yb0ye1b # id секрета, созданного на шаге 1 - runtime: - # Sandbox-группа (https://sandbox.yandex-team.ru/admin/groups), - # в которую должен входить ваш робот - # Создать группу можно по инструкции https://docs.yandex-team.ru/sandbox/groups - sandbox: - owner: YDB-DOCS-CI - # Настройки уведомлений при падении сборки (https://docs.yandex-team.ru/ci/runtime) - notifications: - - statuses: FAILURE - transport: email # доступные транспорты: telegram, email, jabber, q - # логины сотрудников, Sandbox-группы, рассылки (рассылки только для email уведомлений) и др. - recipients: YDB-DOCS-CI - actions: - # определение экшена, который будет вызван при пулл-реквесте, - # затрагивающим вашу документацию - docs: - title: Deploy docs - flow: deploy-pr-docs - triggers: - - on: pr - releases: - release-docs: - title: Release YDB internal, tech and corp docs - flow: release-docs - auto: true - filters: - - sub-paths: ['**'] - - abs-paths: [kikimr/docs/**, kikimr/docs-corp/**] - - stages: - - id: build - title: Build - displace: true - - id: testing - title: Testing - displace: true - - id: stable - title: Stable - - flows: - deploy-pr-docs: - jobs: - deploy: - title: Deploy docs - task: common/docs/deploy - input: - targets: kikimr/docs/ru/docs_oss;kikimr/docs/ru/docs_tech;kikimr/docs/ru/docs_yfm;kikimr/docs-corp # путь до вашего проекта от корня Аркадии - arcanum_review_id: ${context.launch_pull_request_info.pull_request.id} - notify: true # отставлять комментарий к ПР с ссылкой на выложенную документацию - - release-docs: - jobs: - deploy: - title: Deploy docs - task: common/docs/deploy - stage: build - input: - targets: kikimr/docs/ru/docs_tech;kikimr/docs/ru/docs_yfm # путь до вашего проекта от корня Аркадии - - release-to-testing: - title: Release docs to testing - task: common/docs/release - needs: deploy - stage: testing - input: - projects: ${tasks.deploy.output_params.projects} - environments: testing - - release-to-stable: - title: Release docs to stable - task: common/docs/release - needs: release-to-testing - manual: false - stage: stable - input: - projects: ${tasks.deploy.output_params.projects} - environments: production diff --git a/ydb/docs/build.sh b/ydb/docs/build.sh deleted file mode 100755 index c47c0eb8e6..0000000000 --- a/ydb/docs/build.sh +++ /dev/null @@ -1,47 +0,0 @@ -# Use this script to build YDB docs with Open Source tools and start HTTP server -# You may specify output directory as a parameter. If omitted, docs will be generated to a TEMP subdirectory -# - -echo Checking YFM installed... -yfm --version -if [[ $? -ge 1 ]]; then - echo - echo "You need to have YFM builder (https://ydocs.tech/en/tools/docs/) installed to run this script, exiting" - exit -fi - -echo Checking Python3 installed... -python3 --version - -if [[ $? -ge 1 ]]; then - echo - echo "You need to have Python3 (https://www.python.org/) installed to run this script, exiting" - exit -fi - -DIR=${1:-"$TMPDIR"docs} - -echo Starting YFM builder -echo Output directory: $DIR - -yfm -i . -o $DIR --allowHTML - -if [[ $? -ge 1 ]]; then - echo - echo ================================ - echo YFM build completed with ERRORS! - echo ================================ -fi - -echo -echo Starting HTTP server, open the links in your browser: -echo -echo "- http://localhost:8888/en (English)" -echo "- http://localhost:8888/ru (Russian)" -echo -echo Press Ctrl+C in this window to stop the HTTP server. -echo - -python3 -m http.server 8888 -d $DIR - - diff --git a/ydb/docs/en/overlay/toc_p.yaml b/ydb/docs/en/overlay/toc_p.yaml deleted file mode 100644 index b3bc4402e0..0000000000 --- a/ydb/docs/en/overlay/toc_p.yaml +++ /dev/null @@ -1,4 +0,0 @@ -title: YDB -href: index.yaml -items: -- include: { mode: link, path: toc_i.yaml }
\ No newline at end of file diff --git a/ydb/docs/en/presets.yaml b/ydb/docs/en/presets.yaml deleted file mode 100644 index fb77c1ff9b..0000000000 --- a/ydb/docs/en/presets.yaml +++ /dev/null @@ -1,3 +0,0 @@ -default: - lang: en -# link-console-main: https://console.cloud.yandex.com diff --git a/ydb/docs/en/toc.yaml b/ydb/docs/en/toc.yaml deleted file mode 100644 index a16b8c9b3c..0000000000 --- a/ydb/docs/en/toc.yaml +++ /dev/null @@ -1,3 +0,0 @@ -title: YDB -items: -- include: { mode: merge, path: core/toc_m.yaml }
\ No newline at end of file diff --git a/ydb/docs/file.tmp b/ydb/docs/file.tmp deleted file mode 100644 index c46929b72b..0000000000 --- a/ydb/docs/file.tmp +++ /dev/null @@ -1 +0,0 @@ -post slonn-vm http:// diff --git a/ydb/docs/presets.yaml b/ydb/docs/presets.yaml deleted file mode 100644 index 807f8c2f6d..0000000000 --- a/ydb/docs/presets.yaml +++ /dev/null @@ -1,50 +0,0 @@ -default: - tech: false # Include technical info for developers of services supporting YQL (like YDB), not for users of those services. For instance, debug pragmas. - backend_name: YDB - backend_name_lower: ydb - ydb: true - example_cluster: ydbtest - feature_secondary_index: true - feature_changefeed: true - feature_replace: true - feature_upsert: true - feature_join: true - feature_map_tables: true - feature_group_by_rollup_cube: true - feature_window_functions: true - feature_user_and_group: true - feature_olap_tables: true - feature_topic_control_plane: true - feature_federated_queries: true -# feature_topic_settings_reset: true -# feature_logbroker: true - ydb-full-name: YDB - ydb-short-name: YDB - yandex-cloud: Yandex.Cloud - ydb-name: YDB - objstorage-full-name: Yandex Object Storage - sf-name: Cloud Functions - concept_secondary_index: ../../../../concepts/secondary_indexes - concept_table: ../../../../concepts/datamodel/table - ydb-binaries-url: https://binaries.ydb.tech - ydbd-install-url: https://install.ydb.tech - ydb-cli-install-url: https://install.ydb.tech/cli - ydb-stable-binary-archive: ydbd-stable-linux-amd64.tar.gz - ydb_local_docker_image: cr.yandex/yc/yandex-docker-local-ydb - ydb_local_docker_image_tag: latest - managed-k8s-full-name: Yandex Managed Service for Kubernetes - managed-k8s-name: Managed Service for Kubernetes - s3-storage-host: s3.mds.yandex.net - objstorage-name: Object Storage - ydb-cli: ydb - k8s: Kubernetes - quickstart-path: ../../../../getting_started/quickstart.md - oss: true - feature_not_null_for_pk: true - ydb_non_deterministic_functions: true - - ydb-doc-repo: https://github.com/ydb-platform/ydb/tree/main/ydb/docs - - corporate-paste: https://www.paste.example.com - corporate-yt: https://www.yt.example.com - corporate-yt-cluster: example-cluster diff --git a/ydb/docs/redirects.yaml b/ydb/docs/redirects.yaml deleted file mode 100644 index fd37150a4b..0000000000 --- a/ydb/docs/redirects.yaml +++ /dev/null @@ -1,23 +0,0 @@ -common: - - from: /reference/ydb-cli/table-ttl-drop.md - to: /reference/ydb-cli/table-ttl-reset.md - - from: changelog.md - to: changelog-server.md - - from: /administration/quickstart.md - to: /getting_started/quickstart.md - - from: /getting_started/create_db.md - to: /getting_started/quickstart.md - - from: /getting_started/auth.md - to: /concepts/auth.md - - from: /getting_started/cli.md - to: /reference/ydb-cli/index.md - - from: /getting_started/sdk.md - to: /reference/ydb-sdk/index.md - - from: /ops/devslice-user-guide-k8s-baremetal-host.md - to: /ops/devslice-setup-kikimr-slice.md - -ru: - - from: /concepts/column-table.md - to: /concepts/datamodel/table.md - - from: /postgresql/index.md - to: /postgresql/intro.md diff --git a/ydb/docs/ru/overlay/toc_p.yaml b/ydb/docs/ru/overlay/toc_p.yaml deleted file mode 100644 index 760216782b..0000000000 --- a/ydb/docs/ru/overlay/toc_p.yaml +++ /dev/null @@ -1,4 +0,0 @@ -title: YDB -href: index.yaml -items: -- include: { mode: link, path: toc_i.yaml } diff --git a/ydb/docs/ru/presets.yaml b/ydb/docs/ru/presets.yaml deleted file mode 100644 index b569fea50a..0000000000 --- a/ydb/docs/ru/presets.yaml +++ /dev/null @@ -1,3 +0,0 @@ -default: - lang: ru - # link-console-main: https://console.cloud.yandex.ru diff --git a/ydb/docs/ru/toc.yaml b/ydb/docs/ru/toc.yaml deleted file mode 100644 index a16b8c9b3c..0000000000 --- a/ydb/docs/ru/toc.yaml +++ /dev/null @@ -1,3 +0,0 @@ -title: YDB -items: -- include: { mode: merge, path: core/toc_m.yaml }
\ No newline at end of file |