Skip to content

Remove redundant path segments from internal URLs #10653

Closed

Description

@nxtn

There are a number of [](../) relative links starting with redundant path segments. They were generated when articles were migrated from MSDN, and could be removed now to make links short and clear.

For example,

- [Dependency Properties Overview](../../../../docs/framework/wpf/advanced/dependency-properties-overview.md)

can be changed to

 - [Dependency Properties Overview](dependency-properties-overview.md)

Related to #9968

/cc @mairaw

Activity

  1. added
    help wanted
    and removed
    ⌚ Not Triaged
    on Feb 23, 2019
  2. added this to the Backlog milestone on Feb 23, 2019
  3. mairaw commented on Feb 23, 2019

    @mairaw
    Contributor

    Thanks for filing this @NextTurn! There are a few examples on the repo where we've done this already.

    e.g. #9992

  4. changed the title [-]Remove redundant path segments[/-] [+]Remove redundant path segments from internal URLs[/+] on Mar 11, 2019
  5. nemrism commented on Aug 28, 2019

    @nemrism
    Contributor

    For the [framework] section, here is the remaining work:

    Links Files Directory
    2795 735 ./docs/framework/unmanaged-api/debugging
    533 182 ./docs/framework/unmanaged-api/diagnostics
    2578 461 ./docs/framework/unmanaged-api/hosting
    1233 284 ./docs/framework/unmanaged-api/metadata
    1810 288 ./docs/framework/unmanaged-api/profiling
    1686 417 ./docs/framework/wcf/diagnostics/tracing
    2283 373 ./docs/framework/wcf/feature-details
    921 204 ./docs/framework/wcf/samples

    I could handle those changes in the coming days, but it might generate around 30 more PRs of 100~ files to review.

    @mairaw, would you like me to continue pushing them or hold on a bit?

  6. nxtn commented on Aug 28, 2019

    @nxtn
    ContributorAuthor

    @mairaw If we adopt an automated approach to complete the work, do you just need to review the scripts instead of the changes?

  7. nemrism commented on Sep 17, 2019

    @nemrism
    Contributor

    Hi there,

    @mairaw could you tell me/us what to do with the remaining work?

    I'd like to continue to clean up the links path but was wondering how you prefer to get them packed in PRs.

  8. nemrism commented on Oct 9, 2019

    @nemrism
    Contributor

    hi guys
    still got PR #14064 open and no answer on what we do with the remaining work... are you still interested with this cleanup?

  9. nxtn commented on Oct 9, 2019

    @nxtn
    ContributorAuthor

    Take it easy. These changes take time to review.

  10. nemrism commented on Oct 9, 2019

    @nemrism
    Contributor

    Yeah I totally understand, however the 15 other PRs were already merged
    And it also takes time to resolve conflicts if the branch remains like this for months ;)

  11. nemrism commented on Oct 9, 2019

    @nemrism
    Contributor

    Take it easy. These changes take time to review.

    And I just want to know if I continue working on this or take something else

  12. mairaw commented on Oct 9, 2019

    @mairaw
    Contributor

    I started reviewing that one but got busy with other deliverables. Will try to finish the review soon. Apologies for the delay.

  13. mairaw commented on Oct 9, 2019

    @mairaw
    Contributor

    You can choose whether you want to continue this one or work on something different.

  14. nemrism commented on Oct 9, 2019

    @nemrism
    Contributor

    I started reviewing that one but got busy with other deliverables. Will try to finish the review soon. Apologies for the delay.

    I can totally understand with the core 3.0 launch ;)

  15. nemrism commented on Oct 9, 2019

    @nemrism
    Contributor

    You can choose whether you want to continue this one or work on something different.

    I'll do what you prefer... I'm open to suggestions, but as you can see (#10653 (comment)), there is kind of a hurricane coming if I batch work on this

  16. mairaw commented on Oct 9, 2019

    @mairaw
    Contributor

    My suggestion since our team is still overwhelmed with PRs and behind on 3.0 work.
    Let’s table this one for now and avoid tsunamis. 😊
    Maybe do one of these per month to continue to make progress but not make them all at once.

  17. nemrism commented on Oct 9, 2019

    @nemrism
    Contributor

    I've seen that others are also doing a great job on this, @NextTurn & @Youssef1313 for example.
    I'll do as suggested and will do that as a background task.

    Great to read you again @mairaw, have a great day all

  18. mairaw commented on Oct 12, 2019

    @mairaw
    Contributor

    Yes @nemrism, you're all doing great contributions to our docs and we really appreciate it!
    Smaller PRs are much easier for our team to review as well. So if you'd like to continue to make progress towards this one, file a couple of PRs that are smaller in size and they will probably get reviewed and merged much faster.

  19. IEvangelist commented on May 19, 2020

    @IEvangelist
    Member

    Please feel free to use this new functionality from the Docs Authoring Pack when it is released tomorrow: microsoft/vscode-docs-authoring#585

  20. nxtn commented on May 20, 2020

    @nxtn
    ContributorAuthor

    @IEvangelist How can I execute this command on all candidate files in a directory?

  21. IEvangelist commented on May 20, 2020

    @IEvangelist
    Member

    @IEvangelist How can I execute this command on all candidate files in a directory?

    Hi @NextTurn - I'll see what I can do, but I originally didn't add that functionality. Although, that sounds like the desired way to do this.

    Update

    It was actually really straight forward, I've added a pull request and this will hopefully get merged in time for the next release. microsoft/vscode-docs-authoring#587

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

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions