Browse Source

Fix docs TOC view

shalvah 5 years ago
parent
commit
05aefbddb2
2 changed files with 2 additions and 1 deletions
  1. 1 0
      docs/conf.py
  2. 1 1
      docs/documenting-endpoint-metadata.md

+ 1 - 0
docs/conf.py

@@ -57,5 +57,6 @@ master_doc = 'index'
 def setup(app):
     app.add_config_value('recommonmark_config', {
         'auto_toc_tree_section': 'Contents',
+        'auto_toc_maxdepth': 3,
     }, True)
     app.add_transform(AutoStructify)

+ 1 - 1
docs/documenting-endpoint-metadata.md

@@ -58,7 +58,7 @@ class UserController extends Controller
 }
 ``` 
 
-![Doc block result](images/endpoint-groups.png)
+![](images/endpoint-groups.png)
 
 Grouping endpoints is optional. Any endpoints not in a group will be placed in a default group, "Endpoints".