далены файлы MkDocs

radislav/tests_rack
Radislav 2025-11-26 10:51:10 +03:00
parent ed1658678a
commit e324b9aa23
212 changed files with 0 additions and 314932 deletions

View File

@ -1,6 +0,0 @@
# AlertComponent
::: components.alert_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# BaseComponent
::: components.base_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# CardComponent
::: components.card_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ConfirmComponent
::: components.confirm_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# DropdownList
::: components.dropdown_list_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# EventPanelComponent
::: components.eventbar_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# EventsContainerComponent
::: components.events_container_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# JsonContainerComponent
::: components.json_container_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ModalWindowComponent
::: components.modal_window_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# NavigationPanelComponent
::: components.navbar_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TableComponent
::: components.table_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ToolbarComponent
::: components.toolbar_component
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# SystemLogEventsContainer
::: components_derived.container_system_log_events
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# UserSettingsDialogWindow
::: components_derived.dialog_user_settings
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# AddADUserModalWindow
::: components_derived.modal_add_AD_user
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# AddLocalUserModalWindow
::: components_derived.modal_add_local_user
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ChangePasswordModalWindow
::: components_derived.modal_change_password
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# EditUserModalWindow
::: components_derived.modal_edit_user
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ViewTemplateModalWindow
::: components_derived.modal_view_template
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ViewZTPTemplateModalWindow
::: components_derived.modal_view_ztp_template
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# UserCard
::: components_derived.user_card
handler: python
options:
show_source: true

View File

@ -1,27 +0,0 @@
**Добавление Docstring**
## Изменить соблюдая требования:
1. Добавить недостающие и улучшить имеющиеся docstrings язык русский.
2. Сделать docstring более компактными, сохранив всю важную информацию.
3. Ограничить в docstring длину строк 79 символами.
4. Добавить docstring перед импортами.
5. Должна быть пустая строка после каждого docstring.
6. Сохранить все текущие комментарии.
7. Запрещено изменять код (изменять только docstring).
8. Не удалять пустые строки.
9. В конце кода должна быть одна пустая строка.
### Пример добавления Docstring с помощью ИИ "DeepSeek":
- Загрузить: DeepSeek файл проекта my_name.py и docs/config/add_docstring.md.
- Запросить: Изменить строго соблюдая требования,вывести полный изменённый код и отчет о выполнении требований.
- Проверить результат сравнением изменений сделанными в коде ИИ "DeepSeek" с помощью notepad++.

View File

@ -1 +0,0 @@
Документ требуется разработать

View File

@ -1,111 +0,0 @@
# Документация проекта: настройка MkDocs и добавление документации Компонента UI "alert_component.py"
## 1 Структура проекта
```
nms_tests/
├── docs/
│ ├── components/
│ │ └── alert_component.md
│ └── index.md
├── components/
│ └── alert_component.py
└── mkdocs.yml
```
## 2 Инструкция по настройке MkDocs
### 2.1 Установка зависимостей
powershell
pip install mkdocs mkdocs-material mkdocstrings mkdocstrings-python
### 2.2 Инициализация проекта
powershell
mkdocs new .
## 3 Добавление документации
### 3.1 Добавление комментариев docstrings в Компонент Alert (alert_component.py)
```
python
"""Модуль для работы с компонентом alert-окна в Playwright.
Содержит класс AlertComponent для взаимодействия с различными типами
alert-окон (error, success, info, warning) и проверки их состояния.
"""
from playwright.sync_api import Page, expect
from tools.logger import get_logger
from elements.text_element import Text
from components.base_component import BaseComponent
logger = get_logger("ALERT")
class AlertComponent(BaseComponent):
"""Компонент для работы с alert-окнами Playwright.
Поддерживает типы: error, success, info, warning.
Позволяет проверять наличие, отсутствие и текст сообщений.
"""
# ... (полный код класса из исходного файла)
```
### 3.2 Конфигурация MkDocs (mkdocs.yml)
```
yaml
site_name: Документация тестов
theme:
name: material
plugins:
- search
- mkdocstrings:
default_handler: python
handlers:
python:
paths: [".", "pages"]
options:
show_source: true
nav:
- Главная: index.md
- Компоненты UI:
- AlertComponent: components/alert_component.md
# ... (остальная структура навигации)
```
### 3.3 Создание файла описания Компонента Alert
docs/components/alert_component.md:
```
markdown
# AlertComponent
::: components.alert_component:AlertComponent
handler: python
options:
show_source: true
heading_level: 2
```
## 4 Работа с документацией.
### 4.1 Просмотр в реальном времени
bash
mkdocs serve
### 4.2 Сборка документации
bash
rmdir /s /q site # Очистка кэша
mkdocs build # Пересборка
## 5 Частые проблемы и решения
Ошибки импорта:
- Убедитесь в наличии __init__.py в директориях.
- Проверьте пути в mkdocs.yml.
Предупреждения аннотации типов для параметра:
Убедитесь в наличии аннотации типов для параметра.
## 6 Заключение
Для обновления документации после изменений в коде:
- Внесите изменения в docstrings Python-кода.
- Обновите соответствующие .md-файлы.
- Пересоберите документацию.

