LaRecipe: Documentation with Markdown in Your Laravel Projects

LaRecipe is a code-driven package created by Saleem Hadad that provides an easy way to create beautiful documentation for your product or application inside your Laravel app using Markdown. To get started in your project, you need to install it via composer and run the setup command to publish the necessary assets and configuration: Out of the box, LaRecipe puts your documentation at the /docs URL, and you can version control your documentation alongside your application. The folder structure of a typical installation looks like this: The above example would have routes to /docs/1.0 and /docs/2.0. You can customize the base route, path to the documentation files, and the landing page. For example, configuring the landing configuration option to overview would map to You can also configure the default version, and control published versions of the documentation:

Read Full Article at

Tags: , , , , , , , , , , , , , , , , , , , , ,