Create docs from an Open API Spec¶
Widdershins¶
Install¶
config¶
save in config.json
{
"language_tabs": [
{
"python": "Python"
},
{
"http": "HTTP"
},
{
"shell": "Shell"
}
],
"language_clients": [
{
"shell": "curl"
}
],
"httpsnippet":"true",
"resolve":"true",
"headings":"4"
}
run¶
create html¶
create respec¶
create markdown¶
reslate to create html¶
Get reslate¶
NOTE: You may wish to create a fork of this repo
Copy your markdown file¶
Copy markdown file to source/index.md
change logo¶
change _site\slate\img\logo.png
change css if required¶
modify _site\slate\css\screen.css
install¶
Access content¶
browse to http://localhost:4567pandoc¶
install pandoc¶
run pandoc¶
NOTE: When creating pdf's pandoc doesnt wrap code blocks