diff --git a/.env.base b/.env.base index 1a5da4f63..118bb74e0 100644 --- a/.env.base +++ b/.env.base @@ -5,7 +5,7 @@ HOST_NAME=localhost #для LINUX PROJECT_DIR=$(cd $(dirname $(readlink -e $0)) && pwd) # Windows -PROJECT_DIR=$(cygpath -w "$(cd "$(dirname "$(readlink -f "$0")")" && pwd)") +# PROJECT_DIR=$(cygpath -w "$(cd "$(dirname "$(readlink -f "$0")")" && pwd)") # Директория с кодом приложения SOURCE_DIR=${PROJECT_DIR}/src diff --git a/compose b/compose old mode 100644 new mode 100755 diff --git a/documentation/.gitignore b/documentation/.gitignore deleted file mode 100644 index 102ae6e4b..000000000 --- a/documentation/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/docs/.vitepress/cache/ -/node_modules/ -/docs/public/ \ No newline at end of file diff --git a/documentation/babel.config.cjs b/documentation/babel.config.cjs deleted file mode 100644 index a2827f578..000000000 --- a/documentation/babel.config.cjs +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - presets: ['@babel/preset-env', '@babel/preset-modules'], - plugins: ['@babel/plugin-transform-runtime'], -}; diff --git a/documentation/docs/.vitepress/config.mjs b/documentation/docs/.vitepress/config.mjs deleted file mode 100644 index 4753a892d..000000000 --- a/documentation/docs/.vitepress/config.mjs +++ /dev/null @@ -1,708 +0,0 @@ -import { withMermaid } from 'vitepress-plugin-mermaid'; - -export default withMermaid({ - themeConfig: { - search: { - provider: 'local' - }, - sidebar: [ - { - text: 'Структура', - collapsed: false, - items: [ - { - "text": "App", - "link": "/src/App" - }, - { - "text": "components", - "collapsed": true, - "items": [ - { - "text": "CountDown", - "link": "/src/components/CountDown" - }, - { - "text": "UI", - "collapsed": true, - "items": [ - { - "text": "Auth-form", - "link": "/src/components/UI/Auth-form" - }, - { - "text": "NewsCard", - "link": "/src/components/UI/NewsCard" - }, - { - "text": "PatternTabs", - "link": "/src/components/UI/PatternTabs" - }, - { - "text": "Timer", - "link": "/src/components/UI/Timer" - }, - { - "text": "aboutportal", - "collapsed": true, - "items": [ - { - "text": "card-feedback", - "link": "/src/components/UI/aboutportal/card-feedback" - }, - { - "text": "card-top-comment", - "link": "/src/components/UI/aboutportal/card-top-comment" - }, - { - "text": "card-total", - "link": "/src/components/UI/aboutportal/card-total" - }, - { - "text": "card_top_comment", - "collapsed": true, - "items": [ - { - "text": "card-comment", - "link": "/src/components/UI/aboutportal/card_top_comment/card-comment" - } - ] - }, - { - "text": "feedmodul", - "link": "/src/components/UI/aboutportal/feedmodul" - }, - { - "text": "line-chart", - "link": "/src/components/UI/aboutportal/line-chart" - }, - { - "text": "pattern-card-feed", - "link": "/src/components/UI/aboutportal/pattern-card-feed" - }, - { - "text": "pattern-card", - "link": "/src/components/UI/aboutportal/pattern-card" - }, - { - "text": "portal-traffic", - "link": "/src/components/UI/aboutportal/portal-traffic" - }, - { - "text": "rating-page", - "link": "/src/components/UI/aboutportal/rating-page" - }, - { - "text": "toolbar-filter", - "link": "/src/components/UI/aboutportal/toolbar-filter" - }, - { - "text": "tooltip-ico", - "link": "/src/components/UI/aboutportal/tooltip-ico" - }, - { - "text": "tooltip-user", - "link": "/src/components/UI/aboutportal/tooltip-user" - }, - { - "text": "top-user", - "link": "/src/components/UI/aboutportal/top-user" - } - ] - }, - { - "text": "date-select", - "link": "/src/components/UI/date-select" - }, - { - "text": "defaultportal", - "collapsed": true, - "items": [ - { - "text": "page-counter", - "link": "/src/components/UI/defaultportal/page-counter" - }, - { - "text": "uploading-file", - "link": "/src/components/UI/defaultportal/uploading-file" - } - ] - }, - { - "text": "feedback", - "collapsed": true, - "items": [ - { - "text": "feedstar-like", - "link": "/src/components/UI/feedback/feedstar-like" - }, - { - "text": "statistik-like", - "link": "/src/components/UI/feedback/statistik-like" - } - ] - }, - { - "text": "fiousercard", - "collapsed": true, - "items": [ - { - "text": "icoUser", - "link": "/src/components/UI/fiousercard/icoUser" - }, - { - "text": "infoUserCard", - "link": "/src/components/UI/fiousercard/infoUserCard" - }, - { - "text": "listUser", - "link": "/src/components/UI/fiousercard/listUser" - }, - { - "text": "onlineUsers", - "link": "/src/components/UI/fiousercard/onlineUsers" - }, - { - "text": "vcardUser", - "link": "/src/components/UI/fiousercard/vcardUser" - } - ] - }, - { - "text": "index", - "link": "/src/components/UI/index" - }, - { - "text": "my-helper", - "link": "/src/components/UI/my-helper" - }, - { - "text": "tooltip-number", - "link": "/src/components/UI/tooltip-number" - }, - { - "text": "tooltip-text", - "link": "/src/components/UI/tooltip-text" - } - ] - }, - { - "text": "about_inspection", - "collapsed": true, - "items": [ - { - "text": "contacts", - "collapsed": true, - "items": [ - { - "text": "ContactInfo", - "link": "/src/components/about_inspection/contacts/ContactInfo" - } - ] - }, - { - "text": "general_information", - "collapsed": true, - "items": [ - { - "text": "GeneralInformation", - "link": "/src/components/about_inspection/general_information/GeneralInformation" - }, - { - "text": "GeneralInformationSize", - "link": "/src/components/about_inspection/general_information/GeneralInformationSize" - } - ] - }, - { - "text": "open_vacancies", - "collapsed": true, - "items": [ - { - "text": "OpenVacancies", - "link": "/src/components/about_inspection/open_vacancies/OpenVacancies" - }, - { - "text": "ResponseVacancies", - "link": "/src/components/about_inspection/open_vacancies/ResponseVacancies" - } - ] - }, - { - "text": "structure", - "collapsed": true, - "items": [ - { - "text": "StructureInspection", - "link": "/src/components/about_inspection/structure/StructureInspection" - }, - { - "text": "StructureInspectionRow", - "link": "/src/components/about_inspection/structure/StructureInspectionRow" - } - ] - } - ] - }, - { - "text": "calendar_of_events", - "collapsed": true, - "items": [ - { - "text": "BigCalendar", - "link": "/src/components/calendar_of_events/BigCalendar" - }, - { - "text": "UI_calendar", - "collapsed": true, - "items": [ - { - "text": "calendarFull", - "link": "/src/components/calendar_of_events/UI_calendar/calendarFull" - }, - { - "text": "dialogCreate", - "link": "/src/components/calendar_of_events/UI_calendar/dialogCreate" - }, - { - "text": "periodEvents", - "link": "/src/components/calendar_of_events/UI_calendar/periodEvents" - }, - { - "text": "reminderEvent", - "link": "/src/components/calendar_of_events/UI_calendar/reminderEvent" - }, - { - "text": "timeSelect", - "link": "/src/components/calendar_of_events/UI_calendar/timeSelect" - } - ] - }, - { - "text": "calendar-create-select", - "link": "/src/components/calendar_of_events/calendar-create-select" - }, - { - "text": "calendar-create", - "link": "/src/components/calendar_of_events/calendar-create" - }, - { - "text": "calendar-my", - "link": "/src/components/calendar_of_events/calendar-my" - }, - { - "text": "event-calendar", - "link": "/src/components/calendar_of_events/event-calendar" - }, - { - "text": "event-create", - "link": "/src/components/calendar_of_events/event-create" - }, - { - "text": "event-dialog-edit-participant", - "link": "/src/components/calendar_of_events/event-dialog-edit-participant" - }, - { - "text": "event-dialog-edit", - "link": "/src/components/calendar_of_events/event-dialog-edit" - }, - { - "text": "event-dialog-info", - "link": "/src/components/calendar_of_events/event-dialog-info" - }, - { - "text": "event-dialog", - "link": "/src/components/calendar_of_events/event-dialog" - }, - { - "text": "load-ical", - "link": "/src/components/calendar_of_events/load-ical" - }, - { - "text": "load-ical1", - "link": "/src/components/calendar_of_events/load-ical1" - } - ] - }, - { - "text": "cardLike", - "link": "/src/components/cardLike" - }, - { - "text": "carousel-list", - "link": "/src/components/carousel-list" - }, - { - "text": "carousel-numbers", - "link": "/src/components/carousel-numbers" - }, - { - "text": "dialog-search", - "link": "/src/components/dialog-search" - }, - { - "text": "digital-letna", - "link": "/src/components/digital-letna" - }, - { - "text": "graph", - "collapsed": true, - "items": [ - { - "text": "chartConfig", - "link": "/src/components/graph/chartConfig" - }, - { - "text": "line-graph", - "link": "/src/components/graph/line-graph" - } - ] - }, - { - "text": "load-round", - "link": "/src/components/load-round" - }, - { - "text": "news-crossroad", - "link": "/src/components/news-crossroad" - }, - { - "text": "news-full", - "link": "/src/components/news-full" - }, - { - "text": "news-home", - "link": "/src/components/news-home" - }, - { - "text": "secret", - "collapsed": true, - "items": [ - { - "text": "SmallTimer", - "link": "/src/components/secret/SmallTimer" - } - ] - }, - { - "text": "testing", - "collapsed": true, - "items": [ - { - "text": "BodyDetailTesting", - "link": "/src/components/testing/BodyDetailTesting" - }, - { - "text": "CatalogTest", - "link": "/src/components/testing/CatalogTest" - }, - { - "text": "DetailCardTest", - "link": "/src/components/testing/DetailCardTest" - }, - { - "text": "HeaderDetailTesting", - "link": "/src/components/testing/HeaderDetailTesting" - }, - { - "text": "QuestionBlock", - "link": "/src/components/testing/QuestionBlock" - }, - { - "text": "TestResults", - "link": "/src/components/testing/TestResults" - } - ] - }, - { - "text": "vote", - "collapsed": true, - "items": [ - { - "text": "CurrentVote", - "link": "/src/components/vote/CurrentVote" - }, - { - "text": "NonVoteHappy", - "link": "/src/components/vote/NonVoteHappy" - }, - { - "text": "NonVoteSad", - "link": "/src/components/vote/NonVoteSad" - }, - { - "text": "NoneVote", - "link": "/src/components/vote/NoneVote" - }, - { - "text": "VoteAdmin", - "link": "/src/components/vote/VoteAdmin" - }, - { - "text": "VoteAnimation", - "link": "/src/components/vote/VoteAnimation" - }, - { - "text": "VoteCard", - "link": "/src/components/vote/VoteCard" - }, - { - "text": "VoteConstructor", - "link": "/src/components/vote/VoteConstructor" - }, - { - "text": "VoteForm", - "link": "/src/components/vote/VoteForm" - }, - { - "text": "VoteResult", - "link": "/src/components/vote/VoteResult" - } - ] - } - ] - }, - { - "text": "layouts", - "collapsed": true, - "items": [ - { - "text": "default", - "collapsed": true, - "items": [ - { - "text": "AdminMenu", - "link": "/src/layouts/default/AdminMenu" - }, - { - "text": "DefaultPortal", - "link": "/src/layouts/default/DefaultPortal" - }, - { - "text": "alertDefault", - "link": "/src/layouts/default/alertDefault" - } - ] - } - ] - }, - { - "text": "main", - "link": "/src/main" - }, - { - "text": "plugins", - "collapsed": true, - "items": [ - { - "text": "index", - "link": "/src/plugins/index" - }, - { - "text": "vuetify", - "link": "/src/plugins/vuetify" - }, - { - "text": "webfontloader", - "link": "/src/plugins/webfontloader" - } - ] - }, - { - "text": "router", - "collapsed": true, - "items": [ - { - "text": "index", - "link": "/src/router/index" - } - ] - }, - { - "text": "store", - "collapsed": true, - "items": [ - { - "text": "AboutPortalFilter", - "link": "/src/store/AboutPortalFilter" - }, - { - "text": "AccountStore", - "link": "/src/store/AccountStore" - }, - { - "text": "MainmenuStore", - "link": "/src/store/MainmenuStore" - }, - { - "text": "UseAlertStore", - "link": "/src/store/UseAlertStore" - }, - { - "text": "WeekendsStore", - "link": "/src/store/WeekendsStore" - }, - { - "text": "app", - "link": "/src/store/app" - }, - { - "text": "index", - "link": "/src/store/index" - } - ] - }, - { - "text": "tests", - "collapsed": true, - "items": [ - { - "text": "App.test", - "link": "/src/tests/App.test" - }, - { - "text": "CarouselList.test", - "link": "/src/tests/CarouselList.test" - } - ] - }, - { - "text": "utils", - "collapsed": true, - "items": [ - { - "text": "axios-api", - "link": "/src/utils/axios-api" - }, - { - "text": "universal_functions", - "link": "/src/utils/universal_functions" - } - ] - }, - { - "text": "views", - "collapsed": true, - "items": [ - { - "text": "AboutInspectionPage", - "link": "/src/views/AboutInspectionPage" - }, - { - "text": "AboutPortalPage", - "link": "/src/views/AboutPortalPage" - }, - { - "text": "FAQPage", - "link": "/src/views/FAQPage" - }, - { - "text": "FeedbackPage", - "link": "/src/views/FeedbackPage" - }, - { - "text": "FnsHol", - "link": "/src/views/FnsHol" - }, - { - "text": "HomePage", - "link": "/src/views/HomePage" - }, - { - "text": "LaborProtection", - "link": "/src/views/LaborProtection" - }, - { - "text": "NewsPage", - "link": "/src/views/NewsPage" - }, - { - "text": "ProvidingActivitiesPage", - "link": "/src/views/ProvidingActivitiesPage" - }, - { - "text": "SecurityPage", - "link": "/src/views/SecurityPage" - }, - { - "text": "StructurePage", - "link": "/src/views/StructurePage" - }, - { - "text": "TestHomePage", - "link": "/src/views/TestHomePage" - }, - { - "text": "Vote", - "link": "/src/views/Vote" - }, - { - "text": "VoteHomePage", - "link": "/src/views/VoteHomePage" - }, - { - "text": "nested_view", - "collapsed": true, - "items": [ - { - "text": "o_OKiB", - "link": "/src/views/nested_view/o_OKiB" - } - ] - }, - { - "text": "safety", - "collapsed": true, - "items": [ - { - "text": "ChaptersSafety", - "link": "/src/views/safety/ChaptersSafety" - }, - { - "text": "DocumentationSafety", - "link": "/src/views/safety/DocumentationSafety" - }, - { - "text": "MainInfoSafety", - "link": "/src/views/safety/MainInfoSafety" - }, - { - "text": "TestSafety", - "link": "/src/views/safety/TestSafety" - } - ] - }, - { - "text": "secret", - "collapsed": true, - "items": [ - { - "text": "SecretPage", - "link": "/src/views/secret/SecretPage" - } - ] - } - ] - } -] - }, - { - text: 'Гайды', - collapsed: true, - items: [ - { text: 'Как установить', link: '/guides/install' }, - { text: 'Как использовать', link: '/guides/usage' }, - { text: 'Правила комитов', link: '/guides/commits' } -, - { text: 'Тесты', link: '/tests' }, - ] - } - ] - }, -mermaid: { - // refer https://mermaid.js.org/config/setup/modules/mermaidAPI.html#mermaidapi-configuration-defaults for options - }, - // optionally set additional config for plugin itself with MermaidPluginConfig - mermaidPlugin: { - class: 'mermaid my-class', // set additional css classes for parent container - },}); diff --git a/documentation/docs/.vitepress/theme/components/TestRunner.vue b/documentation/docs/.vitepress/theme/components/TestRunner.vue deleted file mode 100644 index 93f936796..000000000 --- a/documentation/docs/.vitepress/theme/components/TestRunner.vue +++ /dev/null @@ -1,9 +0,0 @@ - - diff --git a/documentation/docs/.vitepress/theme/index.js b/documentation/docs/.vitepress/theme/index.js deleted file mode 100644 index fdae2455f..000000000 --- a/documentation/docs/.vitepress/theme/index.js +++ /dev/null @@ -1,22 +0,0 @@ - - import DefaultTheme from 'vitepress/theme'; -import { withMermaid } from 'vitepress-plugin-mermaid'; -import TestRunner from './components/TestRunner.vue'; - -export default withMermaid({ - ...DefaultTheme, - themeConfig: { - search: { - provider: 'local', - }, - }, - mermaid: { - }, - mermaidPlugin: { - class: 'mermaid my-class', - }, - enhanceApp({ app }) { - app.component('TestRunner', TestRunner); - }, -}); - \ No newline at end of file diff --git a/documentation/docs/README.md b/documentation/docs/README.md deleted file mode 100644 index 8ce466674..000000000 --- a/documentation/docs/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Документация - -⚠️ Оригинальный README.md не найден. \ No newline at end of file diff --git a/documentation/docs/guides/commits.md b/documentation/docs/guides/commits.md deleted file mode 100644 index 68716ce05..000000000 --- a/documentation/docs/guides/commits.md +++ /dev/null @@ -1,21 +0,0 @@ - - ## Заголовок должен содержать тип, номер задачи и название коммита. - Формат: <тип> [<номер задачи>]: <название> - - | Название | Описание | - |----------|----------| - | `feat` | Новый функционал | - | `fix` | Исправление ошибки | - | `docs` | Изменения в документации | - | `style` | Изменения, не влияющие на функциональность | - | `refactor` | Изменения кода, не исправляющие ошибки и не добавляющие функционал | - | `perf` | Изменения, улучшающие производительность | - | `test` | Добавление тестов | - | `chore` | Изменения в процессе сборки или вспомогательных инструментах. | - - Пример: - -```bash -feat [X-01]: я тут накоммитил -``` - \ No newline at end of file diff --git a/documentation/docs/guides/install.md b/documentation/docs/guides/install.md deleted file mode 100644 index 8cbc6a73a..000000000 --- a/documentation/docs/guides/install.md +++ /dev/null @@ -1,64 +0,0 @@ - - # Установка документации - -## Установка VitePress - -Для начала необходимо установить VitePress: - -```bash -npm add -D vitepress -``` - -## Инициализируем проект: - -```bash -npx vitepress init -``` - -#### Во время инициализации вам будет предложено выбрать конфигурацию: - -```txt -┌ Welcome to VitePress! -│ -◇ Where should VitePress initialize the config? -│ ./docs -│ -◇ Site title: -│ Наименование проекта -│ -◇ Site description: -│ Описание проекта -│ -◆ Theme: -│ ● Default Theme (Out of the box, good-looking docs) -│ ○ Default Theme + Customization -│ ○ Custom Theme -└ -``` - -## Установка vue-md-parser - -#### Далее необходимо установить vue-md-parser: - -```bash -npm install -g vue-md-parser -``` - -## Настройка скриптов - -#### Откройте package.json и измените скрипт для разработки документации: - -```json -"scripts": { -"docs:dev": "vue-md-parser && vitepress dev docs" -} -``` - -## Запуск сервера - -```bash -npm run docs:dev -``` - -## Сервер будет доступен на http://localhost:5173/ - \ No newline at end of file diff --git a/documentation/docs/guides/usage.md b/documentation/docs/guides/usage.md deleted file mode 100644 index 686dd677a..000000000 --- a/documentation/docs/guides/usage.md +++ /dev/null @@ -1,236 +0,0 @@ - -# Использование документации - -## Добавление комментариев для генерации документации - -### Описание компонента - -Описание компонента должно быть указано первым комментарием в теге `