Skip to content

Commit

Permalink
chore - add api version 5x in menu - zh-cn and zh-tw
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosstenzel committed Sep 13, 2024
1 parent c175758 commit 0bc5964
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _includes/header/header-zh-cn.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
<ul id="application-menu" class="menu">
<li><a href="/{{ page.lang }}/4x/api.html"{% if page.menu == 'api' %} class="active"{% endif %}>API 参考</a>
<ul>
<li><a href="/{{ page.lang }}/5x/api.html">5.x (beta)</a>
</li>
<li><a href="/{{ page.lang }}/4x/api.html">4.x</a>
</li>
<li><a href="/{{ page.lang }}/3x/api.html">3.x(不推荐)</a>
Expand Down
2 changes: 2 additions & 0 deletions _includes/header/header-zh-tw.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
<ul id="application-menu" class="menu">
<li><a href="/{{ page.lang }}/4x/api.html"{% if page.menu == 'api' %} class="active"{% endif %}>API 參照</a>
<ul>
<li><a href="/{{ page.lang }}/5x/api.html">5.x (beta)</a>
</li>
<li><a href="/{{ page.lang }}/4x/api.html">4.x</a>
</li>
<li><a href="/{{ page.lang }}/3x/api.html">3.x(已淘汰)</a>
Expand Down
22 changes: 22 additions & 0 deletions zh-cn/5x/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: 5x-api
title: Express 5.x - API 参考
menu: api
lang: zh-cn
---

<div id="api-doc" markdown="1">

<h1>5.x API</h1>

{% include admonitions/caution.html content="This is early beta documentation that may be incomplete and is still under development." %}

{% include admonitions/note.html content="Express 5.0 requires Node.js 18 or higher." %}

{% include api/en/5x/express.md %}
{% include api/en/5x/app.md %}
{% include api/en/5x/req.md %}
{% include api/en/5x/res.md %}
{% include api/en/5x/router.md %}

</div>
22 changes: 22 additions & 0 deletions zh-tw/5x/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: 5x-api
title: Express 5.x - API 參照
menu: api
lang: zh-tw
---

<div id="api-doc" markdown="1">

<h1>5.x API</h1>

{% include admonitions/caution.html content="This is early beta documentation that may be incomplete and is still under development." %}

{% include admonitions/note.html content="Express 5.0 requires Node.js 18 or higher." %}

{% include api/{{ page.lang }}/5x/express.md %}
{% include api/{{ page.lang }}/5x/app.md %}
{% include api/{{ page.lang }}/5x/req.md %}
{% include api/{{ page.lang }}/5x/res.md %}
{% include api/{{ page.lang }}/5x/router.md %}

</div>

0 comments on commit 0bc5964

Please sign in to comment.