rspress icon indicating copy to clipboard operation
rspress copied to clipboard

[Bug]:There is an issue with the path pointing to the failed deployment of gitee pages

Open finch04 opened this issue 1 year ago • 1 comments

版本信息

System:
    OS: Windows 11 10.0.22000
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 22.06 GB / 31.69 GB
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (121.0.2277.112)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    rspress: ^1.0.0 => 1.11.2

问题详情

How to deploy a website to Gitee pages? Directly deploying to Gitee will result in the loss of CSS files and some paths becoming absolute paths.

复现链接

https://gitee.com/TSGU-OSC/website/tree/build/

复现步骤

Deploying the doc_build package will result in serious errors in paths such as CSS, JavaScript, and some image icons

finch04 avatar Feb 26 '24 12:02 finch04

Maybe you should set the correct base path. Details in https://rspress.dev/guide/basic/deploy.html

sanyuan0704 avatar Feb 27 '24 03:02 sanyuan0704

We temporarily close this issue due to inactivity. If you're still facing this problem, please open a new issue and reference this one.

Timeless0911 avatar Jan 13 '25 11:01 Timeless0911