ソースを参照

Merge remote-tracking branch 'origin/master'

shalvah 4 年 前
コミット
d9cf2e3802
1 ファイル変更4 行追加8 行削除
  1. 4 8
      docs/customization.md

+ 4 - 8
docs/customization.md

@@ -42,14 +42,10 @@ The contents of `prepend.md` will be added after the Introduction section, while
 
 ## Adding more example languages
 For each endpoint, an example request is shown in [each language configured](config.html#example-languages). To add a language which is not supported by this package, you'll have to create your own view for how an example should render. Here's how:
- 
-First, publish the vendor views by running:
- 
- ```bash
- php artisan vendor:publish --provider="Knuckles\Scribe\ScribeServiceProvider" --tag=scribe-views
- ```
- 
-This will copy the views to `resources/views/vendor/scribe`.
+
+First, you'll need to publish the vendor views to to `resources/views/vendor/scribe`:
+- **Laravel**: Run `php artisan vendor:publish --provider="Knuckles\Scribe\ScribeServiceProvider" --tag=scribe-views`
+- **Lumen**: Create the `resources/views/vendor/scribe` directory and copy the contents of `vendor/knuckleswtf/scribe/resources/views/` into it.
  
 Next, create a file called `{language-name}.blade.php` (for example, `ruby.blade.php`) in the `partials/example-requests` directory.