Skip to content

Release all static resources under $WEBSITE/static in the site repo #18174

Closed
apache/pulsar-site
#263

Description

@tisonkun

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currently, we only move part of the static resources under $WEBSITE/static to the final website deployment:

https://github.com/apache/pulsar-site/blob/c30db65192c9f1791bf4bd2cf1b300124643933a/site2/tools/build-site.sh#L45-L62

I think it breaks the assumption of Docusaurus that all stuff under static is released to the final deployment as is. Also, this assumption break causes a follow-up to apache/pulsar-site#261 as stated at apache/pulsar-site#259 (comment).

Solution

Release all static resources under $WEBSITE/static in the site repo.

Alternatives

No response

Anything else?

cc @urfreespace

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

  1. urfreespace commented on Oct 24, 2022

    @urfreespace
    Member

    @tisonkun tests show that hidden files are not copied by default. as you know, files whose names start with a dot are hidden files apache/pulsar-site#263 PTAL, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions