Skip to content

Commit

Permalink
index: fix begin url
Browse files Browse the repository at this point in the history
  • Loading branch information
myfreeer committed Nov 9, 2019
1 parent 672d9c6 commit b8bd2c6
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,27 +345,26 @@ const downloadMdn = (localRoot, locale = 'zh-CN', options = {}) => {
},
localRoot,
beginUrl: [
'https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute'
// `https://developer.mozilla.org/${locale}/docs/Web/API`,
// `https://developer.mozilla.org/${locale}/docs/Web/CSS/Reference`,
// `https://developer.mozilla.org/${locale}/docs/Web/JavaScript/Index`,
// `https://developer.mozilla.org/${locale}/docs/Web/HTML/Index`,
// `https://developer.mozilla.org/${locale}/docs/Web/HTML/Attributes`,
// `https://developer.mozilla.org/${locale}/docs/Web/HTML/Element`,
// `https://developer.mozilla.org/${locale}/docs/Web/HTTP`,
// `https://developer.mozilla.org/${locale}/docs/Web/Tutorials`,
// `https://developer.mozilla.org/${locale}/docs/Web/Guide`,
// `https://developer.mozilla.org/${locale}/docs/Web/Accessibility`,
// `https://developer.mozilla.org/${locale}/docs/Web/Reference`,
// `https://developer.mozilla.org/${locale}/docs/Web/Web_components`,
// `https://developer.mozilla.org/${locale}/docs/Web/MathML`,
// `https://developer.mozilla.org/${locale}/docs/Web`,
// `https://developer.mozilla.org/${locale}/docs/Mozilla`,
// `https://developer.mozilla.org/${locale}/docs/Mozilla/Tech`,
// `https://developer.mozilla.org/${locale}/docs/Mozilla/Add-ons/WebExtensions`,
// `https://developer.mozilla.org/${locale}/docs/Learn`,
// `https://developer.mozilla.org/${locale}/docs/Games`,
// `https://developer.mozilla.org/${locale}/docs/Glossary`
`https://developer.mozilla.org/${locale}/docs/Web/API`,
`https://developer.mozilla.org/${locale}/docs/Web/CSS/Reference`,
`https://developer.mozilla.org/${locale}/docs/Web/JavaScript/Index`,
`https://developer.mozilla.org/${locale}/docs/Web/HTML/Index`,
`https://developer.mozilla.org/${locale}/docs/Web/HTML/Attributes`,
`https://developer.mozilla.org/${locale}/docs/Web/HTML/Element`,
`https://developer.mozilla.org/${locale}/docs/Web/HTTP`,
`https://developer.mozilla.org/${locale}/docs/Web/Tutorials`,
`https://developer.mozilla.org/${locale}/docs/Web/Guide`,
`https://developer.mozilla.org/${locale}/docs/Web/Accessibility`,
`https://developer.mozilla.org/${locale}/docs/Web/Reference`,
`https://developer.mozilla.org/${locale}/docs/Web/Web_components`,
`https://developer.mozilla.org/${locale}/docs/Web/MathML`,
`https://developer.mozilla.org/${locale}/docs/Web`,
`https://developer.mozilla.org/${locale}/docs/Mozilla`,
`https://developer.mozilla.org/${locale}/docs/Mozilla/Tech`,
`https://developer.mozilla.org/${locale}/docs/Mozilla/Add-ons/WebExtensions`,
`https://developer.mozilla.org/${locale}/docs/Learn`,
`https://developer.mozilla.org/${locale}/docs/Games`,
`https://developer.mozilla.org/${locale}/docs/Glossary`
],
detectLinkType,
redirectFilterFunc,
Expand Down

0 comments on commit b8bd2c6

Please sign in to comment.