dojo / dojo.io

Dojo - source for the dojo.io website
Other
17 stars 43 forks source link

Doc Links Do Not Work Properly #465

Closed nicknisi closed 6 years ago

nicknisi commented 6 years ago

Steps to reproduce

  1. Navigate to https://dojo.io/docs/index.html#doc--dojo__framework__v3_0_0__src__widget-core__README_md
  2. Click on Writing a theme on the right side navigation.
  3. Copy the URL and paste it into a new tab

Expected Result

The user is navigated to the correct link and scrolled to the correct section

Actual Result

The user is sent to a blank page with the following error in the console:

Error: Request to https://raw.githubusercontent.com/dojo/framework/v3.0.0/writing-a-theme failed: Not Found
nicknisi commented 6 years ago

The problem is that the link parser is not working properly and it is trying to request an incorrect file name from GitHub.