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

Build: Do not strip .md extension from absolute URLs #7222

Merged
merged 1 commit into from Sep 26, 2016

Conversation

kaicataldo
Copy link
Member

@kaicataldo kaicataldo commented Sep 23, 2016

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[X] Other, please explain:

Fixes eslint/archive-website#288.

We currently strip the .md extension from all URLs, but we actually do want to send users to the template .md files on GitHub in this case.

Please check each item to ensure your pull request is ready:

  • I've read the pull request guide
  • I've included tests for my change
  • I've updated documentation for my change (if appropriate)

What changes did you make? (Give an overview)
Updated the site generator to not strip .md from links that start with http and https.

Is there anything you'd like reviewers to focus on?
Nope!

@eslintbot
Copy link

LGTM

@kaicataldo kaicataldo force-pushed the fixtemplatelinks branch 2 times, most recently from 0e37ae3 to cfa2dcf Compare September 23, 2016 19:04
@kaicataldo kaicataldo changed the title Build: Do not strip .md extension from absolute URLs WIP - Build: Do not strip .md extension from absolute URLs Sep 23, 2016
@kaicataldo kaicataldo changed the title WIP - Build: Do not strip .md extension from absolute URLs Build: Do not strip .md extension from absolute URLs Sep 23, 2016
@eslintbot
Copy link

LGTM

Copy link
Member

@ilyavolodin ilyavolodin left a comment

Choose a reason for hiding this comment

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

LGTM

@ilyavolodin ilyavolodin added bug ESLint is working incorrectly build This change relates to ESLint's build process accepted There is consensus among the team that this change meets the criteria for inclusion labels Sep 23, 2016
Copy link
Member

@vitorbal vitorbal left a comment

Choose a reason for hiding this comment

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

Lgtm

@gyandeeps gyandeeps merged commit 299a563 into master Sep 26, 2016
@kaicataldo kaicataldo deleted the fixtemplatelinks branch October 8, 2016 21:12
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 6, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion bug ESLint is working incorrectly build This change relates to ESLint's build process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken link for rule change proposal template
6 participants