Skip to content

fix build error caused by cp swagger dir - #264

Merged
urfreespace merged 1 commit into
mainfrom
fix-build-error2
Oct 25, 2022
Merged

urfreespace merged 1 commit into
mainfrom
fix-build-error2

Conversation

@urfreespace

@urfreespace urfreespace commented Oct 25, 2022 •

Copy link
Copy Markdown
Member

@urfreespace

Copy link
Copy Markdown
Member Author

@tisonkun PTAL, thanks

@urfreespace
urfreespace merged commit 097e8de into main Oct 25, 2022
@tisonkun

Copy link
Copy Markdown
Member

It seems the result f17fd06 is under content/content/build which has two more level inner then the expected one.

| xargs rm -rf
fi
cp -r $GENERATED_SITE_DIR/content/ $PULSAR_SITE_TMP/content
cp -R $GENERATED_SITE_DIR/content/ $PULSAR_SITE_TMP/content

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The root cause should be that we change from -r to -R and the behavior changed.

Comment thread site2/tools/build-site.sh

mkdir -p "$GEN_SITE_DIR"/reference
cp -r docsify/* "$GEN_SITE_DIR"/reference
cp -R docsify/* "$GEN_SITE_DIR"/reference

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And thus we should also take care of this line.

tisonkun added a commit to tisonkun/pulsar-site that referenced this pull request Oct 25, 2022
urfreespace pushed a commit that referenced this pull request Oct 25, 2022
zeo1995 pushed a commit to zeo1995/pulsar-site that referenced this pull request Oct 26, 2022
* main: (1021 commits)
  Docs sync done from apache/pulsar(#6cc30c9)
  Add python client doc for 2.10.2 (apache#260)
  [cleanup][doc] Remove incubating documents from the site repo (apache#267)
  Docs sync done from apache/pulsar(#6cc30c9)
  Docs sync done from apache/pulsar(#6cc30c9)
  Docs sync done from apache/pulsar(#82237d3)
  Docs sync done from apache/pulsar(#82237d3)
  fix build process to release content in a correct layout (apache#265)
  fix build error caused by cp swagger dir (apache#264)
  Fix the bug that the redirection file is not copied when building (apache#263)
  Docs sync done from apache/pulsar(#573c8f6)
  Docs sync done from apache/pulsar(#e913a10)
  Docs sync done from apache/pulsar(#d1b5c02)
  Redirect incubating docs to pulsar.staged.apache.org (apache#261)
  Docs sync done from apache/pulsar(#39270f0)
  Docs sync done from apache/pulsar(#55d6c5f)
  Docs sync done from apache/pulsar(#c55be38)
  Docs sync done from apache/pulsar(#c55be38)
  Docs sync done from apache/pulsar(#c55be38)
  Docs sync done from apache/pulsar(#845d992)
  ...

# Conflicts:
#	site2/website-next/package-lock.json
#	site2/website-next/package.json
#	site2/website-next/src/css/custom.css
#	site2/website-next/yarn.lock
@tisonkun
tisonkun deleted the fix-build-error2 branch November 15, 2022 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants