简体   繁体   English

他们用什么来编写 API 文档?

[英]What have they used to write their API documentation?

I was wondering what application/service have those guys used to write their documentation?我想知道这些人用什么应用程序/服务来编写他们的文档? I'm especially interested in that playground section in the right side.我对右侧的游乐场部分特别感兴趣。

https://docs.nftport.xyz/docs/nftport/b3A6MjE0MDYzNzY-upload-a-file-to-ipfs https://docs.nftport.xyz/docs/nftport/b3A6MjE0MDYzNzY-upload-a-file-to-ipfs 在此处输入图像描述

The general framework is based on Stoplight .通用框架基于Stoplight

The playground does seems to be done with various section, associated to a form from:操场似乎是由各个部分完成的,与以下表格相关联:

<pre tabindex="0" aria-label="curl --request POST \
  --url https://api.nftport.xyz/v0/files \
  --header 'Authorization: ' \
  --header 'Content-Type: multipart/form-data' \
  --header 'content-type: multipart/form-data; boundary=---011000010111000001101001' \
  --form file=" style="--fs-code: 12;" class="sl-code-viewer sl-overflow-x-hidden sl-overflow-y-hidden sl-relative sl-outline-none sl-group" role="group">
    <div style="max-height: 400px;" class="sl-code-viewer__scroller sl-overflow-x-auto sl-overflow-y-auto">
       <div style="padding: 12px 15px; font-family: var(--font-code); font-size: var(--fs-code); line-height: var(--lh-code);" class="sl-code-highlight prism-code language-bash">
...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM