Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to overwrite partials/info.blade.php #770

Open
erichowey opened this issue Jul 8, 2020 · 3 comments
Open

How to overwrite partials/info.blade.php #770

erichowey opened this issue Jul 8, 2020 · 3 comments

Comments

@erichowey
Copy link

Looking through the docs and the code, it doesn't appear that we're allowed to overwrite the text in the info block via config. It would be great if we could write our own partials and then specify to display it in the info section via config.

Example: apidoc.php

'info_blade' => '<blade_name_here>'
@senter-logistics
Copy link

+1

1 similar comment
@tiagointerativa
Copy link

+1

@tloader11
Copy link

tloader11 commented Aug 25, 2021

Please publish the views to your resources folder using the following command:

php artisan vendor:publish --provider="Mpociot\ApiDoc\ApiDocGeneratorServiceProvider" --tag=apidoc-views

This command should make the info.blade.php available under the /resources/views/vendor/apidoc/partials folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants