浏览代码

Update docs

shalvah 5 年之前
父节点
当前提交
9ff0a67842
共有 2 个文件被更改,包括 3 次插入4 次删除
  1. 1 2
      CHANGELOG.md
  2. 2 2
      docs/plugins.md

+ 1 - 2
CHANGELOG.md

@@ -1,8 +1,7 @@
 # Changelog
 # Changelog
 All notable changes to this project will be documented in this file.
 All notable changes to this project will be documented in this file.
 
 
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
-and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project aims to adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 
 ## Unreleased
 ## Unreleased
 ### Added
 ### Added

+ 2 - 2
docs/plugins.md

@@ -2,7 +2,7 @@
 You can use plugins to alter Scribe's behaviour when extracting info about your endpoints. For instance, suppose all your listing endpoints support pagination query parameters `ageSize` and `page`, and yopu don't want toannotate with `@queryParam` on each method. You can create a plugin that adds this to all your query parameters. Let's see how to do this.
 You can use plugins to alter Scribe's behaviour when extracting info about your endpoints. For instance, suppose all your listing endpoints support pagination query parameters `ageSize` and `page`, and yopu don't want toannotate with `@queryParam` on each method. You can create a plugin that adds this to all your query parameters. Let's see how to do this.
 
 
 ## The stages of route processing
 ## The stages of route processing
-Route processing is performed in six stages, in this order:
+Route processing is performed in the following stages, in this order:
 - metadata (this includes `title`, `description`, `groupName`, `groupDescription`, and authentication status (`authenticated`))
 - metadata (this includes `title`, `description`, `groupName`, `groupDescription`, and authentication status (`authenticated`))
 - urlParameters
 - urlParameters
 - queryParameters
 - queryParameters
@@ -116,7 +116,7 @@ class AddPaginationParameters extends Strategy
 }
 }
 ```
 ```
 
 
-Alternatively, if you're creating a strategy that you'd like people to download and install via Composer, you can generate one from [this GitHub template](). 
+Alternatively, if you're creating a strategy that you'd like people to download and install via Composer, you can generate one from [this GitHub template](https://github.com/shalvah/scribe-plugin-template). 
 
 
 ## Writing strategies
 ## Writing strategies
 Let's take a look at the contents of our Strategy class.
 Let's take a look at the contents of our Strategy class.