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

Adds new page for installation to documentation #13

Merged
merged 2 commits into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/book/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**This is only a placeholder.**

The content of this page can be found under:

https://github.com/laminas/documentation-theme/blob/master/theme/pages/installation.html
7 changes: 1 addition & 6 deletions docs/book/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ can be paired with any IoC container that implements this interface, such as

## 1. Installation

If you haven't already, [install Composer](https://getcomposer.org/).
Once you have, you can install laminas-di:

```bash
$ composer require laminas/laminas-di
```
Before starting, make sure laminas-di is [installed and configured](installation.md).

## 2. Configuring the injector

Expand Down
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ site_dir: docs/html
nav:
- Home: index.md
- Introduction: intro.md
- Installation: installation.md
- "Quick Start": quick-start.md
- Reference:
- "PSR-11 Support": psr-11.md
Expand All @@ -24,3 +25,6 @@ site_description: "Automated dependency injection for PSR-11 containers"
repo_url: 'https://github.com/laminas/laminas-di'
extra:
project: Components
installation:
config_provider_class: 'Laminas\Di\ConfigProvider'
module_class: 'Laminas\Di\Module'