Skip to content

Commit c79072b

Browse files
author
Вадим Козыревский
committed
Update documentation
1 parent 14ce62f commit c79072b

2 files changed

Lines changed: 73 additions & 3 deletions

File tree

docs/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525

2626
</div>
2727

28+
!!! warning "Breaking Changes in v5.0.0"
29+
Starting with version 5.0.0, **Pydantic support will become optional**. The default implementations of `Request`, `Response`, `DomainEvent`, and `NotificationEvent` will be migrated to dataclasses-based implementations.
30+
2831
---
2932

3033
## Core Features
@@ -106,13 +109,17 @@
106109

107110
## Project status
108111

112+
<div class="project-status-table-wrap" markdown="1">
113+
109114
| Group | Badges |
110115
|-------|--------|
111116
| Python version & PyPI | [![Python Versions](https://img.shields.io/pypi/pyversions/python-cqrs?logo=python&logoColor=white)](https://pypi.org/project/python-cqrs/) [![PyPI](https://img.shields.io/pypi/v/python-cqrs?label=pypi&logo=pypi)](https://pypi.org/project/python-cqrs/) |
112117
| Downloads | [![Total downloads](https://pepy.tech/badge/python-cqrs)](https://pepy.tech/projects/python-cqrs) [![Downloads per month](https://pepy.tech/badge/python-cqrs/month)](https://pepy.tech/projects/python-cqrs) |
113118
| Quality & CI | [![Coverage](https://img.shields.io/codecov/c/github/vadikko2/python-cqrs?logo=codecov&logoColor=white)](https://codecov.io/gh/vadikko2/python-cqrs) [![CodSpeed](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/vadikko2/python-cqrs?utm_source=badge) |
114119
| Documentation & community | [![Documentation](https://img.shields.io/badge/docs-mkdocs-blue?logo=readthedocs)](https://mkdocs.python-cqrs.dev/) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/vadikko2/python-cqrs) |
115120

121+
</div>
122+
116123
---
117124

118125
## Installation

docs/stylesheets/extra.css

Lines changed: 66 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
--timeweb-border: rgba(0, 102, 204, 0.15);
1313
--timeweb-border-dark: rgba(0, 102, 204, 0.2);
1414
--timeweb-shadow: rgba(0, 102, 204, 0.2);
15-
/* Тёмно-синяя шапка */
16-
--header-bg: #0d47a1;
15+
/* Шапка в тон картинки: тёмно-фиолетовый (кирпич, неон CQRS) */
16+
--header-bg: #311b92;
1717
}
1818

19-
/* Шапка сайта — тёмно-синий */
19+
/* Шапка сайта — тёмно-фиолетовый */
2020
.md-header,
2121
.md-tabs {
2222
background-color: var(--header-bg) !important;
@@ -143,6 +143,69 @@ body,
143143
line-height: 1.6;
144144
}
145145

146+
/* Project status table: full width, columns fill space, badges centered */
147+
.project-status-table-wrap {
148+
width: 100%;
149+
overflow-x: auto;
150+
}
151+
152+
/* Material wraps tables in .md-typeset__table — force full width */
153+
#project-status ~ .md-typeset__table,
154+
.project-status-table-wrap .md-typeset__table {
155+
width: 100% !important;
156+
max-width: none !important;
157+
display: block;
158+
}
159+
160+
.project-status-table-wrap .md-typeset__table table,
161+
#project-status ~ .md-typeset__table table,
162+
.project-status-table-wrap table,
163+
#project-status + table {
164+
width: 100% !important;
165+
max-width: none !important;
166+
table-layout: fixed;
167+
}
168+
169+
/* Columns fill entire table: Group no wrap, Badges takes the rest */
170+
#project-status ~ .md-typeset__table th:first-child,
171+
#project-status ~ .md-typeset__table td:first-child,
172+
.project-status-table-wrap th:first-child,
173+
.project-status-table-wrap td:first-child {
174+
width: 22%;
175+
min-width: 11em;
176+
box-sizing: border-box;
177+
white-space: nowrap;
178+
}
179+
180+
#project-status ~ .md-typeset__table th:nth-child(2),
181+
#project-status ~ .md-typeset__table td:nth-child(2),
182+
.project-status-table-wrap th:nth-child(2),
183+
.project-status-table-wrap td:nth-child(2) {
184+
width: 78%;
185+
box-sizing: border-box;
186+
text-align: center;
187+
}
188+
189+
/* Center badges in Badges column */
190+
#project-status ~ .md-typeset__table td:nth-child(2),
191+
#project-status ~ .md-typeset__table th:nth-child(2),
192+
.project-status-table-wrap td:nth-child(2),
193+
.project-status-table-wrap th:nth-child(2),
194+
#project-status + table td:nth-child(2),
195+
#project-status + table th:nth-child(2) {
196+
text-align: center !important;
197+
}
198+
199+
#project-status ~ .md-typeset__table td:nth-child(2) a,
200+
#project-status ~ .md-typeset__table td:nth-child(2) img,
201+
.project-status-table-wrap td:nth-child(2) a,
202+
.project-status-table-wrap td:nth-child(2) img,
203+
#project-status + table td:nth-child(2) a,
204+
#project-status + table td:nth-child(2) img {
205+
display: inline-block;
206+
vertical-align: middle;
207+
}
208+
146209
/* Код должен оставаться моноширинным */
147210
.md-typeset code,
148211
.md-typeset pre,

0 commit comments

Comments
 (0)