Skip to content

Commit

Permalink
fix Jenkins pulsar-website-build error 571 (apache#3691)
Browse files Browse the repository at this point in the history
### Motivation

Jenkins pulsar-website-build error 571, error info:
```java
Error: No 'original_id' field found in /pulsar/site2/website/versioned_docs/version-2.3.0/io-cdc-canal.md. Perhaps you forgot to add it when importing prior versions of your docs?
    at /pulsar/site2/website/node_modules/docusaurus/lib/server/versionFallback.js:64:11
    at Array.forEach (<anonymous>)
    at Object.forEach (/pulsar/site2/website/node_modules/docusaurus/lib/server/versionFallback.js:52:7)
    at Module._compile (internal/modules/cjs/loader.js:688:30)
    at Module._compile (/pulsar/site2/website/node_modules/pirates/lib/index.js:99:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:699:10)
    at Object.newLoader [as .js] (/pulsar/site2/website/node_modules/pirates/lib/index.js:104:7)
    at Module.load (internal/modules/cjs/loader.js:598:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
    at Function.Module._load (internal/modules/cjs/loader.js:529:3)
error Command failed with exit code 1.
```

### Modifications

io-cdc doc add original_id content.
  • Loading branch information
ambition119 authored and sijie committed Mar 3, 2019
1 parent 5fd5730 commit 65daec1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion site2/website/versioned_docs/version-2.3.0/io-cdc-canal.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
id: io-cdc-canal
id: version-2.3.0-io-cdc-canal
title: CDC Canal Connector
sidebar_label: CDC Canal Connector
original_id: io-cdc-canal
---

### Source Configuration Options
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
id: io-cdc-debezium
id: version-2.3.0-io-cdc-debezium
title: CDC Debezium Connector
sidebar_label: CDC Debezium Connector
original_id: io-cdc-debezium
---

### Source Configuration Options
Expand Down
3 changes: 2 additions & 1 deletion site2/website/versioned_docs/version-2.3.0/io-cdc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
id: io-cdc
id: version-2.3.0-io-cdc
title: CDC Connector
sidebar_label: CDC Connector
original_id: io-cdc
---

## Source
Expand Down

0 comments on commit 65daec1

Please sign in to comment.