View File

@ -1,6 +0,0 @@
# Constants
::: data.constants
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# Environment
::: data.environment
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# Roles_dict
::: data.roles_dict
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# BaseElement
::: elements.base_element
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# Button
::: elements.button_element
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# Checkbox
::: elements.checkbox_element
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# Icon
::: elements.icon_element
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TabButton
::: elements.tab_button_element
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# Text
::: elements.text_element
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TextInput
::: elements.text_input_element
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TooltipButton
::: elements.tooltip_button_element
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# Browser Fixtures
::: fixtures.pages
handler: python
options:
show_source: true

View File

@ -1,143 +0,0 @@
# Документация тестового фреймворка eNODE-Мониторинг
Автоматически сгенерированная документация для тестового фреймворка, разработанного для тестирования eNODE-мониторинг.
## Обзор проекта
Фреймворк разработан с использованием:
- **Playwright** - для автоматизации браузера
- **Pytest** - как основной тестовый движок
- **Page Object Model** - паттерн для организации тестового кода
- **MkDocs** - для генерации документации
- **Python 3.8+** - язык реализации
## Детальная структура проекта
### Корневая директория
- `.env` - файл с переменными окружения
- `conftest.py` - фикстуры Pytest, настройки генерации документации
- `mkdocs.yml` - конфигурация документации
- `pytest.ini` - конфигурация тестов (маркеры, параметры)
- `requirements.txt` - зависимости Python
- `setup.py` - конфигурация пакета
### Основные модули
#### 1. components/
Базовые компоненты UI:
- `alert_component.py` - работа с alert-окнами (ошибки, успех, информация)
-
#### 2. data/
Данные и конфигурации:
- `constants.py` - константы (логины, пароли)
- `environment.py` - настройки окружения (test/develop)
- `roles_dict.py` - словарь ролей пользователей
-
#### 3. docs/
Документация:
- `tests/` - документация тестов
- `config/` - инструкции по настройке
- index.md
#### 4. elements/
UI-элементы:
- `base_element.py` - базовый элемент
- `button_element.py` - кнопки
- `checkbox_element.py` - чекбоксы
- `text_element.py` - текстовые элементы
- `text_input_element.py` - поля ввода
- `toolbar_button_element.py` - кнопки тулбара
#### 5. fixtures/
Фикстуры Pytest:
- `pages.py` - настройки браузеров, контекстов
#### 6. locators/
Локаторы элементов:
- Локаторы для всех основных компонентов (confirm, modal windows, tables и т.д.)
#### 7. modal_windows/
Специализированные модальные окна:
- `modal_add_user.py` - добавление пользователя
- `modal_edit_user.py` - редактирование пользователя
#### 8. pages/
Страницы приложения:
- `base_page.py` - базовый класс страницы
- `login_page.py` - страница авторизации
- `main_page.py` - главная страница
- Табы: `service_status_tab.py`, `session_tab.py`, `users_tab.py`
#### 9. tests/
Тесты:
- Основные тесты (`test_login.py`, `test_session_tab.py` и др.)
- Поддиректории:
- `components/` - тесты компонентов
- `e2e/` - end-to-end тесты
#### 10. tools/
Утилиты:
- `logger.py` - система логирования
## Взаимодействие компонентов
1. **Тесты** используют **страницы** (pages)
2. **Страницы** состоят из **компонентов** (components)
3. **Компоненты** состоят из **элементов** (elements)
4. **Элементы** используют **локаторы** из соответствующих файлов
5. Все модули используют:
- Общие **данные** из data/
- **Логирование** через tools/logger.py
- **Фикстуры** из fixtures/
## Как использовать
### Установите зависимости:
bash
pip install -e .
Запустите тесты:
bash
### Все тесты
pytest tests/ -v
### Только smoke-тесты
pytest tests/ -m smoke -v
### Сгенерируйте документацию:
bash
mkdocs serve
### Поддерживаемые тесты
Авторизация (успешная/неудачная)
Управление сессиями:
- Проверка таблицы
- Удаление сессий
- Модальные окна
Управление пользователями:
- Создание/удаление
- Изменение ролей
- Сброс паролей
### Системные тесты:
- Статус сервисов
- Лицензии

