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

Fixed script issue #6

Merged
merged 2 commits into from
Sep 29, 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
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

### Following are all the changes done to this action over time

---
## v0.0.2-beta.1

- Fixed Script Issue For Windows ( Thanks To Issue #5 By [@KulkarniSuraj](https://github.com/KulkarniSuraj) )

## v0.0.1

- Generates docs in both `standard` and `markdown` format

## v0.0.0-beta.1

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "SET NODE_ENV=development && node index.js "
"dev": "node index.js "
},
"repository": {
"type": "git",
Expand Down
42 changes: 39 additions & 3 deletions test/output/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,47 @@ <h2> Categorized APIs </h2><br/>
<div class="apis">
<h1>APIs</h1>
<div class="api">
<h2 id="sayHello"> <span class="title">/sayHello</span> - <span class="method">GET</span></div>
<h2 id="sayHello"> <span class="title">/sayHello</span> - <span class="method">GET</span> - <span class="label">Public</span></h2><br/><p class="description">Greets you with a hello message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas</p></div>
<div class="api">
<h2 id=""> <span class="title">*</span> - <span class="method">GET</span></div>
<h2 id=""> <span class="title">*</span> - <span class="method">GET</span> - <span class="label">Public</span></h2><br/><p class="description">Renders the entire application message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas message lroem epsuafas asfasga awfhafas</p></div>
<div class="api">
<h2 id="users"> <span class="title">/users</span> - <span class="method">POST</span></div></div>
<h2 id="users"> <span class="title">/users</span> - <span class="method">POST</span> - <span class="label">Private</span></h2><br/><p class="description">Creates a new user</p>
<br><br>

<b>Inputs</b>
<table>
<tr>
<th>Input</th>
<th>Description</th>
</tr>
<tr>
<td> name </td>
<td> The username by which he/she logs in </td>
</tr>

<tr>
<td> password </td>
<td> A string password </td>
</tr>
</table>
<br>

<b>Outputs</b>
<table>
<tr>
<th>Output</th>
<th>Description</th>
</tr>
<tr>
<td> userid </td>
<td> The id of the new user created </td>
</tr>

<tr>
<td> error </td>
<td> Error message if any </td>
</tr>
</table></div></div>
</body>
</html>