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 404 Link in Docs #3532

Merged
merged 2 commits into from
Nov 20, 2017
Merged

Fix 404 Link in Docs #3532

merged 2 commits into from
Nov 20, 2017

Conversation

mohsinr
Copy link
Contributor

@mohsinr mohsinr commented Nov 17, 2017

Description

How Has This Been Tested?

Screenshots (jpeg or gifs if applicable):

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.

Copy link
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I found another one in the same document which 404'd, updated in the branch ("See: Attributes").

@aduth aduth merged commit 7cc7b8c into WordPress:master Nov 20, 2017
@mohsinr
Copy link
Contributor Author

mohsinr commented Nov 20, 2017

Thank you!

@@ -93,7 +93,7 @@ attributes: {
},
```

* **See: [Attributes](/reference/attributes/).**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we have something transforming the links automatically during build step when targeting markdown files referenced in the manifest? cc @pento

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I considered also using relative links, e.g. ../reference/attributes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Relative links are the better option, I think. Less processing is always better. 🙂

Copy link
Contributor

@youknowriad youknowriad Nov 21, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The advantage of the markdown option is that navigating in Github works :).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The advantage of the markdown option is that navigating in Github works :).

I expect it would have 404'd in GitHub prior to this change as well.

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

Successfully merging this pull request may close these issues.

4 participants