Improve docs
This commit is contained in:
parent
ff96248ebd
commit
aec54b8763
@ -25,8 +25,10 @@ require_once 'madeline.php';
|
||||
|
||||
This code will automatically download, auto-update and include MadelineProto.
|
||||
|
||||
If you want, you can set a `MADELINE_BRANCH` constant that defines which branch of MadelineProto madeline.php should load.
|
||||
When the constant is not set, the latest stable release is loaded; if the value is an empty string, the `master` branch is loaded; otherwise, the selected branch name is loaded.
|
||||
If you want, you can set a `MADELINE_BRANCH` constant before including `madeline.php`, that will define which branch of MadelineProto madeline.php should load.
|
||||
When the constant is not set, the latest stable release is loaded.
|
||||
If the value is an empty string, the `master` branch is loaded.
|
||||
Otherwise, the selected branch name or tag is loaded.
|
||||
|
||||
|
||||
## Simple (manual)
|
||||
|
@ -1,9 +1,9 @@
|
||||
---
|
||||
title: Logging in
|
||||
title: Login
|
||||
description: There are many ways you can login with MadelineProto.
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Logging in
|
||||
# Login
|
||||
|
||||
There are many ways you can login with MadelineProto.
|
||||
|
||||
@ -134,4 +134,4 @@ $result = yield $MadelineProto->update_2fa(['password' => 'current password', 'n
|
||||
|
||||
If you want to logout, you can use the update_2fa function, see [here for the parameters and the result](https://docs.madelineproto.xyz/update_2fa.html).
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/FEATURES.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/FEATURES.html">Next section</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user