question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[docs] template links broken

See original GitHub issue

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

The Source Code links on https://mui.com/getting-started/templates/ result in a 404 page.

Expected behavior 🤔

With PR #30757 the files have moved. While the path in the docs was adjusted, it is not deployed yet. It is annotated with #default-branch-switch, however the current version links to the master branch.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
oliviertassinaricommented, Mar 13, 2022

The current shape of #31425 prevents this to happen again in the future.

0reactions
Nef10commented, Mar 13, 2022

Hey, as I mentioned in the original bug report, the path had been adjusted in the docs, just not deployed yet. The deployment of v5.5.0 a couple of days ago fixed this problem.

Let me try to describe it again, to make it more understandable:

  1. PR https://github.com/mui/material-ui/pull/30757 moved some files which are linked from the help page.
  2. Therefore the links obviously broke. No caching problem.
  3. While the PR also change the links in the help pages, these are only deployed when a new version is released, and not on every commit (which is the correct thing to do, but caused the bug nonetheless)
  4. The release of v5.5.0 deployed the help pages with updated links which is why the problem is fixed now.

How to prevent this? If files linked from help pages are changed, immediately after merging a release should be done to update the help pages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[docs] template links broken #30905 - mui/material-ui - GitHub
PR [docs] Migrate content to the new location #30757 moved some files which are linked from the help page. Therefore the links obviously...
Read more >
Fix broken links to data - Microsoft Support
Open the workbook that contains the broken link. · On the Data tab, click Edit Links. · In the Source file box, select...
Read more >
Preventing broken links in Microsoft Word documents - IBM
Click the File tab, and then Info > Edit links to files. This menu entry is available only if your document contains linked...
Read more >
all of the links in my google sheets are broken
When you share a link to a file, your name will be visible as the owner of the file. At the top right,...
Read more >
docusaurus.config.js
The behavior of Docusaurus when it detects any broken link. ... docusaurus.config.js. module.exports = { themeConfig: { docs: { sidebar: {
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found