View File

@ -1,6 +0,0 @@
# ButtonLocators
::: locators.button_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ConfirmLocators
::: locators.confirm_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# EventPanelLocators
::: locators.event_panel_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# InputLocators
::: locators.input_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# JsonContainerLocators
::: locators.json_container_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ModalWindowLocators
::: locators.modal_window_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# NavigationPanelLocators
::: locators.navigation_panel_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TableLocators
::: locators.table_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TextInputLocators
::: locators.text_input_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TextLocators
::: locators.text_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ToolbarLocators
::: locators.toolbar_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# UserCardLocators
::: locators.user_card_locators
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# BasePage
::: pages.base_page
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# LicenseTab
::: pages.license_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# LoginPage
::: pages.login_page
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# MainPage
::: pages.main_page
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ServiceStatusTab
::: pages.service_status_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# SessionTab
::: pages.session_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TemplatesTab
::: pages.templates_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# UsersTab
::: pages.users_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ZTPConfigTab
::: pages.ztp_config_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# ZTPTemplatesTab
::: pages.ztp_templates_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestJsonContainer
::: tests.components.test_json_container
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestNavigationPanel
::: tests.components.test_navigation_panel
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestServiceStatusTable
::: tests.components.test_services_table
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestUsersModalWindow
::: tests.components.test_user_modal_window
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestEventPanel
::: tests.e2e.test_event_panel
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestNavigationPanel
::: tests.e2e.test_expand_navigation_panel
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestLicenseTab
::: tests.e2e.test_license_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestLogin
::: tests.e2e.test_login
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestServiceStatusTab
::: tests.e2e.test_service_status_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestSessionTab
::: tests.e2e.test_sessions_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestSystemLogEventsContainer
::: tests.e2e.test_system_log_events_container
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestTemplatesTab
::: tests.e2e.test_templates_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestZTPConfigTab
::: tests.e2e.test_ztp_config_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestZTPTemplatesTab
::: tests.e2e.test_ztp_templates_tab
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestUsersTabAddUser
::: tests.e2e.users.test_add_user
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestUsersTabEditUser
::: tests.e2e.users.test_edit_user
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestUserCard
::: tests.e2e.users.test_user_card
handler: python
options:
show_source: true

View File

@ -1,6 +0,0 @@
# TestUsersTab
::: tests.e2e.users.test_users_tab
handler: python
options:
show_source: true

View File

@ -1,10 +0,0 @@
# Python Project Fixer
::: tools.fix_python_project
handler: python
options:
show_source: true

View File

@ -1,10 +0,0 @@
# Logging
::: tools.logger
handler: python
options:
show_source: true

View File

