mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix night-mode stylesheet. Small changes in docs.
This commit is contained in:
parent
ba7d2323c8
commit
18854185b2
6 changed files with 75 additions and 31 deletions
|
|
@ -14,3 +14,9 @@ code, kbd, pre {
|
|||
.highlight * {
|
||||
background: #f0f0f0;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.highlight * {
|
||||
background: #424242;
|
||||
}
|
||||
}
|
||||
|
|
@ -4,8 +4,28 @@ InputFile
|
|||
|
||||
This object represents the contents of a file to be uploaded. Must be posted using multipart/form-data in the usual way that files are uploaded via the browser.
|
||||
|
||||
.. automodule:: aiogram.types.input_file
|
||||
Read more at :doc:`../upload_file.rst`
|
||||
|
||||
.. autoclass:: aiogram.types.input_file.InputFile
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:special-members: __init__
|
||||
:undoc-members: True
|
||||
:undoc-members: True
|
||||
|
||||
.. autoclass:: aiogram.types.input_file.BufferedInputFile
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:special-members: __init__
|
||||
:undoc-members: True
|
||||
|
||||
.. autoclass:: aiogram.types.input_file.FSInputFile
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:special-members: __init__
|
||||
:undoc-members: True
|
||||
|
||||
.. autoclass:: aiogram.types.input_file.URLInputFile
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:special-members: __init__
|
||||
:undoc-members: True
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ extensions = [
|
|||
"sphinx.ext.viewcode",
|
||||
"sphinx.ext.autodoc",
|
||||
"sphinx.ext.ifconfig",
|
||||
"sphinx.ext.intersphinx",
|
||||
"sphinx-prompt",
|
||||
"sphinx_substitution_extensions",
|
||||
"sphinx_copybutton",
|
||||
|
|
|
|||
|
|
@ -28,12 +28,22 @@ Using Pipenv
|
|||
|
||||
pipenv install aiogram
|
||||
|
||||
Using AUR
|
||||
---------
|
||||
*aiogram* is also available in Arch User Repository, so you can install this framework on any
|
||||
Arch-based distribution like ArchLinux, Antergos, Manjaro, etc. To do this, use your favorite
|
||||
AUR-helper and install `python-aiogram <https://aur.archlinux.org/packages/python-aiogram/>`_ package.
|
||||
Using poetry
|
||||
------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
poetry add aiogram
|
||||
|
||||
Using Pacman
|
||||
------------
|
||||
*aiogram* is also available in Arch Linux Repository, so you can install this framework on any
|
||||
Arch-based distribution like Arch Linux, Antergos, Manjaro, etc. To do this, just use pacman
|
||||
to install the `python-aiogram <https://archlinux.org/packages/community/any/python-aiogram/>`_ package:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pacman -S python-aiogram
|
||||
|
||||
Development build (3.x)
|
||||
=======================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue