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

Package Improvement with own command #27

Open
bedus-creation opened this issue Jul 7, 2021 · 0 comments
Open

Package Improvement with own command #27

bedus-creation opened this issue Jul 7, 2021 · 0 comments

Comments

@bedus-creation
Copy link
Collaborator

bedus-creation commented Jul 7, 2021

Currently this package generates documentation while executing test cases, which has the following limitation:

  1. Should run test cases to generates documentation.
  2. These package has dependency on phpunit, so either the generated documents should ships to source or need to install development dependency to generate docs in production during document generation.
  3. Document file is processed each time while running the test case.

Solution:

  • a list of commands will define to generate the documentation
    • php artisan docs to generate the docs from scratch
    • php artisan docs tests/Feature/Example.test to generate the docs on based on Example.test

Logic:

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

1 participant