# 文档

* [文档概览](overview.html.md)
  * [在 `INSTALLED_APPS` 中包含 `'wagtail.documents'`](overview.html.md#installed-apps-wagtail-documents)
  * [设置 URL](overview.html.md#url)
  * [在页面中使用文档](overview.html.md#id2)
  * [在 `RichTextFields` 中使用文档](overview.html.md#richtextfields)
  * [在 `StreamField` 中使用文档](overview.html.md#streamfield)
  * [文档与集合](overview.html.md#id3)
  * [把文档设为私有](overview.html.md#id4)
  * [API 访问](overview.html.md#api)
* [自定义文档模型](custom_document_model.html.md)
  * [引用文档模型](custom_document_model.html.md#module-wagtail.documents)
* [自定义文档上传表单](custom_document_upload_form.html.md)
* [存储与服务](storing_and_serving.html.md)
  * [文件存储位置](storing_and_serving.html.md#id2)
  * [提供文档服务](storing_and_serving.html.md#id3)
  * [内容类型](storing_and_serving.html.md#id5)
  * [内联内容类型](storing_and_serving.html.md#id6)
  * [文件扩展名](storing_and_serving.html.md#id7)
  * [文件大小](storing_and_serving.html.md#id8)
  * [病毒扫描](storing_and_serving.html.md#document-antivirus-scanning)
  * [文档需要密码的模板](storing_and_serving.html.md#id10)
* [上传时生成标题](title_generation_on_upload.html.md)
  * [DOM 事件](title_generation_on_upload.html.md#dom)
  * [代码示例](title_generation_on_upload.html.md#id2)
* [测试文档](testing.html.md)
  * [测试文档上传表单](testing.html.md#id2)
