Skip to content

Commit

Permalink
Revert "docs: Adjust docs site path prefix (eslint#15889)"
Browse files Browse the repository at this point in the history
This reverts commit f34ec10.
  • Loading branch information
srijan-deepsource committed May 30, 2022
1 parent 9d049c0 commit 1289b10
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions docs/.eleventy.js
Expand Up @@ -343,15 +343,6 @@ module.exports = function(eleventyConfig) {
return {
passthroughFileCopy: true,

/*
* The site is loaded from /docs on eslint.org and so we need to adjust
* the path prefix so URLs are evaluated correctly.
*
* The path prefix is turned off for deploy previews so we can properly
* see changes before deployed.
*/
pathPrefix: process.env.CONTEXT === "deploy-preview" ? "" : "/docs",

markdownTemplateEngine: 'njk',
dataTemplateEngine: 'njk',
htmlTemplateEngine: 'njk',
Expand Down

0 comments on commit 1289b10

Please sign in to comment.