Skip to content

Commit fa67ba9

Browse files
author
Sam Schreiner
committed
Going back to lib per Brian's request;
keeping all doc-related scripts in separate folder;
1 parent 3e2963c commit fa67ba9

File tree

12 files changed

+15
-15
lines changed

12 files changed

+15
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Generate markdown documentation for JSON Schemas
44
Try it out at [brianwendt.github.io/json-schema-md-doc](https://brianwendt.github.io/json-schema-md-doc)
55

6-
Download [JSONSchemaMarkdown.js](https://raw.githubusercontent.com/BrianWendt/json-schema-md-doc/master/src/JSONSchemaMarkdown.js)
6+
Download [JSONSchemaMarkdown.js](https://raw.githubusercontent.com/BrianWendt/json-schema-md-doc/master/docs/lib/JSONSchemaMarkdown.js)
77

88
[Click here](https://github.com/BrianWendt/json-schema-md-doc/tree/master/samples/node) to see the Node example.
99

@@ -12,7 +12,7 @@ Download [JSONSchemaMarkdown.js](https://raw.githubusercontent.com/BrianWendt/js
1212
## Simple Implementation
1313
**HTML**
1414
``` html
15-
<script src="https://brianwendt.github.io/json-schema-md-doc/src/JSONSchemaMarkdown.js"></script>
15+
<script src="https://brianwendt.github.io/json-schema-md-doc/lib/JSONSchemaMarkdown.js"></script>
1616
```
1717
**Javascript**
1818
``` javascript
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/documentation/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ <h3> </h3>
6262
<article><h1>json-schema-md-doc</h1>
6363
<h2>Generate markdown documentation for JSON Schemas</h2>
6464
<p>Try it out at <a href="https://brianwendt.github.io/json-schema-md-doc">brianwendt.github.io/json-schema-md-doc</a></p>
65-
<p>Download <a href="https://raw.githubusercontent.com/BrianWendt/json-schema-md-doc/master/src/JSONSchemaMarkdown.js">JSONSchemaMarkdown.js</a></p>
65+
<p>Download <a href="https://raw.githubusercontent.com/BrianWendt/json-schema-md-doc/master/docs/lib/JSONSchemaMarkdown.js">JSONSchemaMarkdown.js</a></p>
6666
<p><a href="https://github.com/BrianWendt/json-schema-md-doc/tree/master/samples/node">Click here</a> to see the Node example.</p>
6767
<p><strong>NOTE:</strong> JSONSchemaMarkdown.js supports <a href="https://json-schema.org/">json-schema.org</a> <code>draft-7</code>. Previous drafts may not generate documentation correctly.</p>
6868
<h2>Simple Implementation</h2>
6969
<p><strong>HTML</strong></p>
70-
<pre class="prettyprint source lang-html"><code>&lt;script src=&quot;https://brianwendt.github.io/json-schema-md-doc/src/JSONSchemaMarkdown.js&quot;>&lt;/script>
70+
<pre class="prettyprint source lang-html"><code>&lt;script src=&quot;https://brianwendt.github.io/json-schema-md-doc/lib/JSONSchemaMarkdown.js&quot;>&lt;/script>
7171
</code></pre>
7272
<p><strong>Javascript</strong></p>
7373
<pre class="prettyprint source lang-javascript"><code>// simple schema for the example

docs/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
66
<title>JSON Schema to Markdown</title>
7-
<script src="lib/jquery-3.4.0.min.js"></script>
8-
<script src="../src/JSONSchemaMarkdown.js"></script>
9-
<script src="lib/index.js"></script>
10-
<link href="lib/bootstrap.min.css" rel="stylesheet" />
7+
<script src="doc-support/jquery-3.4.0.min.js"></script>
8+
<script src="lib/JSONSchemaMarkdown.js"></script>
9+
<script src="doc-support/index.js"></script>
10+
<link href="doc-support/bootstrap.min.css" rel="stylesheet" />
1111
</head>
1212
<body>
1313
<div class="container-fluid">
@@ -35,7 +35,7 @@ <h2>Output Markdown</h2>
3535
<p><a href="./issue.html" target="_blank" class="btn btn-warning">Submit Issue</a></p>
3636
<p>
3737
You may fully customize your output by extending the <code>JSONSchemaMarkdown</code> class to override the rendering methods.
38-
Download <a href="../src/JSONSchemaMarkdown.js" target="_blank">JSONSchemaMarkdown.js</a>
38+
Download <a href="lib/JSONSchemaMarkdown.js" target="_blank">JSONSchemaMarkdown.js</a>
3939
</p>
4040
<p>Find the <a href="https://github.com/BrianWendt/json_schema_markdown" target="_blank">BrianWendt/json_schema_markdown</a> project on GitHub.</p>
4141
<p class="small">License: <a href="https://github.com/BrianWendt/json_schema_markdown/blob/master/LICENSE" target="_blank">GNU General Public License v3.0</a></p>

docs/issue.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
66
<title>Submit Issue - JSON Schema to Markdown</title>
7-
<script src="lib/jquery-3.4.0.min.js"></script>
8-
<script src="lib/issue.js"></script>
9-
<link href="lib/bootstrap.min.css" rel="stylesheet" />
7+
<script src="doc-support/jquery-3.4.0.min.js"></script>
8+
<script src="doc-support/issue.js"></script>
9+
<link href="doc-support/bootstrap.min.css" rel="stylesheet" />
1010
</head>
1111
<body>
1212
<div class="container-fluid">
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "json-schema-md-doc",
33
"author": "Brian Wendt (https://github.com/BrianWendt)",
44
"description": "Generate markdown documentation for JSON Schemas",
5-
"main": "./src/JSONSchemaMarkdown.js",
5+
"main": "./docs/lib/JSONSchemaMarkdown.js",
66
"keywords": [
77
"json-schema"
88
],

0 commit comments

Comments
 (0)