mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Allowed to generate a static HTML version of the documentation
This commit is contained in:
parent
687f702791
commit
d2285787a5
@ -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 ##
|
||||
|
||||
|
@ -6,8 +6,10 @@
|
||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
|
||||
<title>API documentation</title>
|
||||
<link href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700" rel="stylesheet" type="text/css" />
|
||||
<link href="/bundles/nelmioapi/css/screen.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
|
||||
<style type="text/css">
|
||||
<?php echo file_get_contents(__DIR__ . '/../public/css/screen.css'); ?>
|
||||
</style>
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
|
Loading…
x
Reference in New Issue
Block a user