Browse Source

修订文档

drake 3 năm trước cách đây
mục cha
commit
9aca0ce14b
2 tập tin đã thay đổi với 4 bổ sung5 xóa
  1. 1 1
      docs/updates.md
  2. 3 4
      mkdocs.yml

+ 1 - 1
docs/updates.md

@@ -62,7 +62,7 @@ NetException子类不会被ConvertException包裹, 所以要捕获转换器中
 3. 提供兼容Android4.4(API level 19)的版本: [Net-okhttp3](https://github.com/liangjingkanji/Net-okhttp3)
 
 ## 3.0.3
-1. 添加`onResult`函数来执行队列请求: [队列请求](enqueue-request.md#onresult)
+1. 添加`onResult`函数来执行队列请求: [队列请求](callback.md#onresult)
 2. 添加`toResult`函数来执行同步请求: [同步请求](sync-request.md)
 3. 请求体日志支持JSON/文本类型
 4. LogRecordInterceptor暴露`requestString/responseString`实现函数用于继承实现自定义需求

+ 3 - 4
mkdocs.yml

@@ -14,14 +14,13 @@ docs_dir: docs
 theme:
   name: material
   custom_dir: docs/material
-
   palette:
     scheme: drake
     primary: white
-
   font: false
-
-  language: zh
+  language: 'zh'
+  features:
+    - search.highlight
 
 markdown_extensions:
   - toc: