techone / ldoc
A documentation generator for Laravel.
v0.4.0
2019-06-18 04:00 UTC
Requires
- erusev/parsedown: ^1.7
- illuminate/support: ~5.1
- symfony/yaml: ~3.0|~4.0
Requires (Dev)
- phpunit/phpunit: ~5.7|~6.0
This package is auto-updated.
Last update: 2024-12-18 19:36:26 UTC
README
Ldoc is a tool for quickly generating documents written in the PHP language. You write documents in Markdown (or other languages) and Ldoc generates files with a beautiful theme in seconds.
Installation
composer require techone/ldoc
Add the ServiceProvider in config/app.php
'providers' => [ /* * Package Service Providers... */ Ldoc\LdocServiceProvider::class, ]
To publish the config, run the vendor publish command:
php artisan vendor:publish
This will create a demo in storage
directory.
Then, you can access 'http://yourdomain.com/docs' and it will show the demo.
Configuration
Once Ldoc is installed, here’s what your project folder will look like:
The default document should be stored in the storage/docs
directory:
.
├── sidebar.yml
├── version.yml
├── _source
| ├── index.md
| └── configuration.md
└── v1
└── _source
├── index.md
└── configuration.md
License
This project is licensed under the Apache 2.0 license.