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

Redirection verifier needs to handle multiple redirection files #36

Open
gewarren opened this issue Dec 2, 2021 · 1 comment
Open

Comments

@gewarren
Copy link
Contributor

gewarren commented Dec 2, 2021

  1. Needs to account for possibility of multiple redirection files. All redirection files (if there is more than one) will be listed in the .openpublishing.publish.config.json file like so:
"docsets_to_publish": [
    {
      ...
      "build_entry_point": "docs",
      "redirection_files": [
        ".openpublishing.redirection.json",
        ".openpublishing.redirection.architecture.json",
        ".openpublishing.redirection.azure.json",
        ".openpublishing.redirection.core.json"
      ],
      ...
    }
  1. For redirects that use source_path (as opposed to source_path_from_root), the path to the file is relative to the location of the redirection file that contains it. So we need to check the path a little differently for this one.
@gewarren
Copy link
Contributor Author

gewarren commented Dec 3, 2021

I'm currently working on no. 1.

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

No branches or pull requests

1 participant