From aec54b876320a2cc3c3c3ddb521d3e3498d3538b Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 21 Jun 2019 17:01:56 +0200 Subject: [PATCH] Improve docs --- docs/docs/INSTALLATION.md | 6 ++++-- docs/docs/LOGIN.md | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/docs/INSTALLATION.md b/docs/docs/INSTALLATION.md index bc984a0c..16778265 100644 --- a/docs/docs/INSTALLATION.md +++ b/docs/docs/INSTALLATION.md @@ -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) diff --git a/docs/docs/LOGIN.md b/docs/docs/LOGIN.md index c3d874ca..4f237180 100644 --- a/docs/docs/LOGIN.md +++ b/docs/docs/LOGIN.md @@ -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). -Next section \ No newline at end of file +Next section