-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
styles(indentation): switch to tabs and improve .editorconfig to fix #…
- Loading branch information
Showing
92 changed files
with
5,158 additions
and
5,064 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
import a11yCSS from './a11y.css.js' | ||
|
||
export default function (eleventyConfig) { | ||
eleventyConfig.setUseGitIgnore(false) | ||
eleventyConfig.setUseGitIgnore(false) | ||
|
||
eleventyConfig.addPlugin(a11yCSS) | ||
eleventyConfig.addPlugin(a11yCSS) | ||
|
||
eleventyConfig.addPassthroughCopy('site/static') | ||
eleventyConfig.addPassthroughCopy({ | ||
'css/a11y-en_errors-only.css': 'static/css/a11y-en_errors-only.css', | ||
'css/a11y-en_warnings-only.css': 'static/css/a11y-en_warnings-only.css', | ||
'css/a11y-en_obsoletes-only.css': 'static/css/a11y-en_obsoletes-only.css', | ||
'css/a11y-en_advices-only.css': 'static/css/a11y-en_advices-only.css', | ||
'node_modules/a11y-syntax-highlighting/dist/prism/a11y-light.min.css': 'static/css/a11y-light.min.css' | ||
}) | ||
eleventyConfig.addShortcode('year', () => `${new Date().getFullYear()}`) | ||
eleventyConfig.addShortcode('version', () => `${Date.now()}`) | ||
eleventyConfig.addWatchTarget('site/static/docs.css') | ||
eleventyConfig.addWatchTarget('site/static/docs.js') | ||
eleventyConfig.addPassthroughCopy('site/static') | ||
eleventyConfig.addPassthroughCopy({ | ||
'css/a11y-en_errors-only.css': 'static/css/a11y-en_errors-only.css', | ||
'css/a11y-en_warnings-only.css': 'static/css/a11y-en_warnings-only.css', | ||
'css/a11y-en_obsoletes-only.css': 'static/css/a11y-en_obsoletes-only.css', | ||
'css/a11y-en_advices-only.css': 'static/css/a11y-en_advices-only.css', | ||
'node_modules/a11y-syntax-highlighting/dist/prism/a11y-light.min.css': 'static/css/a11y-light.min.css' | ||
}) | ||
eleventyConfig.addShortcode('year', () => `${new Date().getFullYear()}`) | ||
eleventyConfig.addShortcode('version', () => `${Date.now()}`) | ||
eleventyConfig.addWatchTarget('site/static/docs.css') | ||
eleventyConfig.addWatchTarget('site/static/docs.js') | ||
|
||
eleventyConfig.setBrowserSyncConfig({ | ||
ui: false, | ||
ghostMode: false, | ||
open: true, | ||
browser: 'firefox', | ||
}) | ||
eleventyConfig.setBrowserSyncConfig({ | ||
ui: false, | ||
ghostMode: false, | ||
open: true, | ||
browser: 'firefox', | ||
}) | ||
|
||
return { | ||
dir: { | ||
input: 'site', | ||
output: 'docs' | ||
}, | ||
markdownTemplateEngine: 'njk' | ||
} | ||
return { | ||
dir: { | ||
input: 'site', | ||
output: 'docs' | ||
}, | ||
markdownTemplateEngine: 'njk' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.