Skip to content

Commit

Permalink
feat: reference page jump with version (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
urfreespace authored Mar 7, 2023
1 parent e3ba403 commit 1d0b37f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/replace.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ const latestVersion = getRealVersion(latestMajorRelease);
const from = [
/@pulsar:version_number@/g,
/@pulsar:version@/g,
/@pulsar:version_origin@/g,
/pulsar:binary_release_url/g,
/pulsar:connector_release_url/g,
/pulsar:offloader_release_url/g,
Expand Down Expand Up @@ -198,6 +199,7 @@ const options = {
files: [`${nextDocsDir}/*.md`, `${nextDocsDir}/**/*.md`],
from: from,
to: [
`${latestVersion}`,
`${latestVersion}`,
`${latestVersion}`,
binaryReleaseUrl(`${latestVersion}`),
Expand Down Expand Up @@ -247,6 +249,7 @@ for (let _v of versions) {
to: [
`${vWithoutIncubating}`,
`${v}`,
`${_v}`,
binaryReleaseUrl(`${v}`),
connectorReleaseUrl(`${v}`),
offloaderReleaseUrl(`${v}`),
Expand Down

0 comments on commit 1d0b37f

Please # to comment.