mirror of
https://github.com/YMFE/yapi.git
synced 2025-04-18 15:20:25 +08:00
feat: 废弃 yapi.ymfe.org 文档站点,改用 https://hellosean1025.github.io/yapi
This commit is contained in:
parent
5c03048a95
commit
fbc8ed9b93
@ -86,7 +86,7 @@ const tipDoc = (
|
||||
</h3>
|
||||
<p>
|
||||
初次使用 YApi,强烈建议你阅读{' '}
|
||||
<a target="_blank" href="https://yapi.ymfe.org" rel="noopener noreferrer">
|
||||
<a target="_blank" href="https://hellosean1025.github.io/yapi/" rel="noopener noreferrer">
|
||||
使用文档
|
||||
</a>
|
||||
,我们为你提供了通俗易懂的快速入门教程,更有详细的使用说明,欢迎阅读!{' '}
|
||||
@ -152,7 +152,7 @@ const ToolUser = props => {
|
||||
>
|
||||
<Tooltip placement="bottom" title={'使用文档'}>
|
||||
<li className="toolbar-li">
|
||||
<a target="_blank" href="https://yapi.ymfe.org" rel="noopener noreferrer">
|
||||
<a target="_blank" href="https://hellosean1025.github.io/yapi" rel="noopener noreferrer">
|
||||
<Icon className="dropdown-link" style={{ fontSize: 16 }} type="question-circle" />
|
||||
</a>
|
||||
</li>
|
||||
|
@ -167,7 +167,7 @@ module.exports = {
|
||||
],
|
||||
IP_REGEXP: /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])(\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])){3}$/,
|
||||
docHref: {
|
||||
adv_mock_case: 'https://yapi.ymfe.org/documents/mock.html',
|
||||
adv_mock_script: 'https://yapi.ymfe.org/documents/adv_mock.html'
|
||||
adv_mock_case: 'https://hellosean1025.github.io/yapi/documents/mock.html',
|
||||
adv_mock_script: 'https://hellosean1025.github.io/yapi/documents/adv_mock.html'
|
||||
}
|
||||
};
|
||||
|
@ -29,7 +29,7 @@ const HomeGuest = () => (
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://yapi.ymfe.org"
|
||||
href="https://hellosean1025.github.io/yapi"
|
||||
className="item"
|
||||
>
|
||||
使用文档
|
||||
@ -371,7 +371,7 @@ class Home extends Component {
|
||||
</Button>
|
||||
</Link>
|
||||
<Button className="btn-home btn-home-normal">
|
||||
<a target="_blank" rel="noopener noreferrer" href="https://yapi.ymfe.org">
|
||||
<a target="_blank" rel="noopener noreferrer" href="https://hellosean1025.github.io/yapi">
|
||||
使用文档
|
||||
</a>
|
||||
</Button>
|
||||
|
@ -683,7 +683,7 @@ class InterfaceColContent extends Component {
|
||||
{' '}
|
||||
每个用例都有唯一的key,用于获取所匹配接口的响应数据,例如使用{' '}
|
||||
<a
|
||||
href="https://yapi.ymfe.org/documents/case.html#%E7%AC%AC%E4%BA%8C%E6%AD%A5%EF%BC%8C%E7%BC%96%E8%BE%91%E6%B5%8B%E8%AF%95%E7%94%A8%E4%BE%8B"
|
||||
href="https://hellosean1025.github.io/yapi/documents/case.html#%E7%AC%AC%E4%BA%8C%E6%AD%A5%EF%BC%8C%E7%BC%96%E8%BE%91%E6%B5%8B%E8%AF%95%E7%94%A8%E4%BE%8B"
|
||||
className="link-tooltip"
|
||||
target="blank"
|
||||
>
|
||||
@ -1002,7 +1002,7 @@ class InterfaceColContent extends Component {
|
||||
测试集合 <a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://yapi.ymfe.org/documents/case.html"
|
||||
href="https://hellosean1025.github.io/yapi/documents/case.html"
|
||||
>
|
||||
<Tooltip title="点击查看文档">
|
||||
<Icon type="question-circle-o" />
|
||||
|
@ -1211,7 +1211,7 @@ class InterfaceEditForm extends Component {
|
||||
<span
|
||||
className="href"
|
||||
onClick={() =>
|
||||
window.open('https://yapi.ymfe.org/documents/mock.html', '_blank')
|
||||
window.open('https://hellosean1025.github.io/yapi/documents/mock.html', '_blank')
|
||||
}
|
||||
>
|
||||
查看文档
|
||||
|
@ -325,7 +325,7 @@ class ProjectData extends Component {
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://yapi.ymfe.org/documents/data.html"
|
||||
href="https://hellosean1025.github.io/yapi/documents/data.html"
|
||||
>
|
||||
<Tooltip title="点击查看文档">
|
||||
<Icon type="question-circle-o" />
|
||||
|
@ -346,7 +346,7 @@ class ProjectEnvContent extends Component {
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://yapi.ymfe.org/documents/project.html#%E9%85%8D%E7%BD%AE%E7%8E%AF%E5%A2%83"
|
||||
href="https://hellosean1025.github.io/yapi/documents/project.html#%E9%85%8D%E7%BD%AE%E7%8E%AF%E5%A2%83"
|
||||
style={{ marginLeft: 8 }}
|
||||
>
|
||||
<Tooltip title="点击查看文档">
|
||||
|
@ -100,7 +100,7 @@ export default class ProjectMock extends Component {
|
||||
是否开启 <a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://yapi.ymfe.org/documents/project.html#%E5%85%A8%E5%B1%80mock"
|
||||
href="https://hellosean1025.github.io/yapi/documents/project.html#%E5%85%A8%E5%B1%80mock"
|
||||
>
|
||||
<Tooltip title="点击查看文档">
|
||||
<Icon type="question-circle-o" />
|
||||
|
@ -76,7 +76,7 @@ class ProjectToken extends Component {
|
||||
</div>
|
||||
<br />
|
||||
<h2 className="token-title">open接口:</h2>
|
||||
<p><a target="_blank" rel="noopener noreferrer" href="https://yapi.ymfe.org/openapi.html">详细接口文档</a></p>
|
||||
<p><a target="_blank" rel="noopener noreferrer" href="https://hellosean1025.github.io/yapi/openapi.html">详细接口文档</a></p>
|
||||
<div>
|
||||
<ul className="open-api">
|
||||
<li>/api/open/run_auto_test [运行自动化测试]</li>
|
||||
|
@ -51,7 +51,7 @@ function createHtml5(left, tp, msg, runTime) {
|
||||
<a href="#" style="display: inherit;"><svg class="svg" width="32px" height="32px" viewBox="0 0 64 64" version="1.1"><title>Icon</title><desc>Created with Sketch.</desc><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1"><stop stop-color="#FFFFFF" offset="0%"></stop><stop stop-color="#F2F2F2" offset="100%"></stop></linearGradient><circle id="path-2" cx="31.9988602" cy="31.9988602" r="2.92886048"></circle><filter x="-85.4%" y="-68.3%" width="270.7%" height="270.7%" filterUnits="objectBoundingBox" id="filter-3"><feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="1.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.159703351 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></defs><g id="首页" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="大屏幕"><g id="Icon"><circle id="Oval-1" fill="url(#linearGradient-1)" cx="32" cy="32" r="32"></circle><path d="M36.7078009,31.8054514 L36.7078009,51.7110548 C36.7078009,54.2844537 34.6258634,56.3695395 32.0579205,56.3695395 C29.4899777,56.3695395 27.4099998,54.0704461 27.4099998,51.7941246 L27.4099998,31.8061972 C27.4099998,29.528395 29.4909575,27.218453 32.0589004,27.230043 C34.6268432,27.241633 36.7078009,29.528395 36.7078009,31.8054514 Z" id="blue" fill="#2359F1" fill-rule="nonzero"></path><path d="M45.2586091,17.1026914 C45.2586091,17.1026914 45.5657231,34.0524383 45.2345291,37.01141 C44.9033351,39.9703817 43.1767091,41.6667796 40.6088126,41.6667796 C38.040916,41.6667796 35.9609757,39.3676862 35.9609757,37.0913646 L35.9609757,17.1034372 C35.9609757,14.825635 38.0418959,12.515693 40.6097924,12.527283 C43.177689,12.538873 45.2586091,14.825635 45.2586091,17.1026914 Z" id="green" fill="#57CF27" fill-rule="nonzero" transform="translate(40.674608, 27.097010) rotate(60.000000) translate(-40.674608, -27.097010) "></path><path d="M28.0410158,17.0465598 L28.0410158,36.9521632 C28.0410158,39.525562 25.9591158,41.6106479 23.3912193,41.6106479 C20.8233227,41.6106479 18.7433824,39.3115545 18.7433824,37.035233 L18.7433824,17.0473055 C18.7433824,14.7695034 20.8243026,12.4595614 23.3921991,12.4711513 C25.9600956,12.4827413 28.0410158,14.7695034 28.0410158,17.0465598 Z" id="red" fill="#FF561B" fill-rule="nonzero" transform="translate(23.392199, 27.040878) rotate(-60.000000) translate(-23.392199, -27.040878) "></path><g id="inner-round"><use fill="black" fill-opacity="1" filter="url(#filter-3)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#path-2"></use><use fill="#F7F7F7" fill-rule="evenodd" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#path-2"></use></g></g></g></g></svg></a>
|
||||
<a href="#"><h1 class="title">YAPI 测试结果文档</h1></a>
|
||||
<div class="nav">
|
||||
<a href="https://yapi.ymfe.org/">YApi</a>
|
||||
<a href="https://hellosean1025.github.io/yapi">YApi</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="g-doc">
|
||||
|
Loading…
x
Reference in New Issue
Block a user