简体   繁体   中英

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 在此处输入图像描述

The general framework is based on 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">
...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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