docs(mddocs): add en mddocs from docs_rework#183
docs(mddocs): add en mddocs from docs_rework#183annamikhailovapsk wants to merge 2 commits intodevelopfrom
Conversation
| deactivate "Client" | ||
| @enduml | ||
| ``` | ||
| <!-- |
There was a problem hiding this comment.
Здесь и в dummy.md mermaid диаграмма закомментирована, в ldap.md нет
|
|
||
| After successful auth, username is saved to backend database. It is then used for creating audit records for any object change, see `changed_by` field. | ||
|
|
||
| ### WARNING |
There was a problem hiding this comment.
Может тут имеет смысл использовать admonition вместо заголовка?
| - you can search for user by `uid`, e.g. `(uid={login})` or `(sAMAccountName={login})` | ||
| - you can search for user by several attributes, e.g. `(|(uid={login})(mail={login}@domain.com))` | ||
| - you can filter for entries, like `(&(uid={login})(objectClass=person)` | ||
| - you can filter for users matching a specific group or some other condition, like `(&(uid={login})(memberOf=cn=MyPrettyGroup,ou=Groups,dc=mycompany,dc=com))` |
There was a problem hiding this comment.
| - you can search for user by `uid`, e.g. `(uid={login})` or `(sAMAccountName={login})` | |
| - you can search for user by several attributes, e.g. `(|(uid={login})(mail={login}@domain.com))` | |
| - you can filter for entries, like `(&(uid={login})(objectClass=person)` | |
| - you can filter for users matching a specific group or some other condition, like `(&(uid={login})(memberOf=cn=MyPrettyGroup,ou=Groups,dc=mycompany,dc=com))` | |
| - search for user by `uid`, e.g. `(uid={login})` or `(sAMAccountName={login})` | |
| - search for user by several attributes, e.g. `(|(uid={login})(mail={login}@domain.com))` | |
| - filter for entries, like `(&(uid={login})(objectClass=person)` | |
| - filter for users matching a specific group or some other condition, like `(&(uid={login})(memberOf=cn=MyPrettyGroup,ou=Groups,dc=mycompany,dc=com))` |
Это ведь делает AuthProvider, не пользователь, не совсем понятно кто есть you. Возможно это проблема в исходной доке
| @@ -0,0 +1,3 @@ | |||
| .logo { | |||
There was a problem hiding this comment.
Пути должны быть вида mkdocs/ вместо mkdocs/en/
| ## Example metrics | ||
|
|
||
| ```default | ||
| # Generated in CI |
There was a problem hiding this comment.
Что-то странное, здесь и ниже по идее должен подставляться .prom файл, который CI наполняет примером в момент сборки доки
|
|
||
| ### `docker-compose.yml` | ||
|
|
||
| ```default |
There was a problem hiding this comment.
Копировать docker-compose.yml не надо, нужно его подставлять и выделять нужные строки, которые важны для конкретного компонента
|
|
||
| <!-- this page cannot be properly rendered in local environment, it should be build in CI first --> | ||
| <!--!DOCTYPE html> | ||
| <html lang="en"> |
There was a problem hiding this comment.
Не совсем понятно, зачем тут кусок html внутри .md, и почему он закомментирован
| @@ -0,0 +1,5 @@ | |||
| # 0.0.10 (2024-01-22) { #0.0.10 } | |||
There was a problem hiding this comment.
Есть подозрение что якоря не могут содержать точки, и они должны выглядеть как version-0-0-10. Но это нужно проверить
| ```{eval-rst} | ||
| .. towncrier-draft-entries:: |release| [UNRELEASED] |
There was a problem hiding this comment.
Можно временно это дропнуть, и позже перейти на интеграцию mkdocs с towncrier
| <!-- | ||
| ```{eval-rst} | ||
| .. autopydantic_model:: HWMHistoryResponseV1 | ||
| :model-show-field-summary: false | ||
| ``` | ||
| --> |
There was a problem hiding this comment.
Кажется эти закомментированные блоки нам не нужны, не?
| ```{eval-rst} | ||
| .. currentmodule:: horizon.commons.schemas.v1.user | ||
| ``` --> | ||
| <!-- TODO: fix docstring extraction --> |
|
|
||
| ## Base | ||
|
|
||
| ### *class* horizon.commons.exceptions.base.ApplicationError |
There was a problem hiding this comment.
Из docstring это не извлекается?
| @enduml | ||
| ``` | ||
|
|
||
| ```mermaid |
| @@ -0,0 +1,167 @@ | |||
| # SPDX-FileCopyrightText: 2025-present MTS PJSC | |||
There was a problem hiding this comment.
Это кусок конфига для sphinx, он точно здесь нужен? Как и mkdocs/Makefile и mkdocs/make.bat
Change Summary
Created en folder documentation with documents in markdown
Related issue number
[DOP-28349]
Checklist
docs/changelog/next_release/<pull request or issue id>.<change type>.rstfile added describing change(see CONTRIBUTING.rst for details.)