File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11sphinx
22sphinx_rtd_theme
33sphinx_copybutton
4+ sphinx_tabs
45pypandoc
56requests
Original file line number Diff line number Diff line change 3535 "sphinx.ext.autodoc" ,
3636 "sphinx.ext.napoleon" ,
3737 "sphinx.ext.autosummary" ,
38- "sphinx_copybutton"
38+ "sphinx_copybutton" ,
39+ "sphinx_tabs.tabs"
3940]
4041
4142master_doc = "index"
Original file line number Diff line number Diff line change @@ -7,12 +7,6 @@ Library specifically written in C for Pyrogram [1]_ as a Python extension.
77TgCrypto is a replacement for the much slower PyAES and implements the crypto algorithms Telegram requires, namely
88**AES-IGE 256 bit ** (used in MTProto v2.0) and **AES-CTR 256 bit ** (used for CDN encrypted files).
99
10- .. contents :: Contents
11- :backlinks: none
12- :local:
13-
14- -----
15-
1610Installation
1711------------
1812
@@ -27,10 +21,23 @@ The reason about being an optional package is that TgCrypto requires some extra
2721The errors you receive when trying to install TgCrypto are system dependent, but also descriptive enough to understand
2822what you should do next:
2923
30- - **Windows **: Install `Visual C++ 2015 Build Tools <https://www.microsoft.com/en-us/download/details.aspx?id=48159 >`_.
31- - **macOS **: A pop-up will automatically ask you to install the command line developer tools.
32- - **Linux **: Install a proper C compiler (``gcc ``, ``clang ``) and the Python header files (``python3-dev ``).
33- - **Termux (Android) **: Install ``clang `` package.
24+ .. tabs ::
25+
26+ .. tab :: Windows
27+
28+ Install `Visual C++ 2015 Build Tools <https://www.microsoft.com/en-us/download/details.aspx?id=48159 >`_.
29+
30+ .. tab :: macOS
31+
32+ A pop-up will automatically ask you to install the command line developer tools.
33+
34+ .. tab :: Linux
35+
36+ Install a proper C compiler (``gcc ``, ``clang ``) and the Python header files (``python3-dev ``).
37+
38+ .. tab :: Termux
39+
40+ Install ``clang `` package.
3441
3542.. _TgCrypto : https://github.com/pyrogram/tgcrypto
3643
You can’t perform that action at this time.
0 commit comments