Improve docs

This commit is contained in:
Daniil Gentili 2019-06-21 17:01:56 +02:00
parent ff96248ebd
commit aec54b8763
2 changed files with 7 additions and 5 deletions

View File

@ -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)

View File

@ -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>