From d2285787a573959e339b6ecfa082ffb631b1f5a4 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Thu, 12 Apr 2012 20:10:23 +0200 Subject: [PATCH] Allowed to generate a static HTML version of the documentation --- README.md | 4 ++++ Resources/views/formatter_layout.html.php | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b18d17..90e1a12 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,10 @@ A command is provided in order to dump the documentation in `json`, `markdown`, The `--format` option allows to choose the format (default is: `markdown`). +A use case could be to generate a static version of your documentation: + + php app/console api:doc:dump --format=html > api.html + ## Credits ## diff --git a/Resources/views/formatter_layout.html.php b/Resources/views/formatter_layout.html.php index bf26180..3948d25 100644 --- a/Resources/views/formatter_layout.html.php +++ b/Resources/views/formatter_layout.html.php @@ -6,8 +6,10 @@ API documentation - - + +