Skip to content

withastro not parsing or linking appropiate base paths for github pages #14736

@RMondGP

Description

@RMondGP

Astro Info

has to with the github implementation withastro@v*

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

New to doing this, but using all the documentation available from both github pages and astro I have not been able to find a solution to this issue. I tried multitude of solutions but the base paths for the github project is never accepted. I could even write it into the paths and would just double it. The project I have is called The-Forensics-Way (repo)(base).

If I don't add it everything just points to name.github.io/blog/file.md, and then if I do add it to some local paths it will mess it up and name.github.io/The-Forensics-Way/blog/The-Forensics-Way/blog/file.md. does this for navigations and other things. When I run this vscode I have no issues, it deploys as the astro documentation says.

I have added things to the config and it just does not do anything. Not sure if its a caching issue or more of github problem with their deploy method. Ive changed the deploy with withastro@v3-5. I have use different AI to try to get fix as well and nothing has helped. I am new to this and the github repo is public and can be reproduced just by launching it.

What's the expected result?

should just deploy as the documentation suggest, its a very bland, minimal deployment

Link to Minimal Reproducible Example

https://stackblitz.com/abcd1234

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions