From e778ae2e87508a6dcf32d7f2b30964562dd0d7cd Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Sat, 3 Feb 2018 10:51:52 -0500 Subject: [PATCH] fixes --- _redirects | 1 + docs/api.md | 7 ------- docs/core-packages.md | 18 ++++++++---------- scripts/download-readmes.js | 2 +- 4 files changed, 10 insertions(+), 18 deletions(-) delete mode 100644 docs/api.md diff --git a/_redirects b/_redirects index c74c2cea5c..0da0c4b127 100644 --- a/_redirects +++ b/_redirects @@ -34,3 +34,4 @@ layout: null /docs/tour/ /learn-es2015/ /docs/plugins/transform-es2015-constants /docs/plugins/check-es2015-constants/ /env/ /docs/en/env/ +/docs/usage/api/ /docs/en/babel-core/ diff --git a/docs/api.md b/docs/api.md deleted file mode 100644 index f55472a362..0000000000 --- a/docs/api.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -# Don't edit this file directly. - -title: API -id: api ---- - diff --git a/docs/core-packages.md b/docs/core-packages.md index b8523f281a..49b2b5bad7 100644 --- a/docs/core-packages.md +++ b/docs/core-packages.md @@ -8,13 +8,11 @@ package: babel-core ## Other packages -* [Babel-types](babel-types.md): Babel Types is a Lodash-esque utility library for AST nodes -* [Babel-register](babel-register.md): The require hook will bind itself to node's require and automatically compile files on the fly. -* [Babel-template](babel-template.md): Generate an AST from a string template -* [Babel-helpers](babel-helpers.md): Collection of helper functions used by Babel transforms -* [Babel-code-frame](babel-code-frame.md): Generate errors that contain a code frame that point to source locations -* [Babylon](babylon.md): Babylon is a JavaScript parser used in Babel - -## Core - -{% include package_readme.html %} +* [babylon](babylon.md): Babylon is a JavaScript parser used in Babel +* [babel-core](babel-core.md): The core module that wraps everything in our transform api (used for integrations) +* [babel-generator](babel-generator.md): Prints a string from an AST +* [babel-types](babel-types.md): Babel Types is a Lodash-esque utility library for AST nodes +* [babel-register](babel-register.md): The require hook will bind itself to node's require and automatically compile files on the fly. +* [babel-template](babel-template.md): Generate an AST from a string template +* [babel-helpers](babel-helpers.md): Collection of helper functions used by Babel transforms +* [babel-code-frame](babel-code-frame.md): Generate errors that contain a code frame that point to source locations diff --git a/scripts/download-readmes.js b/scripts/download-readmes.js index b75709c752..9c68620892 100755 --- a/scripts/download-readmes.js +++ b/scripts/download-readmes.js @@ -59,7 +59,7 @@ Promise.all([ }, { name: "babylon", - uri: "/babel/babylon/master/README.md" + uri: "/babel/babylon/6.x/README.md" } ];