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 error for edit on github #1033

Merged
merged 1 commit into from Apr 22, 2019

Conversation

Tolsee
Copy link
Contributor

@Tolsee Tolsee commented Apr 6, 2019

We can also access api.html page through /<language>/api.html

For this case, the edit on github was sending us to branchPath + '/tree/gh-pages/_includes/api/en/'+ 'en'.

I have made an appropriate change to detect whether we are on /<laguage>/api.html or /<language>/<version>/api.html, and create URL based on that.

#924

@dougwilson dougwilson force-pushed the ts-fix-edit-on-github branch 2 times, most recently from 1fc4c7b to 2b4a742 Compare April 22, 2019 15:43
@dougwilson dougwilson merged commit 4727554 into expressjs:gh-pages Apr 22, 2019
@dougwilson dougwilson temporarily deployed to github-pages April 22, 2019 15:47 Inactive
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.

None yet

2 participants