Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(infra): migrate to Next.js infrastructure #4991

Merged
merged 244 commits into from
Mar 8, 2023
Merged
Changes from 1 commit
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
6018f64
chore(next.js): added initial package.json update and configuration f…
ovflowd Jan 3, 2023
0e658ac
chore(static): moved static files to public/static
ovflowd Jan 3, 2023
72305ce
chore(pages): moved locale directory to pages/
ovflowd Jan 3, 2023
46f20c2
chore(survey): added readme and updated deploy script for survey
ovflowd Jan 3, 2023
2cc4263
chore(legacy): removed build.js and server.js
ovflowd Jan 3, 2023
5016948
chore(typescript): updated theme.tsx and added typescript support
ovflowd Jan 3, 2023
1655c58
chore(folder-structure): continued moving files and clean up of things
ovflowd Jan 3, 2023
60110f6
chore(codeowners): updated codeowners
ovflowd Jan 3, 2023
94de20d
chore(eslint): updated markdown matching
ovflowd Jan 3, 2023
d725521
chore(move): moved styles and layout and data folders
ovflowd Jan 7, 2023
0857c35
chore(i18n): added initial locale config
ovflowd Jan 7, 2023
556a5e9
chore(lts): stick with v18 lts
ovflowd Jan 7, 2023
f6264d7
chore(i18n): updated crowdin configuration
ovflowd Jan 7, 2023
edd70c6
chore(lts): fixed lts naming on ci and nvm
ovflowd Jan 7, 2023
c8e35ba
chore(package.json): fixed lint commands
ovflowd Jan 7, 2023
8cd5490
chore(package-lock): reindexed and updated package lock
ovflowd Jan 7, 2023
e7dccb0
chore(i18n): added react-intl package
ovflowd Jan 7, 2023
f013a23
chore(configs): updated next, eslint and tsconfig
ovflowd Jan 7, 2023
a7dca8f
chore(packages): add prettier config for the plugin
ovflowd Jan 7, 2023
d3c862c
chore(configs): updated prettier, eslint adn package.json
ovflowd Jan 7, 2023
1da23b8
chore(package): removed airbnb config
ovflowd Jan 7, 2023
353e897
chore(lint): applied linting in core files
ovflowd Jan 7, 2023
96a74c7
chore(lint): applied linting on markdown and style files
ovflowd Jan 7, 2023
2f636af
chore(ci): disable build job for now
ovflowd Jan 7, 2023
fb76c10
chore(cache): added eslint cache files to ignore
ovflowd Jan 7, 2023
c77e2b9
chore(public): moved robots and security to root public folder
ovflowd Jan 7, 2023
16bd72e
chore(eslint): added default next config
ovflowd Jan 7, 2023
d78ab95
chore(remark): added remark configuration
ovflowd Jan 7, 2023
afaa644
chore(i18n): added ICU locale files boilerplates
ovflowd Jan 9, 2023
5c0817a
chore(config): added website config file
ovflowd Jan 9, 2023
2c94964
chore(favicon): removed all favicon alternates to a simple png file
ovflowd Jan 9, 2023
1866ede
chore(dependencies): added a rss/atom/json feed package
ovflowd Jan 9, 2023
641b33e
chore(packages): updated packages and adopted npm-run-all
ovflowd Jan 9, 2023
a3277cf
chore(layouts): removed blm specific layouts
ovflowd Jan 9, 2023
7c509cb
feast(config): introduced site config provider and context
ovflowd Jan 9, 2023
bcc3521
feat(header): started to create the header component
ovflowd Jan 9, 2023
2168b76
chore(provider): refactored provider
ovflowd Jan 9, 2023
2a4d883
chore(fonts): added source sans pro font
ovflowd Jan 9, 2023
fec974c
feat(templates): added core component
ovflowd Jan 9, 2023
930aaad
chore(pages): removed legacy blm page
ovflowd Jan 9, 2023
c7d8ead
feat(types): introduced frontmatter types
ovflowd Jan 9, 2023
c3d2b00
chore(theme): started to update theme with layout
ovflowd Jan 9, 2023
9d28216
feat(config): updated site config types
ovflowd Jan 9, 2023
00d07c6
feat(header): added all header meta tags
ovflowd Jan 9, 2023
aa2dcf3
chore(document): added assets for theme switch
ovflowd Jan 9, 2023
c5e529c
chore(eslint): fixed eslint failed rule
ovflowd Jan 9, 2023
713d913
update nextra
shuding Jan 9, 2023
a805506
chore(document): added remaining scripts
ovflowd Jan 9, 2023
9da7a4f
feat(footer): added footer
ovflowd Jan 9, 2023
7218035
feat(header): updated header with favicon
ovflowd Jan 9, 2023
ac8c565
feat(manifest): added manifest for PWA
ovflowd Jan 9, 2023
74d5e07
feat(i18n): introduced i18n hook
ovflowd Jan 9, 2023
6880d0f
chore(header): added i18n config
ovflowd Jan 9, 2023
55a3732
feat(layouts): added default layout
ovflowd Jan 9, 2023
ad909f5
feat(layouts): initial version of the layout provider
ovflowd Jan 9, 2023
03e4c83
refactor(provider): cleaned-up the site provider
ovflowd Jan 9, 2023
dffe0af
feat(theme): adopted layout provider on theme
ovflowd Jan 9, 2023
68abfe5
chore(layouts): removed unused layouts
ovflowd Jan 9, 2023
1c957b8
feat(footer): added scroll-to-top
ovflowd Jan 9, 2023
729d257
chore(i18n): added navigation and translations
ovflowd Jan 10, 2023
b7c4d46
chore(dependencies): added highlightjs and classnames
ovflowd Jan 10, 2023
41b768b
chore(utils): added link locale util
ovflowd Jan 10, 2023
922fdbb
feat(i18n): introduced locale provider
ovflowd Jan 10, 2023
bc270b0
feat(header): renamed header into htmlhead
ovflowd Jan 10, 2023
61b6939
feat(header): introduced page header
ovflowd Jan 10, 2023
1db93b9
feat(components): introduced localised linkicomponent
ovflowd Jan 10, 2023
9ce8c72
feat(components): introduced language picker component
ovflowd Jan 10, 2023
80b8e9c
chore(footer): updated translation id
ovflowd Jan 10, 2023
a127bbc
feat(app): updated app, document and theme with new locale and scripts
ovflowd Jan 10, 2023
2d158d7
chore(layouts): added header to default layout
ovflowd Jan 10, 2023
1e14132
chore(layouts): removed old header layout
ovflowd Jan 10, 2023
5006fbb
chore(docs): made the docs index mdx compatible
ovflowd Jan 10, 2023
5aa43a0
chore(types): added labels to frontmatter
ovflowd Jan 10, 2023
cc40739
chore(config): updated next config and remark plugins
ovflowd Jan 10, 2023
b4e8f72
chore(types): added types for node-version-data
ovflowd Jan 10, 2023
b3954d2
feat(i18n): hook to support metadata about current route
ovflowd Jan 10, 2023
da37773
feat(navigation): updated navigation metadata
ovflowd Jan 10, 2023
843c600
feat(navigation): introduced a navigation hook
ovflowd Jan 10, 2023
0c57e96
feat(node-versions): introduced provider and types for node-versions
ovflowd Jan 10, 2023
c144490
feat(navigation): introduced side navigation component
ovflowd Jan 10, 2023
e693ec2
feat(header): use the new navigation component
ovflowd Jan 10, 2023
057cd9d
chore(app): introduced node data provider usage
ovflowd Jan 10, 2023
304c5e4
feat(docs): introduced doc layout
ovflowd Jan 10, 2023
6f559d4
chore(layouts): added docs to layout provider
ovflowd Jan 10, 2023
7e4c698
chore(layouts/scripts): removed now unused layouts and scripts
ovflowd Jan 10, 2023
4125fcc
chore(scripts): removed build scripts for node data
ovflowd Jan 10, 2023
59871bd
chore(utils): introduced new util
ovflowd Jan 10, 2023
5108087
chore(data): removed non-needed data anymore
ovflowd Jan 10, 2023
c8e8173
chore(navigation): include root entry on side nav
ovflowd Jan 10, 2023
3996fc5
fix(footer): fixed spacing of items
ovflowd Jan 10, 2023
63b9988
fix(body): next element to also follow body rules
ovflowd Jan 10, 2023
dbf9078
feat(layouts): introduced new layouts
ovflowd Jan 10, 2023
a38b159
chore(note): added todo notes on temporary components
ovflowd Jan 10, 2023
d2950c4
feat(mdx): added proper node api versions component
ovflowd Jan 10, 2023
188da41
chore(dependencies): removed non-needed dependencies
ovflowd Jan 10, 2023
3ebcaef
chore(docs): reverted mdx rename and use regular mdx provider for the…
ovflowd Jan 10, 2023
05fe823
chore(remark): a lot of the lists are unordered and shouldn't need to…
ovflowd Jan 10, 2023
40c82f0
chore(layouts): removed unused knowledge layouts
ovflowd Jan 10, 2023
669140c
feat(banner): introduced banner component
ovflowd Jan 10, 2023
cca892f
feat(nextra): allow plain md syntax; include i18n file in ssg
shuding Jan 11, 2023
270c55d
feat(next): introduced lambdas for getting data
ovflowd Jan 11, 2023
5357029
chore(eslint): added mjs to es6 context
ovflowd Jan 11, 2023
b378159
feat(next): adopted new data fetching mechanism
ovflowd Jan 11, 2023
173b534
feat(providers): updated providers with new data fetching
ovflowd Jan 11, 2023
347b400
chore(types): simplified provider types
ovflowd Jan 11, 2023
560ddbc
chore(i18n): added lts span
ovflowd Jan 11, 2023
37324c3
chore(next): improve next configuration
ovflowd Jan 11, 2023
1c316e4
feat(header): allow subpath match for sidenav
ovflowd Jan 11, 2023
a9d9729
chore(dependencies): added critters and sharp for css/image optimization
ovflowd Jan 11, 2023
05e146d
feat(caching): introduced caching of static async props
ovflowd Jan 11, 2023
c4364dc
fix(header): home location sublink
ovflowd Jan 11, 2023
70ac737
chore(hooks): removed .tsx extension
ovflowd Jan 11, 2023
53a4d1d
chore(scripts): removed unused scripts
ovflowd Jan 11, 2023
ec9f50e
feat(utils): added util for changelog link
ovflowd Jan 11, 2023
37b0585
feat(providers): provide nextra context
ovflowd Jan 11, 2023
9782bc2
chore(types): added numeric version
ovflowd Jan 11, 2023
dc84abb
feat(hooks): nextra context hook
ovflowd Jan 11, 2023
3819610
feat(components): download button component
ovflowd Jan 11, 2023
dcebdf9
feat(layouts): introduced index layout
ovflowd Jan 11, 2023
5fca766
feat(date): added format time util
ovflowd Jan 11, 2023
3939db6
chore(scripts): removed more unused scripts
ovflowd Jan 11, 2023
8c20bbd
disable flexsearch for now
shuding Jan 11, 2023
ef7ce9a
chore(next): increase memory pool for build
ovflowd Jan 12, 2023
c05a2d9
feat(data): updated hooks and how data is provided
ovflowd Jan 12, 2023
00c9bb7
chore(components): moved a few components around
ovflowd Jan 12, 2023
4644d41
chore(404): added dev 404 page
ovflowd Jan 12, 2023
e913c05
chore(i18n): added navigation and i18n for downloads
ovflowd Jan 12, 2023
9a9fd81
feat(download): introduced download components
ovflowd Jan 12, 2023
bcd73f3
feat(pages): introduced download pages
ovflowd Jan 12, 2023
e3fd213
feat(navigation): offer replacement of vars in link
ovflowd Jan 12, 2023
3b61c73
chore(scripts): updated a few scripts
ovflowd Jan 12, 2023
a352a64
chore(scripts): removed other deprecated script
ovflowd Jan 13, 2023
c38b647
chore(handlebars): added handlebars
ovflowd Jan 18, 2023
820a787
feat(release-post): contained release posts within the scripts folder
ovflowd Jan 18, 2023
fbf2212
chore(external): no need to have a package.json there anymore
ovflowd Jan 18, 2023
253a4a0
chore(release-post): minor typo fix
ovflowd Jan 18, 2023
3a6c2d5
chore(dependencies): added sw dependency
ovflowd Jan 18, 2023
9d50c76
chore(sw): enable sw feature
ovflowd Jan 18, 2023
bac2e22
chore(types): updated node data types
ovflowd Jan 18, 2023
2dd6b53
feat(components): introduced download table component
ovflowd Jan 18, 2023
98e8ce6
chore(layouts): introduced previous releases layout
ovflowd Jan 18, 2023
f9b8ba7
chore(scripts): added jquery as script
ovflowd Jan 18, 2023
8f2f901
refactor(components): use Link component
ovflowd Jan 18, 2023
81c247e
chore(downloads): use dompurify for the frontmatter modules
ovflowd Jan 18, 2023
9a40f2f
fix(links): fix api docs links
ovflowd Jan 18, 2023
a452393
fix(locale): fixed determination of route match
ovflowd Jan 18, 2023
57115f6
chore(deps): updated dependencies
ovflowd Jan 18, 2023
e015437
chore(helpers): introduced helper for getting a header link
ovflowd Jan 18, 2023
c6fdfc5
feat(heading): introduced anchored heading component
ovflowd Jan 18, 2023
fd6ddcd
chore(theme): adopted anchored component
ovflowd Jan 18, 2023
84ee4cc
chore(anchor): id is always provided
ovflowd Jan 18, 2023
80795e3
chore(dependencies): updated package json
ovflowd Jan 18, 2023
8564969
chore(mdx): transformed into mdx pages that need to be in mdx
ovflowd Jan 19, 2023
13638a9
chore(dependencies): updated dependencies
ovflowd Jan 19, 2023
0f20a34
chore(mdx): default config
ovflowd Jan 19, 2023
2722ec1
fix: upgrade nextra and refactor getNextData
shuding Jan 19, 2023
72ad9af
feat(layouts): introduced blog post layout
ovflowd Jan 19, 2023
ede7ae4
fix(release-post): end paragraph markings
ovflowd Jan 19, 2023
d9e7515
chore(layouts): sanitize to be memoized
ovflowd Jan 19, 2023
e7c2592
fix: only pass necessary node versions in page props
shuding Jan 19, 2023
6dd0480
chore(guides): removed non-translated guides
ovflowd Jan 19, 2023
054b653
fix(markdown): fix buffer guide markdown
ovflowd Jan 19, 2023
15568f1
feat(mdx): blockquote as highlightbox
ovflowd Jan 19, 2023
83641ce
fix(linting): fixed prettier rules for mdx
ovflowd Jan 19, 2023
39cf2cc
fix: /404 route and optimize page size
shuding Jan 19, 2023
ffda8c4
fix: optimize next build
shuding Jan 20, 2023
2c0b673
chore(canonical): add canonical
ovflowd Jan 20, 2023
6546723
refactor(data): simplified data gathering
ovflowd Jan 20, 2023
b45f40f
chore(dependencies): introducesd sitemap and swr
ovflowd Jan 20, 2023
ffebe0e
chore(ts): allow downlevel iteration
ovflowd Jan 20, 2023
9030c2e
fix(build): unoptimized images
ovflowd Jan 20, 2023
d3f69e4
feat(downloads): only latest major of each version
ovflowd Jan 20, 2023
b4466f5
chore(js): removed unused code
ovflowd Jan 20, 2023
7a2ef78
chore(404): prettified 404 file
ovflowd Jan 20, 2023
57eb58e
chore(footer): fixed # not valid
ovflowd Jan 20, 2023
d13a7b7
chore(i18n): add 404 page messages
ovflowd Jan 20, 2023
8a64af3
chore(404): use tsx instead of mdx
ovflowd Jan 20, 2023
d7d030e
chore(react-intl): no errors
ovflowd Jan 20, 2023
9502901
chore(i18n): fallback data
ovflowd Jan 20, 2023
f01219b
chore(ci): added build on ci again
ovflowd Jan 20, 2023
982179b
chore(sitemap): added sitemap data
ovflowd Jan 20, 2023
6695074
chore(eslint): prefer nodejs config
ovflowd Jan 20, 2023
b32162c
chore(fix): linting
ovflowd Jan 20, 2023
9dd0703
chore(scripts): remove server 404 and fix main.js for 404
ovflowd Jan 20, 2023
ca5bf9e
chore(build): is memory efficient now
ovflowd Jan 20, 2023
c3b3976
fix(i18n): always using english locale
ovflowd Jan 20, 2023
006082b
chore(next): updated config options
ovflowd Jan 20, 2023
9587276
feat(data): improved data rendering/reusability
ovflowd Jan 20, 2023
ce776a6
chore(next): remove non-necessary packages
ovflowd Jan 20, 2023
e8c407a
chore(scripts): refactored release-post to mjs
ovflowd Jan 20, 2023
972b8f6
chore(scripts): simplify and document code
ovflowd Jan 20, 2023
8e0c59d
chore(next): refactored data scripts
ovflowd Jan 20, 2023
826502a
refactor(header): i18n, svg and fix styles
ovflowd Jan 20, 2023
8c1f8f5
chore(next): minor refactor of helper
ovflowd Jan 20, 2023
a8e73d7
feat(node-data): only on selected routes
ovflowd Jan 20, 2023
1606340
fix(ts): fixed typescript types
ovflowd Jan 20, 2023
ae63ea8
refactor(providers): simplified the _app
ovflowd Jan 20, 2023
8661cc4
chore(dependencies): added gray-matter
ovflowd Jan 20, 2023
ad570ac
feat(helpers): introduced script helpers
ovflowd Jan 20, 2023
72c31a3
chore(types): updated types
ovflowd Jan 20, 2023
5d546ff
refactor(next): refactored data components
ovflowd Jan 20, 2023
efc6fd8
chore(sitemap): removed non-existent env
ovflowd Jan 20, 2023
77a22fa
chore(optimize): removed css optimization
ovflowd Jan 20, 2023
4210f36
feat(dat): introduced blog data helper
ovflowd Jan 20, 2023
5d2ff66
fix(blogdata): fixed slug
ovflowd Jan 20, 2023
8352e3c
feat(types): shared props and context
ovflowd Jan 20, 2023
c050765
feat(utils): added time component
ovflowd Jan 20, 2023
8fc5f0c
chore(gitignore): year pages
ovflowd Jan 20, 2023
69b4f7d
chore(types): refactored types
ovflowd Jan 20, 2023
634c112
chore(data): improved blog data and create year pages
ovflowd Jan 20, 2023
670195b
feat(blog): introduced blog index page
ovflowd Jan 20, 2023
7bc099f
feat(layouts): implemented blog category layout
ovflowd Jan 20, 2023
3328720
feat(i18n): migrate translations 🎉 (#1)
shanpriyan Jan 23, 2023
2002ec6
fix(document): numerours document style fixes and javascript fixes
ovflowd Jan 23, 2023
18b0e36
chore(eslint): global window
ovflowd Jan 23, 2023
597cd31
chore(external): moved external folders
ovflowd Jan 23, 2023
edb66e4
feat(rss): introduced rss generation
ovflowd Jan 23, 2023
b89f532
chore(tests): removed unused tests
ovflowd Jan 23, 2023
c6b7c29
chore(readme): updated readme
ovflowd Jan 23, 2023
6727512
chore(lint): ignore and fix linting
ovflowd Jan 23, 2023
cf3ae11
refactor(scripts): refactored the legacy scripts
ovflowd Jan 23, 2023
32ddc01
chore(ci): set memory to 4gb on ci
ovflowd Jan 23, 2023
d4fa511
chore(workers): no need tofr morkers
ovflowd Jan 23, 2023
3b29f2e
chore(ci): updated a doc and ci file
ovflowd Jan 23, 2023
09781bb
chore(refactor): minor refactors, text changes and bug fixes
ovflowd Jan 24, 2023
39eed0f
Update COLLABORATOR_GUIDE.md
ovflowd Jan 24, 2023
652952a
Apply suggestions from code review
ovflowd Jan 24, 2023
9e841e8
fix: upgrade nextra to remove the __esModule hack
shuding Jan 24, 2023
16b120f
chore: disable outputFileTracing
shuding Jan 24, 2023
a582517
chore(ci): use build cache
ovflowd Jan 24, 2023
987e49e
chore(js): fix theme switcher issues
ovflowd Jan 24, 2023
055e155
fix(build): improved data transmission from static props
ovflowd Jan 24, 2023
da9f8f7
chore(fixes): minor style and config changes
ovflowd Jan 24, 2023
dd3ccbc
fix(scrollto): minor scroll to fix
ovflowd Jan 24, 2023
0e9ce10
Update next.config.mjs
ovflowd Jan 24, 2023
b654432
chore(ci): attempt to optimize caching
ovflowd Jan 25, 2023
2200081
chore(ci): fine-tune to be based on eslint hashing
ovflowd Jan 25, 2023
db089e9
chore(cache): only cache .next/cache
ovflowd Jan 25, 2023
abf9ff0
chore(mastodon): added mastodon verification
ovflowd Feb 3, 2023
d6bcd66
chore(next): updated packages and optimised build performance
ovflowd Feb 25, 2023
54b6322
chore(dependencies): updated dependencies
ovflowd Mar 8, 2023
19dd5ac
fix(lint): fixed linting
ovflowd Mar 8, 2023
5e02b4b
chore(dependencies): removed temp dep
ovflowd Mar 8, 2023
735f7dd
chore(package): reduce memory
ovflowd Mar 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(markdown): fix buffer guide markdown
ovflowd committed Mar 8, 2023

Verified

This commit was signed with the committer’s verified signature.
ovflowd Claudio W.
commit 054b6536ac5c82dd419b7db421413b8a413cf6a4
Original file line number Diff line number Diff line change
@@ -9,11 +9,7 @@ layout: docs.hbs

This guide explains how to migrate to safe `Buffer` constructor methods. The migration fixes the following deprecation warning:

<div className="highlight-box">
The Buffer() and new Buffer() constructors are not recommended for use due to
security and usability concerns. Please use the new Buffer.alloc(),
Buffer.allocUnsafe(), or Buffer.from() construction methods instead.
</div>
> The Buffer() and new Buffer() constructors are not recommended for use due to security and usability concerns. Please use the new Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() construction methods instead.
- [Variant 1: Drop support for Node.js ≤ 4.4.x and 5.0.0 — 5.9.x](#variant-1) (_recommended_)
- [Variant 2: Use a polyfill](#variant-2)
Original file line number Diff line number Diff line change
@@ -9,11 +9,7 @@ layout: docs.hbs

このガイドは安全な `Buffer` コンストラクタメソッドに移行する方法を説明します。マイグレーションにより、以下の非推奨警告が修正されました。

<div className="highlight-box">
The Buffer() and new Buffer() constructors are not recommended for use due to
security and usability concerns. Please use the new Buffer.alloc(),
Buffer.allocUnsafe(), or Buffer.from() construction methods instead.
</div>
> The Buffer() and new Buffer() constructors are not recommended for use due to security and usability concerns. Please use the new Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() construction methods instead.
- [Variant 1: Node.js ≤ 4.4.x および 5.0.0 — 5.9.x のサポートを終了](#variant-1) (_推奨_)
- [Variant 2: ポリフィルの使用](#variant-2)
6 changes: 0 additions & 6 deletions pages/ja/docs/guides/debugging-getting-started.md
Original file line number Diff line number Diff line change
@@ -3,12 +3,6 @@ title: デバッグ - 入門
layout: docs.hbs
---

<!--
# Debugging Guide
This guide will help you get started debugging your Node.js apps and scripts.
-->
# デバッグガイド

このガイドは、Node.js アプリケーションとスクリプトのデバッグを開始するのに役立ちます。
22 changes: 0 additions & 22 deletions pages/ja/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -5,31 +5,17 @@ labels:
lts: LTS
---

<!-- # About Docs -->

# ドキュメント

<!-- There are three types of documentation available on this website: -->

ここには 3 種類のドキュメントがあります:

<!-- * API reference documentation -->
<!-- * ES6 features -->
<!-- * Frequently asked questions -->

- API リファレンス
- ES6 の機能

<!-- ### API Reference Documentation -->

## API リファレンス

<!-- The [API reference documentation](https://nodejs.org/api/) provides detailed information about a function or object in Node.js. This documentation indicates what arguments a method accepts, the return value of that method, and what errors may be related to that method. It also indicates which methods are available for different versions of Node.js. -->

[API リファレンス](https://nodejs.org/api/) では Node.js の関数やオブジェクトの詳細情報を提供しています。このドキュメントでは、メソッドで何の引数を取るのか、そのメソッドの返り値とそのメソッドに関連するエラーについても説明されています。また、異なる Node.js のバージョンでどのメソッドが使えるかについても説明されています。

<!-- This documentation describes the built-in modules provided by Node.js. It does not document modules provided by the community. -->

このドキュメントでは Node.js によって提供された組み込みのモジュールについて説明しています。コアに組み込まれていないモジュールは含みません。

<div className="highlight-box">
@@ -42,18 +28,10 @@ labels:

</div>

<!-- ### ES6 Features -->

## ES6 の機能

<!-- The [ES6 section](/en/docs/es6/) describes the three ES6 feature groups, and details which features are enabled by default in Node.js, alongside explanatory links. It also shows how to find version of V8 shipped with a particular Node.js release. -->

[ES6 のセクション](/ja/docs/es6/) では、ES6 の 3 つの機能について説明しており、それぞれの機能ごとのリンクと一緒に Node.js の標準で有効化されているかについて書いてあります。また、リリースされた Node.js のバージョンごとに組み込まれている V8 のバージョンを知るのにも利用することができます。

<!-- ### Guides -->

## ガイド

<!-- The [Guides section](/en/docs/guides/) has long-form, in-depth articles about Node.js technical features and capabilities. -->

[ガイドのセクション](/ja/docs/guides)に Node.js の技術的な機能や能力について詳細な記事があります。
31 changes: 0 additions & 31 deletions pages/ko/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -5,17 +5,6 @@ labels:
lts: LTS
---

<!--
# About Docs

There are several types of documentation available on this website:

* API reference documentation
* ES6 features
* Frequently asked questions
* Guides
-->

# 문서에 관해서

이 웹사이트에는 여러 종류의 문서가 있습니다.
@@ -24,14 +13,6 @@ There are several types of documentation available on this website:
- ES6 기능
- 안내

<!--
### API Reference Documentation

The [API reference documentation](https://nodejs.org/api/) provides detailed information about a function or object in Node.js. This documentation indicates what arguments a method accepts, the return value of that method, and what errors may be related to that method. It also indicates which methods are available for different versions of Node.js.

This documentation describes the built-in modules provided by Node.js. It does not document modules provided by the community.
-->

## API 레퍼런스 문서

[API 레퍼런스 문서](https://nodejs.org/api/)에는 Node.js의 함수나 객체에 대한 자세한 정보가 있습니다.
@@ -50,24 +31,12 @@ This documentation describes the built-in modules provided by Node.js. It does n

</div>

<!--
### ES6 Features

The [ES6 section](/en/docs/es6/) describes the three ES6 feature groups, and details which features are enabled by default in Node.js, alongside explanatory links. It also shows how to find which version of V8 shipped with a particular Node.js release.
-->

## ES6 기능

[ES6 부분](/ko/docs/es6/)에서는 세 가지 ES6 기능 그룹을 설명하고 Node.js에서 어떤 기능이
기본적으로 활성화되어있는지 설명하면서 추가 링크를 제공합니다. 특정 Node.js 릴리스 버전에
어떤 V8 버전이 포함되었는지 찾는 방법도 알려줍니다.

<!--
### Guides

Long-form, in-depth articles about Node.js technical features and capabilities.
-->

## 안내

Node.js의 기술적인 기능에 대한 길고 상세한 글입니다.
Original file line number Diff line number Diff line change
@@ -9,11 +9,7 @@ layout: docs.hbs

本教程将向你介绍如果迁移到安全的 `Buffer` 构造函数方法。此合并将消除以下已废除的警告:

<div className="highlight-box">
Buffer() 和 new Buffer()
构造函数对于有安全顾虑的人而言是不推荐使用的。请使用新的方法
Buffer.alloc(),Buffer.allocUnsafe() 或者是 Buffer.from() 构造函数。
</div>
> Buffer() 和 new Buffer() 构造函数对于有安全顾虑的人而言是不推荐使用的。请使用新的方法 Buffer.alloc(),Buffer.allocUnsafe() 或者是 Buffer.from() 构造函数。
- [变化 1: 在 Node.js ≤ 4.4.x 和 5.0.0 — 5.9.x 版本中不支持](#variant-1) (_推荐_)
- [变化 2: 使用 polyfill 库](#variant-2)