wdullaer / raml2slate

Render the RAML API spec in the slate documentation layout
Other
8 stars 1 forks source link

language tabs #5

Open sonicdivx opened 7 years ago

sonicdivx commented 7 years ago

I see reference in the code but they don't seem to be built out. Is this planned?

wdullaer commented 7 years ago

I use that feature to show the body and response tabs. I have thought about how I can integrate programming languages, but couldn't find a satisfactory design. Raml describes a REST API, you would essentially be demoing the HTTP library of your language of choice.

If you have custom made language specific APIs, you should probably look directly at slate.

sonicdivx commented 7 years ago

Gotcha, yes we are looking at how Slate does it and since we can customize the code samples, we find that acceptable. The code samples would just be examples, like Facebook and the like do theirs.

I'll look again at your code. I must have missed where you set language_tabs.

wdullaer commented 7 years ago

If you have an example on how these language tabs should work, please explain or show a mock up. This thing is far from finished.