Download the PHP package cable8mm/document2 without Composer
On this page you can find all versions of the php package cable8mm/document2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package document2
Document2 - Documentation Generator
The Document2 is to generate Laravel style documents to static website.
We have done our best to create a convenient tool for you all. Take a moment to see how it works.
Features
- [x] Generate static website from documentations
- [x] Versions are supported
- [x] Templates are supported
- [x] Testing available locally
- [x] Dark theme is supported
- [ ] Skeleton Theme is supported
- [ ] Search is supported
- [ ] Publish GitHub Pages with actions
- [ ] SEO is supported
Installation
Usage
Three official three templates are available. We can introduce them for creating as soon as possible.
Select your template:
And clone the documentation files:
Finally, run the following command to generate the static htmls
If Laravel Valet or Laravel Herd has been installed, you can visit https://document2.test.
Development Templates
Create
and visit http://localhost:5173/. The port can be different.
Reserved Placeholders
{{ section_title }} : replaces the section title
{{ title }} : replaces the title
{{ version }} : replaces the documentation version
{{ canonical }} : replaces the canonical url of the documentation
{{ app_url }} : replaces the documentation url
{{ original_url }} : replaces the original website url out of docs
Reserved Dividers
<!-- doc.navigator.start -->
The navigator html is inserted in this area
<!-- doc.navigator.end -->
<!-- version.options.start -->
The option html is inserted in this area
<!-- version.options.end -->
<!-- doc.content.start -->
The markdown documentation html is inserted in this area
<!-- doc.content.end -->
Testing
Formatting
License
The Document2 project is open-sourced software licensed under the MIT license.
All versions of document2 with dependencies
cable8mm/commonmark-unfenced Version ^1.0
illuminate/log Version ^10.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
illuminate/view Version ^9.0|^10.0
laravel-zero/framework Version ^10.2
nunomaduro/termwind Version ^1.15.1
symfony/dom-crawler Version ^6.0|^7.0
torchlight/torchlight-commonmark Version ^0.5.5