Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make MD includes work with rewrites #1898

Merged
merged 5 commits into from Mar 24, 2023
Merged

fix: make MD includes work with rewrites #1898

merged 5 commits into from Mar 24, 2023

Commits on Feb 6, 2023

  1. fix: make MD includes work with rewrites

    At the moment, any MD inclusion like `<!--@include: ...-->` do not work
    within nested packages that are configured with rewrites.
    
    Demo is in https://github.com/chgeo/vitepress-rewrites-demo (fork of your rewrite demo repo).
    There, `packages/package-a/src/index.md` cannot resolve the sibling file `include.md` through
     `<!--@include: ./include.md-->`
    
    The fix is simple to not use a rewrite alias here, but to treat include file paths as strict
    relative paths.
    chgeo committed Feb 6, 2023
    Copy the full SHA
    15939dc View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2023

  1. Formatting

    chgeo committed Feb 20, 2023
    Copy the full SHA
    92009d8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    51dc6fc View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Copy the full SHA
    e9d40ac View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Copy the full SHA
    cb5ddd0 View commit details
    Browse the repository at this point in the history