1- import { themes as prismThemes } from 'prism-react-renderer' ;
2- import type { Config } from '@docusaurus/types' ;
1+ import { themes as prismThemes } from 'prism-react-renderer' ;
2+ import type { Config } from '@docusaurus/types' ;
33import type * as Preset from '@docusaurus/preset-classic' ;
44
55const config : Config = {
@@ -22,6 +22,12 @@ const config: Config = {
2222 locales : [ 'ru' ] ,
2323 } ,
2424
25+ plugins : [
26+ [ 'docusaurus-plugin-yandex-metrica' , {
27+ counterID : '106859682' ,
28+ } ] ,
29+ ] ,
30+
2531 presets : [
2632 [
2733 'classic' ,
@@ -34,13 +40,6 @@ const config: Config = {
3440 editUrl :
3541 'https://github.com/whytrall/is-faq/blob/master/' ,
3642 } ,
37- /*blog: {
38- showReadingTime: true,
39- // Please change this to your repo.
40- // Remove this to remove the "edit this page" links.
41- editUrl:
42- 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
43- },*/
4443 theme : {
4544 customCss : './src/css/custom.css' ,
4645 } ,
@@ -49,20 +48,13 @@ const config: Config = {
4948 ] ,
5049
5150 themeConfig : {
52- //image: 'img/docusaurus-social-card.jpg',
5351 navbar : {
5452 title : 'FAQ' ,
5553 logo : {
5654 alt : 'ИС' ,
5755 src : '/is-faq.png' ,
5856 } ,
5957 items : [
60- /*{
61- type: 'docSidebar',
62- sidebarId: 'tutorialSidebar',
63- position: 'left',
64- label: 'Tutorial',
65- },*/
6658 {
6759 href : 'https://github.com/whytrall/is-faq' ,
6860 label : 'GitHub' ,
@@ -72,29 +64,6 @@ const config: Config = {
7264 } ,
7365 footer : {
7466 style : 'light' ,
75- links : [
76- /*{
77- title: 'Полезные ссылки',
78- items: [
79- {
80- label: 'Сайт факультета',
81- to: 'https://fitp.itmo.ru',
82- },
83- {
84- label: 'Студенческий офис',
85- to: 'https://student.itmo.ru'
86- },
87- {
88- label: 'Абитуриент ИТМО',
89- to: 'https://abit.itmo.ru'
90- },
91- {
92- label: 'ИТМО',
93- to: 'https://itmo.ru'
94- },
95- ],
96- }*/
97- ] ,
9867 copyright : `IS FAQ 2019 – ${ new Date ( ) . getFullYear ( ) } ` ,
9968 } ,
10069 prism : {
0 commit comments