Skip to content

fix website build for format error in sidebars.json - #7575

Merged
Jennifer88huang-zz merged 1 commit into
apache:masterfrom
jiazhai:fix_website_build
Jul 17, 2020
Merged

fix website build for format error in sidebars.json#7575
Jennifer88huang-zz merged 1 commit into
apache:masterfrom
jiazhai:fix_website_build

Conversation

@jiazhai

@jiazhai jiazhai commented Jul 17, 2020

Copy link
Copy Markdown
Member

Fixes #7536

Motivation

website build error happens: https://builds.apache.org/job/pulsar-website-build/1070/console

$ docusaurus-write-translations
internal/modules/cjs/loader.js:800
    throw err;
    ^

SyntaxError: /pulsar/site2/website/sidebars.json: Unexpected string in JSON at position 2167
    at JSON.parse (<anonymous>)
    at Object.Module._extensions..json (internal/modules/cjs/loader.js:797:27)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/pulsar/site2/website/node_modules/docusaurus/lib/server/readMetadata.js:44:17)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Module._compile (/pulsar/site2/website/node_modules/pirates/lib/index.js:99:24)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

this is caused by the format error in sidebars.json brings in #7462

Modifications

Fix the error.

@jiazhai jiazhai added doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. component/website labels Jul 17, 2020
@jiazhai jiazhai self-assigned this Jul 17, 2020
@jiazhai
jiazhai requested a review from Anonymitaet July 17, 2020 06:21
@Jennifer88huang-zz
Jennifer88huang-zz merged commit 742fc5c into apache:master Jul 17, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Proxy support with SNI routing" is not displayed in the "Concepts and Architecture" chapter

2 participants