From 8cb725aac1926cf889b4a9a8bdbcd81f63515149 Mon Sep 17 00:00:00 2001 From: Pomax Date: Fri, 18 Sep 2020 15:30:26 -0700 Subject: [PATCH] . --- docs/index.html | 2 +- docs/ja-JP/index.html | 6 +++--- docs/news/2020-09-20.html | 2 +- docs/zh-CN/index.html | 6 +++--- src/build/create-index-pages.js | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/index.html b/docs/index.html index 56cad609..54795833 100644 --- a/docs/index.html +++ b/docs/index.html @@ -31,7 +31,7 @@ - + diff --git a/docs/ja-JP/index.html b/docs/ja-JP/index.html index 07498a1d..baa68836 100644 --- a/docs/ja-JP/index.html +++ b/docs/ja-JP/index.html @@ -32,7 +32,7 @@ - + @@ -155,8 +155,8 @@

目次

Preamble

    -
  1. まえがき
  2. -
  3. What's new
  4. +
  5. まえがき
  6. +
  7. What's new

Main content

    diff --git a/docs/news/2020-09-20.html b/docs/news/2020-09-20.html index 1bcf8836..040046a5 100644 --- a/docs/news/2020-09-20.html +++ b/docs/news/2020-09-20.html @@ -26,7 +26,7 @@ - + diff --git a/docs/zh-CN/index.html b/docs/zh-CN/index.html index 3b56d445..162491a5 100644 --- a/docs/zh-CN/index.html +++ b/docs/zh-CN/index.html @@ -32,7 +32,7 @@ - + @@ -155,8 +155,8 @@

    目录

    Preamble

      -
    1. 序言
    2. -
    3. What's new
    4. +
    5. 序言
    6. +
    7. What's new

    Main content

      diff --git a/src/build/create-index-pages.js b/src/build/create-index-pages.js index 237d9cf2..7bf2d67b 100644 --- a/src/build/create-index-pages.js +++ b/src/build/create-index-pages.js @@ -17,7 +17,7 @@ async function createIndexPages(locale, localeStrings, chapters) { const langSwitcher = generateLangSwitcher(localeStrings); const toclist = {}; - const localePrefix = base ? `${locale}/` : ``; + const localePrefix = base ? `${locale}/index.html` : ``; const preface = `
      ${chapters[sectionOrder[0]]}
      `; const sections = formSectionData(chapters, sectionOrder, toclist, locale, base); const sectionText = finaliseSections(sections);