Skip to content

Commit

Permalink
Merge branch 'gh-pages' into contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas authored Jan 22, 2025
2 parents 6754436 + 899dbfd commit 0c568d1
Show file tree
Hide file tree
Showing 206 changed files with 2,657 additions and 714 deletions.
67 changes: 0 additions & 67 deletions .github/workflows/translation.yml

This file was deleted.

12 changes: 12 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: 404
title: Page not found
description: We couldn’t find the page you’re looking for.
lang: en
---

# {{ page.title }}

We couldn’t find the page you’re looking for. Check the address or [head back home](/).

If this is a mistake, [let us know](https://github.com/expressjs/expressjs.com/issues/new/), and we will try to fix it!
2 changes: 2 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# License

Copyright The Express Contributors.

# Creative Commons Attribution-ShareAlike 3.0

CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
Expand Down
2 changes: 1 addition & 1 deletion _data/express.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
current_version: "4.21.1"
current_version: "4.21.2"
next_version: "5.0.1"
2 changes: 1 addition & 1 deletion _includes/announcement/announcement-en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul>
<li>
<p class="announcement-title">Express 5.0 documentation is now available.</p>
<p class="announcement-title">{% include icons/announcement.svg %} Express 5.0 documentation is now available.</p>
<p markdown="1">
The <a href="{{ page.lang }}/5x/api.html">API documentation</a> is a work in progress. For information on what's in the release, see the Express <a href="https://github.com/expressjs/express/blob/5.0/History.md">release history</a>.
</p>
Expand Down
2 changes: 1 addition & 1 deletion _includes/announcement/announcement-id.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul>
<li>
<p class="announcement-title">Dokumentasi Express 5.0 versi beta kini telah tersedia.</p>
<p class="announcement-title">{% include icons/announcement.svg %} Dokumentasi Express 5.0 versi beta kini telah tersedia.</p>
<p markdown="1">
<a href="{{ page.lang }}/5x/api.html">Dokumentasi API</a> beta masih dalam proses. Untuk informasi tentang apa yang ada dalam rilis, lihat <a href="https://github.com/expressjs/express/blob/5.0/History.md">riwayat rilis</a> Express.
</p>
Expand Down
2 changes: 1 addition & 1 deletion _includes/announcement/announcement-pt-br.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul>
<li>
<p class="announcement-title">A documentação do Express 5.0 já está disponível.</p>
<p class="announcement-title">{% include icons/announcement.svg %} A documentação do Express 5.0 já está disponível.</p>
<p markdown="1">
<!-- we still haven't a 5x doc for pt-br -->
A <a href="/5x/api.html">documentação da API</a> está em andamento. Para obter informações sobre o que há no lançamento, consulte o <a href="https://github.com/expressjs/express/blob/5.0/History.md">histórico de lançamentos</a> do Express.
Expand Down
2 changes: 1 addition & 1 deletion _includes/announcement/announcement-th.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul>
<li>
<p class="announcement-title">Express รุ่น 4.16.0 มีคุณลักษณะความปลอดภัยล่าสุดที่สำคัญ</p>
<p class="announcement-title">{% include icons/announcement.svg %} Express รุ่น 4.16.0 มีคุณลักษณะความปลอดภัยล่าสุดที่สำคัญ</p>
<p markdown="1">
สำหรับข้อมูลว่าอะไรเพิ่มเติมบ้างในรุ่นนี้ สามารถดูใน [บันทึกการเปลี่ยนแปลง 4.16.0](/{{ page.lang }}/changelog/4x.html#4.16.0).
</p>
Expand Down
2 changes: 1 addition & 1 deletion _includes/announcement/announcement-tr.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul>
<li>
<p class="announcement-title">Express 4.16.0 mevcut sürümdür.</p>
<p class="announcement-title">{% include icons/announcement.svg %} Express 4.16.0 mevcut sürümdür.</p>
<p markdown="1">
Bu sürümde nelerin eklendiği hakkında daha fazla bilgi almak için [4.16.0 changelog](/{{ page.lang }}/changelog/4x.html#4.16.0).
</p>
Expand Down
2 changes: 1 addition & 1 deletion _includes/announcement/announcement-uz.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul>
<li>
<p class="announcement-title">Express 4.16.0 reliz qilindi</p>
<p class="announcement-title">{% include icons/announcement.svg %} Express 4.16.0 reliz qilindi</p>
<p markdown="1">
Express 4.16.0 da ko'plab xatolar to'g'irlandi, xavfsizlikni ta'minlash uchun o'zgarishlar kiritildi, ishlash unumdorligi oshirildi va boshqa yangi imkoniyatlar qo'shildi. To'liq ma'lumot uchun [4.16.0 changelog](/en/changelog/4x.html#4.16.0).
</p>
Expand Down
4 changes: 2 additions & 2 deletions _includes/api/en/4x/res-end.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h3 id='res.end'>res.end([data] [, encoding])</h3>
<h3 id='res.end'>res.end([data[, encoding]][, callback])</h3>

Ends the response process. This method actually comes from Node core, specifically the [response.end() method of http.ServerResponse](https://nodejs.org/api/http.html#http_response_end_data_encoding_callback).
Ends the response process. This method actually comes from Node core, specifically the [response.end() method of http.ServerResponse](https://nodejs.org/api/http.html#responseenddata-encoding-callback).

Use to quickly end the response without any data. If you need to respond with data, instead use methods such as [res.send()](#res.send) and [res.json()](#res.json).

Expand Down
4 changes: 2 additions & 2 deletions _includes/api/en/5x/res-end.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h3 id='res.end'>res.end([data] [, encoding])</h3>
<h3 id='res.end'>res.end([data[, encoding]][, callback])</h3>

Ends the response process. This method actually comes from Node core, specifically the [response.end() method of http.ServerResponse](https://nodejs.org/api/http.html#http_response_end_data_encoding_callback).
Ends the response process. This method actually comes from Node core, specifically the [response.end() method of http.ServerResponse](https://nodejs.org/api/http.html#responseenddata-encoding-callback).

Use to quickly end the response without any data. If you need to respond with data, instead use methods such as [res.send()](#res.send) and [res.json()](#res.json).

Expand Down
4 changes: 4 additions & 0 deletions _includes/changelog/menu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Versions

- [5.x](#5.x)
- [4.x](#4.x)
2 changes: 1 addition & 1 deletion _includes/footer/footer-de.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<div id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-en.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="doc-langs">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-es.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-fr.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<div id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-id.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="doc-langs">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-it.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-ja.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-ko.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-pt-br.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>

Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-ru.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-sk.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-th.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-tr.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-uk.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-uz.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-zh-cn.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer/footer-zh-tw.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>
<a id="top" href="#">{% include icons/arrow.svg %}</a>

<footer>
<section id="footer-content">
Expand Down
2 changes: 0 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@
{% endif %}

<script data-cfasync="false" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script data-cfasync="false" src="/js/ismobile.js"></script>
<script data-cfasync="false" src="/js/app.js"></script>
<script data-cfasync="false" defer src="/js/menu.js"></script>
<script data-cfasync="false" src="/js/retina.js"></script>
<script data-cfasync="false" src="/js/prism.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />

Expand Down
15 changes: 15 additions & 0 deletions _includes/header/header-de.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,21 @@
</li>
</ul>
</li>
<li><a href="/{{ page.lang }}/support" id="support-menu"{% if page.menu == 'support' %} class="active"{% endif %}>Support</a></li>
<li id="blog-menu" class="submenu">
<a href="{{site.posts.first.url}}"{% if page.menu == 'blog' %} class="active"{% endif %}>Blog</a>
<ul class="submenu-content">
<li>
<a href="{{site.posts.first.url}}">Latest post</a>
</li>
<li>
<a href="/en/blog/posts.html">All posts</a>
</li>
<li>
<a href="/en/blog/write-post.html">Write a Post</a>
</li>
</ul>
</li>
</ul>
</div>
<div id="theme-icon-container" class="theme-toggle default-theme" title="toggle darkmode">
Expand Down
15 changes: 15 additions & 0 deletions _includes/header/header-es.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,21 @@
</li>
</ul>
</li>
<li><a href="/{{ page.lang }}/support" id="support-menu"{% if page.menu == 'support' %} class="active"{% endif %}>Support</a></li>
<li id="blog-menu" class="submenu">
<a href="{{site.posts.first.url}}"{% if page.menu == 'blog' %} class="active"{% endif %}>Blog</a>
<ul class="submenu-content">
<li>
<a href="{{site.posts.first.url}}">Latest post</a>
</li>
<li>
<a href="/en/blog/posts.html">All posts</a>
</li>
<li>
<a href="/en/blog/write-post.html">Write a Post</a>
</li>
</ul>
</li>
</ul>
</div>
<div id="theme-icon-container" class="theme-toggle default-theme" title="toggle darkmode">
Expand Down
15 changes: 15 additions & 0 deletions _includes/header/header-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,21 @@
</li>
</ul>
</li>
<li><a href="/{{ page.lang }}/support" id="support-menu"{% if page.menu == 'support' %} class="active"{% endif %}>Support</a></li>
<li id="blog-menu" class="submenu">
<a href="{{site.posts.first.url}}"{% if page.menu == 'blog' %} class="active"{% endif %}>Blog</a>
<ul class="submenu-content">
<li>
<a href="{{site.posts.first.url}}">Latest post</a>
</li>
<li>
<a href="/en/blog/posts.html">All posts</a>
</li>
<li>
<a href="/en/blog/write-post.html">Write a Post</a>
</li>
</ul>
</li>
</ul>
</div>
<div id="theme-icon-container" class="theme-toggle default-theme" title="toggle darkmode">
Expand Down
18 changes: 18 additions & 0 deletions _includes/header/header-id.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,24 @@
</li>
</ul>
</li>

<li><a href="/{{ page.lang }}/support" id="support-menu"{% if page.menu == 'support' %} class="active"{% endif %}>Support</a></li>
<li id="blog-menu" class="submenu">
<a href="{{site.posts.first.url}}"{% if page.menu == 'blog' %} class="active"{% endif %}>Blog</a>
<ul class="submenu-content">
<li>
<a href="{{site.posts.first.url}}">Latest post</a>
</li>
<li>
<a href="/en/blog/posts.html">All posts</a>
</li>
<li>
<a href="/en/blog/write-post.html">Write a Post</a>
</li>
</ul>
</li>
</li>

</ul>
</div>
<div id="theme-icon-container" class="theme-toggle default-theme" title="toggle darkmode">
Expand Down
15 changes: 15 additions & 0 deletions _includes/header/header-it.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,21 @@
</li>
</ul>
</li>
<li><a href="/{{ page.lang }}/support" id="support-menu"{% if page.menu == 'support' %} class="active"{% endif %}>Support</a></li>
<li id="blog-menu" class="submenu">
<a href="{{site.posts.first.url}}"{% if page.menu == 'blog' %} class="active"{% endif %}>Blog</a>
<ul class="submenu-content">
<li>
<a href="{{site.posts.first.url}}">Latest post</a>
</li>
<li>
<a href="/en/blog/posts.html">All posts</a>
</li>
<li>
<a href="/en/blog/write-post.html">Write a Post</a>
</li>
</ul>
</li>
</ul>
</div>
<div id="theme-icon-container" class="theme-toggle default-theme" title="toggle darkmode">
Expand Down
Loading

0 comments on commit 0c568d1

Please sign in to comment.