File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3
3
## Generate markdown documentation for JSON Schemas
4
4
Try it out at [ brianwendt.github.io/json-schema-md-doc] ( https://brianwendt.github.io/json-schema-md-doc )
5
5
6
- Download [ JSONSchemaMarkdown.js] ( https://raw.githubusercontent.com/BrianWendt/json-schema-md-doc/master/docs/lib /JSONSchemaMarkdown.js )
6
+ Download [ JSONSchemaMarkdown.js] ( https://raw.githubusercontent.com/BrianWendt/json-schema-md-doc/master/src /JSONSchemaMarkdown.js )
7
7
8
8
[ Click here] ( https://github.com/BrianWendt/json-schema-md-doc/tree/master/samples/node ) to see the Node example.
9
9
@@ -12,7 +12,7 @@ Download [JSONSchemaMarkdown.js](https://raw.githubusercontent.com/BrianWendt/js
12
12
## Simple Implementation
13
13
** HTML**
14
14
``` html
15
- <script src =" https://brianwendt.github.io/json-schema-md-doc/lib /JSONSchemaMarkdown.js" ></script >
15
+ <script src =" https://brianwendt.github.io/json-schema-md-doc/src /JSONSchemaMarkdown.js" ></script >
16
16
```
17
17
** Javascript**
18
18
``` javascript
Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ <h3> </h3>
62
62
< article > < h1 > json-schema-md-doc</ h1 >
63
63
< h2 > Generate markdown documentation for JSON Schemas</ h2 >
64
64
< 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/docs/lib /JSONSchemaMarkdown.js "> JSONSchemaMarkdown.js</ a > </ p >
65
+ < p > Download < a href ="https://raw.githubusercontent.com/BrianWendt/json-schema-md-doc/master/src /JSONSchemaMarkdown.js "> JSONSchemaMarkdown.js</ a > </ p >
66
66
< p > < a href ="https://github.com/BrianWendt/json-schema-md-doc/tree/master/samples/node "> Click here</ a > to see the Node example.</ p >
67
67
< 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 >
68
68
< h2 > Simple Implementation</ h2 >
69
69
< p > < strong > HTML</ strong > </ p >
70
- < pre class ="prettyprint source lang-html "> < code > <script src="https://brianwendt.github.io/json-schema-md-doc/lib /JSONSchemaMarkdown.js"> </script>
70
+ < pre class ="prettyprint source lang-html "> < code > <script src="https://brianwendt.github.io/json-schema-md-doc/src /JSONSchemaMarkdown.js"> </script>
71
71
</ code > </ pre >
72
72
< p > < strong > Javascript</ strong > </ p >
73
73
< pre class ="prettyprint source lang-javascript "> < code > // simple schema for the example
Original file line number Diff line number Diff line change 5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no " />
6
6
< title > JSON Schema to Markdown</ title >
7
7
< script src ="lib/jquery-3.4.0.min.js "> </ script >
8
- < script src ="lib /JSONSchemaMarkdown.js "> </ script >
8
+ < script src ="../src /JSONSchemaMarkdown.js "> </ script >
9
9
< script src ="lib/index.js "> </ script >
10
10
< link href ="lib/bootstrap.min.css " rel ="stylesheet " />
11
11
</ head >
@@ -35,7 +35,7 @@ <h2>Output Markdown</h2>
35
35
< p > < a href ="./issue.html " target ="_blank " class ="btn btn-warning "> Submit Issue</ a > </ p >
36
36
< p >
37
37
You may fully customize your output by extending the < code > JSONSchemaMarkdown</ code > class to override the rendering methods.
38
- Download < a href ="./lib /JSONSchemaMarkdown.js " target ="_blank "> JSONSchemaMarkdown.js</ a >
38
+ Download < a href ="../src /JSONSchemaMarkdown.js " target ="_blank "> JSONSchemaMarkdown.js</ a >
39
39
</ p >
40
40
< p > Find the < a href ="https://github.com/BrianWendt/json_schema_markdown " target ="_blank "> BrianWendt/json_schema_markdown</ a > project on GitHub.</ p >
41
41
< 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 >
Original file line number Diff line number Diff line change 2
2
"name" : " json-schema-md-doc" ,
3
3
"author" : " Brian Wendt (https://github.com/BrianWendt)" ,
4
4
"description" : " Generate markdown documentation for JSON Schemas" ,
5
- "main" : " ./docs/lib /JSONSchemaMarkdown.js" ,
5
+ "main" : " ./src /JSONSchemaMarkdown.js" ,
6
6
"keywords" : [
7
7
" json-schema"
8
8
],
Original file line number Diff line number Diff line change 1
1
//const {JSONSchemaMarkdown} = require('json-schema-md-doc');
2
- const { JSONSchemaMarkdown} = require ( '../../docs/lib /JSONSchemaMarkdown' ) ;
2
+ const { JSONSchemaMarkdown} = require ( '../../src /JSONSchemaMarkdown' ) ;
3
3
const fs = require ( "fs" ) ;
4
4
const package = require ( "../../package.json" ) ;
5
5
Original file line number Diff line number Diff line change 3
3
"recurseDepth" : 10 ,
4
4
"source" : {
5
5
"include" : [
6
- " ./docs/ lib/JSONSchemaMarkdown.js"
6
+ " ./lib/JSONSchemaMarkdown.js"
7
7
]
8
8
},
9
9
"sourceType" : " module" ,
File renamed without changes.
You can’t perform that action at this time.
0 commit comments