Skip to content

Commit 145353f

Browse files
committed
add gtm analytics
1 parent a3d8321 commit 145353f

12 files changed

+2307
-6096
lines changed

.github/workflows/build.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
node-version: 18
1919
cache: 'npm'
2020
- run: npm ci
21-
- run: npm run pre-build
2221
- run: npm run build
23-
- run: npm run post-build
2422
- run: echo "DATE=$(date -Im | sed 's|:|_|g' | sed 's|+|__|g')" >> $GITHUB_ENV
2523
- run: echo "DATE_RELEASE=$(date -Im)" >> $GITHUB_ENV
2624
- uses: thedoctor0/[email protected]

.yfm-dltech

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
allowHTML: true
22
staticContent: true
33
addSystemMeta: true
4-
lang: ru
54
assetsPublicPath: /docs
5+
lang: ru
6+
langs:
7+
- ru
8+
- en
9+
analytics:
10+
gtm:
11+
id: 'GTM-PBP3P5LB'
12+
mode: 'notification'

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Our documentation is developed using [Yandex Flavored Markdown](https://diplodoc
1515
Pre-build script for prepare navigation and up datalens docs to root level.
1616

1717
```bash
18-
npm run pre-build
18+
npm run prebuild
1919
```
2020

2121
Build .md doc sources into .html static files.
@@ -26,7 +26,7 @@ npm run build
2626
Post-build script for fixing metadata tags and adding headers.
2727

2828
```bash
29-
npm run post-build
29+
npm run postbuild
3030
```
3131

3232
## Deployment

assets/icon/flag-en.svg

+1
Loading

assets/icon/flag-ru.svg

+1
Loading

assets/icon/github.svg

+1-1
Loading

assets/icon/lang.svg

+1-6
Loading

assets/navigation.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ navigation:
77
icon: '/docs/en/_assets/icon/logo.svg'
88
header:
99
rightItems:
10-
- type: 'button'
11-
img: '/docs/en/_assets/icon/lang.svg'
12-
theme: 'flat'
13-
text: '{{lang_title}}'
1410
- type: 'button'
1511
img: '/docs/en/_assets/icon/github.svg'
1612
theme: 'flat'
1713
text: 'GitHub'
14+
url: 'https://github.com/datalens-tech/datalens'
1815
- type: controls

0 commit comments

Comments
 (0)