[CSHARP-4158] Remove edit links from gh-pages Created: 28/Apr/22 Updated: 02/May/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Unknown |
| Reporter: | James Kovacs | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The driver documentation on gh-pages contains edit links, which are currently broken. themes/mongodb/layouts/partials/header/contentHeader.html contains a root URL of docs/reference/content, which returns a 404 because the correct root URL is Docs/reference/content (note the upper case "D"). As well the Hugo script for generating the documentation links inserts a backslash (%5c) for nested pages, which also produces a 404. For example: Given that we have received few if any pull requests with documentation fixes via this mechanism over the years, I recommend removing the edit links from the live gh-pages as well as from the above-mentioned template. |