Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 8 additions & 39 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import { themes as prismThemes } from 'prism-react-renderer';
import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';

const config: Config = {
Expand All @@ -22,6 +22,12 @@ const config: Config = {
locales: ['ru'],
},

plugins: [
['docusaurus-plugin-yandex-metrica', {
counterID: '106859682',
}],
],

presets: [
[
'classic',
Expand All @@ -34,13 +40,6 @@ const config: Config = {
editUrl:
'https://github.com/whytrall/is-faq/blob/master/',
},
/*blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
},*/
theme: {
customCss: './src/css/custom.css',
},
Expand All @@ -49,20 +48,13 @@ const config: Config = {
],

themeConfig: {
//image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'FAQ',
logo: {
alt: 'ИС',
src: '/is-faq.png',
},
items: [
/*{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Tutorial',
},*/
{
href: 'https://github.com/whytrall/is-faq',
label: 'GitHub',
Expand All @@ -72,29 +64,6 @@ const config: Config = {
},
footer: {
style: 'light',
links: [
/*{
title: 'Полезные ссылки',
items: [
{
label: 'Сайт факультета',
to: 'https://fitp.itmo.ru',
},
{
label: 'Студенческий офис',
to: 'https://student.itmo.ru'
},
{
label: 'Абитуриент ИТМО',
to: 'https://abit.itmo.ru'
},
{
label: 'ИТМО',
to: 'https://itmo.ru'
},
],
}*/
],
copyright: `IS FAQ 2019 – ${new Date().getFullYear()}`,
},
prism: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@docusaurus/preset-classic": "3.4.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"docusaurus-plugin-yandex-metrica": "^1.2.1",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
Expand Down
Loading