@ -1,111 +0,0 @@
site_name: Документация тестов eNODE-Мониторинг
theme:
name: material
plugins:
- search
- mkdocstrings:
default_handler: python
handlers:
python:
paths: [".", "pages"]
options:
show_source: true
nav:
- Главная: index.md
- Данные и конфигурации:
- Constants: data/constants.md
- Environment: data/environment.md
- Roles_dict: data/roles_dict.md
- Фикстуры Pytest:
- Browser Fixtures: fixtures/pages.md
- Элементы UI:
- BaseElement: elements/base_element.md
- Button: elements/button_element.md
- Checkbox: elements/checkbox_element.md
- Icon: elements/icon_element.md
- TabButton: elements/tab_button_element.md
- Text: elements/text_element.md
- TextInput: elements/text_input_element.md
- ToolbarButton: elements/tooltip_button_element.md
- Компоненты UI:
- AlertComponent: components/alert_component.md
- BaseComponent: components/base_component.md
- CardComponent: components/card_component.md
- ConfirmComponent: components/confirm_component.md
- DropdownList: components/dropdown_list_component.md
- EventPanelComponent: components/eventbar_component.md
- EventsContainerComponent: components/events_container_component.md
- JsonContainerComponent: components/json_container_component.md
- ModalWindowComponent: components/modal_window_component.md
- NavigationPanelComponent: components/navbar_component.md
- TableComponent: components/table_component.md
- ToolbarComponent: components/toolbar_component.md
- Компоненты производные UI:
- SystemLogEventsContainer: components_derived/container_system_log_events.md
- AddADUserModalWindow: components_derived/modal_add_AD_user.md
- AddLocalUserModalWindow: components_derived/modal_add_local_user.md
- ChangePasswordModalWindow: components_derived/modal_change_password.md
- EditUserModalWindow: components_derived/modal_edit_user.md
- ViewTemplateModalWindow: components_derived/modal_view_template.md
- ViewZTPTemplateModalWindow: components_derived/modal_view_ztp_template.md
- UserCard: components_derived/user_card.md
- Локаторы:
- ButtonLocators: locators/button_locators.md
- ConfirmLocators: locators/confirm_locators.md
- EventPanelLocators: locators/event_panel_locators.md
- InputLocators: locators/input_locators.md
- JsonContainerLocators: locators/json_container_locators.md
- ModalWindowLocators: locators/modal_window_locators.md
- NavigationPanelLocators: locators/navigation_panel_locators.md
- RackLocators: locators/rack_locators.md # new
- SettingsFormLocators: locators/settings_form_locators.md # new
- TableLocators: locators/table_locators.md
- TextInputLocators: locators/text_input_locators.md
- TextLocators: locators/text_locators.md
- ToolbarLocators: locators/toolbar_locators.md
- UserCardLocators: locators/user_card_locators.md
- Страницы приложения:
- BasePage: pages/base_page.md
- LicenseTab: pages/license_tab.md
- LoginPage: pages/login_page.md
- MainPage: pages/main_page.md
- ServiceStatusTab: pages/service_status_tab.md
- CurrentSessionsTab: pages/current_session_tab.md # new
- SessionSettingsTab: pages/session_settings_tab.md # new
- TemplatesTab: pages/templates_tab.md
- UsersTab: pages/users_tab.md
- ZTPConfigTab: pages/ztp_config_tab.md
- ZTPTemplatesTab: pages/ztp_templates_tab.md
- Тесты:
- End-to-End:
- Sessions:
- TestCurrentSessionsTab: tests/e2e/sessions/test_current_sessions_tab.md # new
- TestCurrentSettingsTab: tests/e2e/sessions/test_session_settings_tab.md # new
- Users:
- TestUsersTabAddUser: tests/e2e/users/test_add_user.md
- TestUsersTabEditUser: tests/e2e/users/test_edit_user.md
- TestUserCard: tests/e2e/users/test_user_card.md
- TestUsersTab: tests/e2e/users/test_users_tab.md
- TestEventPanel: tests/e2e/test_event_panel.md
- TestNavigationPanel: tests/e2e/test_expand_navigation_panel.md
- TestLicenseTab: tests/e2e/test_license_tab.md
- TestLogin: tests/e2e/test_login.md
- TestServiceStatusTab: tests/e2e/test_service_status_tab.md
- TestSystemLogEventsContainer: tests/e2e/test_system_log_events_container.md
- TestTemplatesTab: tests/e2e/test_templates_tab.md
- TestZTPConfigTab: tests/e2e/test_ztp_config_tab.md
- TestZTPTemplatesTab: tests/e2e/test_ztp_templates_tab.md
- Компоненты:
- TestJsonContainer: tests/components/test_json_container.md
- TestNavigationPanel: tests/components/test_navigation_panel.md
- TestServiceStatusTable: tests/components/test_services_table.md
- TestUsersModalWindow: tests/components/test_user_modal_window.md
- Утилиты:
- Logging: tools/logger.md
- Python Project Fixer: tools/fix_python_project.md
- Инструкции:
- Документация проекта MkDocs: config/mkdocs_guide.md
- Требования при добавлении docstring: config/add_docstring.md
- Процесс разработки кода: config/code_development_process.md

