lbovet / docson

Documentation for your JSON types
Apache License 2.0
491 stars 97 forks source link

How to embed the docson documentation per html tab generated by java script #54

Open Shanthisagar272 opened 7 years ago

Shanthisagar272 commented 7 years ago

I am trying to create a html page for the json schemas where documentation of every schema is on a seperate Tab as below. But the problem I am facing is the json documentation is not going into the tab, but just outside the tab And also it keeps on appending to the existing html page.

I believe the issue is in the below lines var element = $("

"); $("body").append(element); docson.doc(element, item);

Kindly let me know how to resolve this

<!DOCTYPE html>

Canonical Data Model JSON Draft 4 Schemas
x

Logistic User

Schema defining the user for the logistic operations

x

Contract

Schema defining the Contract.