Download the PHP package reliqarts/doc-weaver without Composer
On this page you can find all versions of the php package reliqarts/doc-weaver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download reliqarts/doc-weaver
More information about reliqarts/doc-weaver
Files in reliqarts/doc-weaver
Package doc-weaver
Short Description An easy-to-use product documentation package for Laravel.
License MIT
Informations about the package doc-weaver
Laravel Docweaver
An easy-to-use product documentation package for Laravel.
Docweaver is suitable for product documentation and/or knowledge bases. Converts folder(s) of .md files into full-bread complete documentation. Docweaver is inspired by Laravel's very own documentation.
Key Features
Docweaver provides the following features and more out of the box.
- Multi-product support
- Docweaver supports multiple products out-the-box. Just create your product folders and drop in your documentation version directories.
- Plug and play
- Just install and configure and you're golden! (approx. 2min)
Installation & Usage
Installation
Install via composer; in console:
or require in composer.json:
then run composer update
in your terminal to pull it in.
Once this has finished, you will need to add the service provider to the providers array in your app.php config as follows: (n.b. This package supports Laravel's package auto-discovery; if you are using Laravel 5.5 or above you can skip this step.)
Ensure that your applications public storage directory is linked and accessible via the browser.
see: https://laravel.com/docs/master/filesystem
Finally, publish package resources and configuration:
You may opt to publish only configuration by using the docweaver-config
tag:
Setup
Set the desired environment variables so the package knows your image model, controller(s), etc.
Example environment config:
These variables, and more are explained within the config file.
Documentation Directory
The documentation directory is the place where you put your project documentation directories. It may be changed with the config key docweaver.storage.dir
or the environment variable DOCWEAVER_DIR
. The default documentation directory is resources/docs
.
Structure
Each project directory should contain separate folders for each documented version. Each version must have at least two (2) markdown files, namely documentation.md
and installation.md
, which serve as the sidebar and initial documentation pages respectively.
Meta File
Configurations for each doc version may be placed in .docweaver.yml
. The supported settings are:
-
name
Product name.
-
description
Product description.
-
image_url
Product image url. This may be an absolute url (e.g.
http://mywebsite.com/myimage.jpg
) or an image found in theimages
resource directory.To use the
foo.jpg
in the images directory you would setimage_url
to{{docs}}/images/foo.jpg
.For more info. see: Assets
Acknowledgements
This package was inspired by Laravel's documentation and uses its underlying mechanism as a base.
All versions of doc-weaver with dependencies
ext-json Version *
illuminate/support Version 9 - 10
league/commonmark Version ^2.2
monolog/monolog Version 1.24 - 3
nesbot/carbon Version ^2.0
reliqarts/laravel-common Version 5.0 - 6
symfony/browser-kit Version >=4.3
symfony/process Version >=4.0
symfony/yaml Version >=4.3