فهرست منبع

Bugfix: delete group files when there's no more data for that group

shalvah 5 سال پیش
والد
کامیت
101231d0a1
2فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 3 0
      docs/conf.py
  2. 1 1
      docs/migrating.md

+ 3 - 0
docs/conf.py

@@ -42,6 +42,8 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
 
 # -- Options for HTML output -------------------------------------------------
 
+pygments_style = 'sphinx'
+
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
@@ -58,5 +60,6 @@ master_doc = 'index'
 def setup(app):
     app.add_config_value('recommonmark_config', {
         'auto_toc_tree_section': 'Contents',
+        'enable_eval_rst': True,
     }, True)
     app.add_transform(AutoStructify)

+ 1 - 1
docs/migrating.md

@@ -27,7 +27,7 @@ If you've modified your generated Blade views, you should also publish the new o
 php artisan vendor:publish --provider="Knuckles\Scribe\ScribeServiceProvider" --tag=scribe-views
 ```
 
-```important:: If you've modified the generated Markdown or added prepend/append files, you should copy them to a separate folder (not in `resources/docs`). After generating the new docs, you'll have to manually add your changes in.
+``` important:: If you've modified the generated Markdown or added prepend/append files, you should copy them to a separate folder (not in `resources/docs`). After generating the new docs, you'll have to manually add your changes in.
 ```
 
 _After you've done all of the above_, delete your `resources/docs/` and `public/docs` folders, to prevent any conflicts with the new ones we'll generate. If you're using `laravel` type output, you can also delete `resources/views/apidoc/`.