File diff suppressed because it is too large Load Diff

View File

@ -1,181 +0,0 @@
/* Avoid breaking parameter names, etc. in table cells. */
.doc-contents td code {
word-break: normal !important;
}
/* No line break before first paragraph of descriptions. */
.doc-md-description,
.doc-md-description>p:first-child {
display: inline;
}
/* No text transformation from Material for MkDocs for H5 headings. */
.md-typeset h5 .doc-object-name {
text-transform: none;
}
/* Max width for docstring sections tables. */
.doc .md-typeset__table,
.doc .md-typeset__table table {
display: table !important;
width: 100%;
}
.doc .md-typeset__table tr {
display: table-row;
}
/* Defaults in Spacy table style. */
.doc-param-default {
float: right;
}
/* Parameter headings must be inline, not blocks. */
.doc-heading-parameter {
display: inline;
}
/* Default font size for parameter headings. */
.md-typeset .doc-heading-parameter {
font-size: inherit;
}
/* Prefer space on the right, not the left of parameter permalinks. */
.doc-heading-parameter .headerlink {
margin-left: 0 !important;
margin-right: 0.2rem;
}
/* Backward-compatibility: docstring section titles in bold. */
.doc-section-title {
font-weight: bold;
}
/* Backlinks crumb separator. */
.doc-backlink-crumb {
display: inline-flex;
gap: .2rem;
white-space: nowrap;
align-items: center;
vertical-align: middle;
}
.doc-backlink-crumb:not(:first-child)::before {
background-color: var(--md-default-fg-color--lighter);
content: "";
display: inline;
height: 1rem;
--md-path-icon: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>');
-webkit-mask-image: var(--md-path-icon);
mask-image: var(--md-path-icon);
width: 1rem;
}
.doc-backlink-crumb.last {
font-weight: bold;
}
/* Symbols in Navigation and ToC. */
:root, :host,
[data-md-color-scheme="default"] {
--doc-symbol-parameter-fg-color: #df50af;
--doc-symbol-attribute-fg-color: #953800;
--doc-symbol-function-fg-color: #8250df;
--doc-symbol-method-fg-color: #8250df;
--doc-symbol-class-fg-color: #0550ae;
--doc-symbol-module-fg-color: #5cad0f;
--doc-symbol-parameter-bg-color: #df50af1a;
--doc-symbol-attribute-bg-color: #9538001a;
--doc-symbol-function-bg-color: #8250df1a;
--doc-symbol-method-bg-color: #8250df1a;
--doc-symbol-class-bg-color: #0550ae1a;
--doc-symbol-module-bg-color: #5cad0f1a;
}
[data-md-color-scheme="slate"] {
--doc-symbol-parameter-fg-color: #ffa8cc;
--doc-symbol-attribute-fg-color: #ffa657;
--doc-symbol-function-fg-color: #d2a8ff;
--doc-symbol-method-fg-color: #d2a8ff;
--doc-symbol-class-fg-color: #79c0ff;
--doc-symbol-module-fg-color: #baff79;
--doc-symbol-parameter-bg-color: #ffa8cc1a;
--doc-symbol-attribute-bg-color: #ffa6571a;
--doc-symbol-function-bg-color: #d2a8ff1a;
--doc-symbol-method-bg-color: #d2a8ff1a;
--doc-symbol-class-bg-color: #79c0ff1a;
--doc-symbol-module-bg-color: #baff791a;
}
code.doc-symbol {
border-radius: .1rem;
font-size: .85em;
padding: 0 .3em;
font-weight: bold;
}
code.doc-symbol-parameter,
a code.doc-symbol-parameter {
color: var(--doc-symbol-parameter-fg-color);
background-color: var(--doc-symbol-parameter-bg-color);
}
code.doc-symbol-parameter::after {
content: "param";
}
code.doc-symbol-attribute,
a code.doc-symbol-attribute {
color: var(--doc-symbol-attribute-fg-color);
background-color: var(--doc-symbol-attribute-bg-color);
}
code.doc-symbol-attribute::after {
content: "attr";
}
code.doc-symbol-function,
a code.doc-symbol-function {
color: var(--doc-symbol-function-fg-color);
background-color: var(--doc-symbol-function-bg-color);
}
code.doc-symbol-function::after {
content: "func";
}
code.doc-symbol-method,
a code.doc-symbol-method {
color: var(--doc-symbol-method-fg-color);
background-color: var(--doc-symbol-method-bg-color);
}
code.doc-symbol-method::after {
content: "meth";
}
code.doc-symbol-class,
a code.doc-symbol-class {
color: var(--doc-symbol-class-fg-color);
background-color: var(--doc-symbol-class-bg-color);
}
code.doc-symbol-class::after {
content: "class";
}
code.doc-symbol-module,
a code.doc-symbol-module {
color: var(--doc-symbol-module-fg-color);
background-color: var(--doc-symbol-module-bg-color);
}
code.doc-symbol-module::after {
content: "mod";
}
.doc-signature .autorefs {
color: inherit;
border-bottom: 1px dotted currentcolor;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,18 +0,0 @@
/*!
* Lunr languages, `Danish` language
* https://github.com/MihaiValentin/lunr-languages
*
* Copyright 2014, Mihai Valentin
* http://www.mozilla.org/MPL/
*/
/*!
* based on
* Snowball JavaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.da=function(){this.pipeline.reset(),this.pipeline.add(e.da.trimmer,e.da.stopWordFilter,e.da.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.da.stemmer))},e.da.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA--",e.da.trimmer=e.trimmerSupport.generateTrimmer(e.da.wordCharacters),e.Pipeline.registerFunction(e.da.trimmer,"trimmer-da"),e.da.stemmer=function(){var r=e.stemmerSupport.Among,i=e.stemmerSupport.SnowballProgram,n=new function(){function e(){var e,r=f.cursor+3;if(d=f.limit,0<=r&&r<=f.limit){for(a=r;;){if(e=f.cursor,f.in_grouping(w,97,248)){f.cursor=e;break}if(f.cursor=e,e>=f.limit)return;f.cursor++}for(;!f.out_grouping(w,97,248);){if(f.cursor>=f.limit)return;f.cursor++}d=f.cursor,d<a&&(d=a)}}function n(){var e,r;if(f.cursor>=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(c,32),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del();break;case 2:f.in_grouping_b(p,97,229)&&f.slice_del()}}function t(){var e,r=f.limit-f.cursor;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.find_among_b(l,4)?(f.bra=f.cursor,f.limit_backward=e,f.cursor=f.limit-r,f.cursor>f.limit_backward&&(f.cursor--,f.bra=f.cursor,f.slice_del())):f.limit_backward=e)}function s(){var e,r,i,n=f.limit-f.cursor;if(f.ket=f.cursor,f.eq_s_b(2,"st")&&(f.bra=f.cursor,f.eq_s_b(2,"ig")&&f.slice_del()),f.cursor=f.limit-n,f.cursor>=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(m,5),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del(),i=f.limit-f.cursor,t(),f.cursor=f.limit-i;break;case 2:f.slice_from("løs")}}function o(){var e;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.out_grouping_b(w,97,248)?(f.bra=f.cursor,u=f.slice_to(u),f.limit_backward=e,f.eq_v_b(u)&&f.slice_del()):f.limit_backward=e)}var a,d,u,c=[new r("hed",-1,1),new r("ethed",0,1),new r("ered",-1,1),new r("e",-1,1),new r("erede",3,1),new r("ende",3,1),new r("erende",5,1),new r("ene",3,1),new r("erne",3,1),new r("ere",3,1),new r("en",-1,1),new r("heden",10,1),new r("eren",10,1),new r("er",-1,1),new r("heder",13,1),new r("erer",13,1),new r("s",-1,2),new r("heds",16,1),new r("es",16,1),new r("endes",18,1),new r("erendes",19,1),new r("enes",18,1),new r("ernes",18,1),new r("eres",18,1),new r("ens",16,1),new r("hedens",24,1),new r("erens",24,1),new r("ers",16,1),new r("ets",16,1),new r("erets",28,1),new r("et",-1,1),new r("eret",30,1)],l=[new r("gd",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("elig",1,1),new r("els",-1,1),new r("løst",-1,2)],w=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],p=[239,254,42,3,0,0,0,0,0,0,0,0,0,0,0,0,16],f=new i;this.setCurrent=function(e){f.setCurrent(e)},this.getCurrent=function(){return f.getCurrent()},this.stem=function(){var r=f.cursor;return e(),f.limit_backward=r,f.cursor=f.limit,n(),f.cursor=f.limit,t(),f.cursor=f.limit,s(),f.cursor=f.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.da.stemmer,"stemmer-da"),e.da.stopWordFilter=e.generateStopWordFilter("ad af alle alt anden at blev blive bliver da de dem den denne der deres det dette dig din disse dog du efter eller en end er et for fra ham han hans har havde have hende hendes her hos hun hvad hvis hvor i ikke ind jeg jer jo kunne man mange med meget men mig min mine mit mod ned noget nogle nu når og også om op os over på selv sig sin sine sit skal skulle som sådan thi til ud under var vi vil ville vor være været".split(" ")),e.Pipeline.registerFunction(e.da.stopWordFilter,"stopWordFilter-da")}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.hi=function(){this.pipeline.reset(),this.pipeline.add(e.hi.trimmer,e.hi.stopWordFilter,e.hi.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.hi.stemmer))},e.hi.wordCharacters="ऀ-ःऄ-एऐ-टठ-यर-िी-ॏॐ-य़ॠ-९॰-ॿa-zA-Z--0-9-",e.hi.trimmer=e.trimmerSupport.generateTrimmer(e.hi.wordCharacters),e.Pipeline.registerFunction(e.hi.trimmer,"trimmer-hi"),e.hi.stopWordFilter=e.generateStopWordFilter("अत अपना अपनी अपने अभी अंदर आदि आप इत्यादि इन इनका इन्हीं इन्हें इन्हों इस इसका इसकी इसके इसमें इसी इसे उन उनका उनकी उनके उनको उन्हीं उन्हें उन्हों उस उसके उसी उसे एक एवं एस ऐसे और कई कर करता करते करना करने करें कहते कहा का काफ़ी कि कितना किन्हें किन्हों किया किर किस किसी किसे की कुछ कुल के को कोई कौन कौनसा गया घर जब जहाँ जा जितना जिन जिन्हें जिन्हों जिस जिसे जीधर जैसा जैसे जो तक तब तरह तिन तिन्हें तिन्हों तिस तिसे तो था थी थे दबारा दिया दुसरा दूसरे दो द्वारा न नके नहीं ना निहायत नीचे ने पर पहले पूरा पे फिर बनी बही बहुत बाद बाला बिलकुल भी भीतर मगर मानो मे में यदि यह यहाँ यही या यिह ये रखें रहा रहे ऱ्वासा लिए लिये लेकिन व वग़ैरह वर्ग वह वहाँ वहीं वाले वुह वे वो सकता सकते सबसे सभी साथ साबुत साभ सारा से सो संग ही हुआ हुई हुए है हैं हो होता होती होते होना होने".split(" ")),e.hi.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var r=e.wordcut;r.init(),e.hi.tokenizer=function(i){if(!arguments.length||null==i||void 0==i)return[];if(Array.isArray(i))return i.map(function(r){return isLunr2?new e.Token(r.toLowerCase()):r.toLowerCase()});var t=i.toString().toLowerCase().replace(/^\s+/,"");return r.cut(t).split("|")},e.Pipeline.registerFunction(e.hi.stemmer,"stemmer-hi"),e.Pipeline.registerFunction(e.hi.stopWordFilter,"stopWordFilter-hi")}});

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.hy=function(){this.pipeline.reset(),this.pipeline.add(e.hy.trimmer,e.hy.stopWordFilter)},e.hy.wordCharacters="[A-Za-z԰-֏ff-ﭏ]",e.hy.trimmer=e.trimmerSupport.generateTrimmer(e.hy.wordCharacters),e.Pipeline.registerFunction(e.hy.trimmer,"trimmer-hy"),e.hy.stopWordFilter=e.generateStopWordFilter("դու և եք էիր էիք հետո նաև նրանք որը վրա է որ պիտի են այս մեջ ն իր ու ի այդ որոնք այն կամ էր մի ես համար այլ իսկ էին ենք հետ ին թ էինք մենք նրա նա դուք եմ էի ըստ որպես ում".split(" ")),e.Pipeline.registerFunction(e.hy.stopWordFilter,"stopWordFilter-hy"),e.hy.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}(),e.Pipeline.registerFunction(e.hy.stemmer,"stemmer-hy")}});

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r="2"==e.version[0];e.ja=function(){this.pipeline.reset(),this.pipeline.add(e.ja.trimmer,e.ja.stopWordFilter,e.ja.stemmer),r?this.tokenizer=e.ja.tokenizer:(e.tokenizer&&(e.tokenizer=e.ja.tokenizer),this.tokenizerFn&&(this.tokenizerFn=e.ja.tokenizer))};var t=new e.TinySegmenter;e.ja.tokenizer=function(i){var n,o,s,p,a,u,m,l,c,f;if(!arguments.length||null==i||void 0==i)return[];if(Array.isArray(i))return i.map(function(t){return r?new e.Token(t.toLowerCase()):t.toLowerCase()});for(o=i.toString().toLowerCase().replace(/^\s+/,""),n=o.length-1;n>=0;n--)if(/\S/.test(o.charAt(n))){o=o.substring(0,n+1);break}for(a=[],s=o.length,c=0,l=0;c<=s;c++)if(u=o.charAt(c),m=c-l,u.match(/\s/)||c==s){if(m>0)for(p=t.segment(o.slice(l,c)).filter(function(e){return!!e}),f=l,n=0;n<p.length;n++)r?a.push(new e.Token(p[n],{position:[f,p[n].length],index:a.length})):a.push(p[n]),f+=p[n].length;l=c+1}return a},e.ja.stemmer=function(){return function(e){return e}}(),e.Pipeline.registerFunction(e.ja.stemmer,"stemmer-ja"),e.ja.wordCharacters="一二三四五六七八九十百千万億兆一-龠々〆ヵヶぁ-んァ-ヴーア-ン゙a-zA-Z--0-9-",e.ja.trimmer=e.trimmerSupport.generateTrimmer(e.ja.wordCharacters),e.Pipeline.registerFunction(e.ja.trimmer,"trimmer-ja"),e.ja.stopWordFilter=e.generateStopWordFilter("これ それ あれ この その あの ここ そこ あそこ こちら どこ だれ なに なん 何 私 貴方 貴方方 我々 私達 あの人 あのかた 彼女 彼 です あります おります います は が の に を で え から まで より も どの と し それで しかし".split(" ")),e.Pipeline.registerFunction(e.ja.stopWordFilter,"stopWordFilter-ja"),e.jp=e.ja,e.Pipeline.registerFunction(e.jp.stemmer,"stemmer-jp"),e.Pipeline.registerFunction(e.jp.trimmer,"trimmer-jp"),e.Pipeline.registerFunction(e.jp.stopWordFilter,"stopWordFilter-jp")}});

View File

@ -1 +0,0 @@
module.exports=require("./lunr.ja");

Some files were not shown because too many files have changed in this diff Show More