Skip to content

Commit b4f0f41

Browse files
committed
Small documentation fixes
1 parent bf71989 commit b4f0f41

2 files changed

Lines changed: 77 additions & 77 deletions

File tree

docs/source/faq.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To challenge the framework, the creator is constantly keeping a public
6868
`welcome bot <https://github.com/pyrogram/pyrogram/blob/develop/examples/welcomebot.py>`_ online 24/7 on his own,
6969
relatively-busy account for well over a year now.
7070

71-
In addition to that, about six months ago, one of the most popular Telegram bot has been rewritten
71+
In addition to that, about six months ago, one of the most popular Telegram bot has been rewritten from scratch
7272
:doc:`using Pyrogram <powered-by>` and is serving more than 200,000 Monthly Active Users since
7373
then, uninterruptedly and without any need for restarting it.
7474

@@ -134,8 +134,8 @@ If you -- even accidentally -- fail to do so, all the previous session copies wi
134134
and eventually the server will start throwing the error ``[406 AUTH_KEY_DUPLICATED]``, inviting you to login again.
135135

136136
Why is that so? Because the server has recognized two identical sessions are running in two different locations, and
137-
concludes it could possibly be due to a cloned/stolen device. Having the session ended in such occasions will protect
138-
the user's privacy.
137+
concludes it could possibly be due to a cloned/stolen device. Having the session terminated in such occasions will
138+
protect the user's privacy.
139139

140140
So, the only correct way to run multiple clients on the same account is authorizing your account (either user or bot)
141141
from the beginning every time, and use one separate session for each parallel client you are going to use.

docs/source/index.rst

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,77 @@
11
Welcome to Pyrogram
22
===================
33

4+
.. toctree::
5+
:hidden:
6+
:caption: Introduction
7+
8+
intro/quickstart
9+
intro/install
10+
intro/setup
11+
12+
.. toctree::
13+
:hidden:
14+
:caption: Getting Started
15+
16+
start/auth
17+
start/invoking
18+
start/updates
19+
start/errors
20+
21+
.. toctree::
22+
:hidden:
23+
:caption: API Reference
24+
25+
api/client
26+
api/methods
27+
api/types
28+
api/bound-methods
29+
api/handlers
30+
api/decorators
31+
api/filters
32+
api/errors
33+
34+
.. toctree::
35+
:hidden:
36+
:caption: Topic Guides
37+
38+
topics/use-filters
39+
topics/create-filters
40+
topics/more-on-updates
41+
topics/config-file
42+
topics/smart-plugins
43+
topics/auto-auth
44+
topics/session-settings
45+
topics/tgcrypto
46+
topics/storage-engines
47+
topics/text-formatting
48+
topics/serialize
49+
topics/proxy
50+
topics/bots-interaction
51+
topics/mtproto-vs-botapi
52+
topics/debugging
53+
topics/test-servers
54+
topics/advanced-usage
55+
topics/voice-calls
56+
57+
.. toctree::
58+
:hidden:
59+
:caption: Meta
60+
61+
faq
62+
glossary
63+
powered-by
64+
support-pyrogram
65+
license
66+
releases/index
67+
68+
.. toctree::
69+
:hidden:
70+
:caption: Telegram API
71+
72+
telegram/functions/index
73+
telegram/types/index
74+
475
.. raw:: html
576

677
<div align="center">
@@ -54,7 +125,7 @@ order using the :guilabel:`Next` button at the end of each page. Here below you
54125
relevant pages for a quick access.
55126

56127
First Steps
57-
-----------
128+
^^^^^^^^^^^
58129

59130
.. hlist::
60131
:columns: 2
@@ -65,7 +136,7 @@ First Steps
65136
- :doc:`Error Handling <start/errors>`: How to handle API errors correctly.
66137

67138
API Reference
68-
-------------
139+
^^^^^^^^^^^^^
69140

70141
.. hlist::
71142
:columns: 2
@@ -76,7 +147,7 @@ API Reference
76147
- :doc:`Bound Methods <api/bound-methods>`: List of convenient bound methods.
77148

78149
Meta
79-
----
150+
^^^^
80151

81152
.. hlist::
82153
:columns: 2
@@ -88,75 +159,4 @@ Meta
88159
- :doc:`About the License <license>`: Information about the Project license.
89160
- :doc:`Release Notes <releases/index>`: Release notes for Pyrogram releases.
90161

91-
.. toctree::
92-
:hidden:
93-
:caption: Introduction
94-
95-
intro/quickstart
96-
intro/install
97-
intro/setup
98-
99-
.. toctree::
100-
:hidden:
101-
:caption: Getting Started
102-
103-
start/auth
104-
start/invoking
105-
start/updates
106-
start/errors
107-
108-
.. toctree::
109-
:hidden:
110-
:caption: API Reference
111-
112-
api/client
113-
api/methods
114-
api/types
115-
api/bound-methods
116-
api/handlers
117-
api/decorators
118-
api/filters
119-
api/errors
120-
121-
.. toctree::
122-
:hidden:
123-
:caption: Topic Guides
124-
125-
topics/use-filters
126-
topics/create-filters
127-
topics/more-on-updates
128-
topics/config-file
129-
topics/smart-plugins
130-
topics/auto-auth
131-
topics/session-settings
132-
topics/tgcrypto
133-
topics/storage-engines
134-
topics/text-formatting
135-
topics/serialize
136-
topics/proxy
137-
topics/bots-interaction
138-
topics/mtproto-vs-botapi
139-
topics/debugging
140-
topics/test-servers
141-
topics/advanced-usage
142-
topics/voice-calls
143-
144-
.. toctree::
145-
:hidden:
146-
:caption: Meta
147-
148-
faq
149-
glossary
150-
powered-by
151-
support-pyrogram
152-
license
153-
releases/index
154-
155-
.. toctree::
156-
:hidden:
157-
:caption: Telegram API
158-
159-
telegram/functions/index
160-
telegram/types/index
161-
162162
Last updated on |today|

0 commit comments

Comments
 (0)