mirror of
https://github.com/civsocit/olgram.git
synced 2025-05-24 09:03:25 +00:00
flake8
This commit is contained in:
parent
0881c86349
commit
ae45374490
25
.readthedocs.yaml
Normal file
25
.readthedocs.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Read the Docs configuration file for Sphinx projects
|
||||||
|
|
||||||
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||||
|
|
||||||
|
|
||||||
|
# Required
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
|
||||||
|
# Set the OS, Python version and other tools you might need
|
||||||
|
|
||||||
|
build:
|
||||||
|
os: ubuntu-22.04
|
||||||
|
tools:
|
||||||
|
python: "3.8"
|
||||||
|
jobs:
|
||||||
|
post_create_environment:
|
||||||
|
- python -m pip install sphinx_rtd_theme
|
||||||
|
|
||||||
|
# Build documentation in the "docs/" directory with Sphinx
|
||||||
|
|
||||||
|
sphinx:
|
||||||
|
|
||||||
|
configuration: docs/source/conf.py
|
|
@ -200,7 +200,8 @@ async def send_bot_settings_menu(bot: Bot, call: types.CallbackQuery):
|
||||||
<a href="https://olgram.readthedocs.io/ru/latest/options.html#threads">Потоки сообщений</a>: <b>{0}</b>
|
<a href="https://olgram.readthedocs.io/ru/latest/options.html#threads">Потоки сообщений</a>: <b>{0}</b>
|
||||||
<a href="https://olgram.readthedocs.io/ru/latest/options.html#user-info">Данные пользователя</a>: <b>{1}</b>
|
<a href="https://olgram.readthedocs.io/ru/latest/options.html#user-info">Данные пользователя</a>: <b>{1}</b>
|
||||||
<a href="https://olgram.readthedocs.io/ru/latest/options.html#antiflood">Антифлуд</a>: <b>{2}</b>
|
<a href="https://olgram.readthedocs.io/ru/latest/options.html#antiflood">Антифлуд</a>: <b>{2}</b>
|
||||||
<a href="https://olgram.readthedocs.io/ru/latest/options.html#always_second_message">Автоответчик всегда</a>: <b>{3}</b>
|
<a href="https://olgram.readthedocs.io/ru/latest/options.html#always_second_message">Автоответчик всегда</a>: <b>{3}
|
||||||
|
</b>
|
||||||
""")).format(thread_turn, info_turn, antiflood_turn, enable_always_second_message)
|
""")).format(thread_turn, info_turn, antiflood_turn, enable_always_second_message)
|
||||||
|
|
||||||
if is_promo:
|
if is_promo:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user