File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- const a11yCSS = require ( './a11y.css' )
1+ import a11yCSS from './a11y.css.js'
22
3- module . exports = function ( eleventyConfig ) {
3+ export default function ( eleventyConfig ) {
44 eleventyConfig . setUseGitIgnore ( false )
55
66 eleventyConfig . addPlugin ( a11yCSS )
Original file line number Diff line number Diff line change 1- const fs = require ( ' fs')
2- const path = require ( ' path')
3- const showdown = require ( 'showdown' )
4- const fm = require ( 'front-matter' )
5- const prism = require ( 'prismjs' )
6- const loadLanguages = require ( 'prismjs/components/' ) ;
7- loadLanguages ( [ 'scss' , 'css-extras' ] ) ;
1+ import fs from 'node: fs'
2+ import path from 'node: path'
3+ import showdown from 'showdown'
4+ import fm from 'front-matter'
5+ import prism from 'prismjs'
6+ import loadLanguages from 'prismjs/components/index.js'
7+ loadLanguages ( [ 'scss' , 'css-extras' ] )
88
99const DIRECTORIES = {
1010 sass : {
@@ -144,6 +144,6 @@ const generateJsonDocumentation = () => {
144144 )
145145}
146146
147- module . exports = function ( ) {
147+ export default function ( ) {
148148 generateJsonDocumentation ( )
149149}
Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
77 < meta name ="description "
88 content ="This CSS file intends to warn developers about possible risks and mistakes that exist in HTML code. It can also be used to roughly evaluate a site's quality by simply including it as an external stylesheet. ">
9- < link rel ="stylesheet " href ="./static/docs.css?v=1730752943989 ">
9+ < meta name ="generator " content ="Eleventy v3.0.0 ">
10+ < link rel ="stylesheet " href ="./static/docs.css?v=1730756126792 ">
1011 < link rel ="shortcut icon " href ="https://ffoodd.github.io/a11y.css/static/favicon.ico ">
1112 < link rel ="preload " href ="./static/fonts/firasans-book.woff2 " as ="font " type ="font/woff2 " crossorigin ="anonymous ">
1213 < link rel ="stylesheet " href ="./static/css/a11y-en_advices-only.css "> < link rel ="stylesheet " href ="./static/css/a11y-light.min.css ">
@@ -684,6 +685,6 @@ <h3>Test</h3>
684685 </ div >
685686</ footer >
686687
687- < script src ="./static/docs.js?v=1730752943995 "> </ script >
688+ < script src ="./static/docs.js?v=1730756126797 "> </ script >
688689 </ body >
689690</ html >
Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
77 < meta name ="description "
88 content ="This CSS file intends to warn developers about possible risks and mistakes that exist in HTML code. It can also be used to roughly evaluate a site's quality by simply including it as an external stylesheet. ">
9- < link rel ="stylesheet " href ="./static/docs.css?v=1730752943998 ">
9+ < meta name ="generator " content ="Eleventy v3.0.0 ">
10+ < link rel ="stylesheet " href ="./static/docs.css?v=1730756126800 ">
1011 < link rel ="shortcut icon " href ="https://ffoodd.github.io/a11y.css/static/favicon.ico ">
1112 < link rel ="preload " href ="./static/fonts/firasans-book.woff2 " as ="font " type ="font/woff2 " crossorigin ="anonymous ">
1213 < link rel ="stylesheet " href ="./static/css/a11y-light.min.css ">
@@ -1157,6 +1158,6 @@ <h5>References</h5>
11571158 </ div >
11581159</ footer >
11591160
1160- < script src ="./static/docs.js?v=1730752943999 "> </ script >
1161+ < script src ="./static/docs.js?v=1730756126801 "> </ script >
11611162 </ body >
11621163</ html >
Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
77 < meta name ="description "
88 content ="This CSS file intends to warn developers about possible risks and mistakes that exist in HTML code. It can also be used to roughly evaluate a site's quality by simply including it as an external stylesheet. ">
9- < link rel ="stylesheet " href ="./static/docs.css?v=1730752943995 ">
9+ < meta name ="generator " content ="Eleventy v3.0.0 ">
10+ < link rel ="stylesheet " href ="./static/docs.css?v=1730756126797 ">
1011 < link rel ="shortcut icon " href ="https://ffoodd.github.io/a11y.css/static/favicon.ico ">
1112 < link rel ="preload " href ="./static/fonts/firasans-book.woff2 " as ="font " type ="font/woff2 " crossorigin ="anonymous ">
1213 < link rel ="stylesheet " href ="./static/css/a11y-en_errors-only.css "> < link rel ="stylesheet " href ="./static/css/a11y-light.min.css ">
@@ -1389,6 +1390,6 @@ <h3>Test</h3>
13891390 </ div >
13901391</ footer >
13911392
1392- < script src ="./static/docs.js?v=1730752943996 "> </ script >
1393+ < script src ="./static/docs.js?v=1730756126798 "> </ script >
13931394 </ body >
13941395</ html >
Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
77 < meta name ="description "
88 content ="This CSS file intends to warn developers about possible risks and mistakes that exist in HTML code. It can also be used to roughly evaluate a site's quality by simply including it as an external stylesheet. ">
9- < link rel ="stylesheet " href ="./static/docs.css?v=1730752944015 ">
9+ < meta name ="generator " content ="Eleventy v3.0.0 ">
10+ < link rel ="stylesheet " href ="./static/docs.css?v=1730756126817 ">
1011 < link rel ="shortcut icon " href ="https://ffoodd.github.io/a11y.css/static/favicon.ico ">
1112 < link rel ="preload " href ="./static/fonts/firasans-book.woff2 " as ="font " type ="font/woff2 " crossorigin ="anonymous ">
1213 </ head >
@@ -145,6 +146,6 @@ <h2>Contribution</h2>
145146 </ div >
146147</ footer >
147148
148- < script src ="./static/docs.js?v=1730752944015 "> </ script >
149+ < script src ="./static/docs.js?v=1730756126817 "> </ script >
149150 </ body >
150151</ html >
Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
77 < meta name ="description "
88 content ="This CSS file intends to warn developers about possible risks and mistakes that exist in HTML code. It can also be used to roughly evaluate a site's quality by simply including it as an external stylesheet. ">
9- < link rel ="stylesheet " href ="./static/docs.css?v=1730752943996 ">
9+ < meta name ="generator " content ="Eleventy v3.0.0 ">
10+ < link rel ="stylesheet " href ="./static/docs.css?v=1730756126798 ">
1011 < link rel ="shortcut icon " href ="https://ffoodd.github.io/a11y.css/static/favicon.ico ">
1112 < link rel ="preload " href ="./static/fonts/firasans-book.woff2 " as ="font " type ="font/woff2 " crossorigin ="anonymous ">
1213 < link rel ="stylesheet " href ="./static/css/a11y-en_obsoletes-only.css "> < link rel ="stylesheet " href ="./static/css/a11y-light.min.css ">
@@ -267,6 +268,6 @@ <h3>Test</h3>
267268 </ div >
268269</ footer >
269270
270- < script src ="./static/docs.js?v=1730752943997 "> </ script >
271+ < script src ="./static/docs.js?v=1730756126798 "> </ script >
271272 </ body >
272273</ html >
Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
77 < meta name ="description "
88 content ="This CSS file intends to warn developers about possible risks and mistakes that exist in HTML code. It can also be used to roughly evaluate a site's quality by simply including it as an external stylesheet. ">
9- < link rel ="stylesheet " href ="./static/docs.css?v=1730752943997 ">
9+ < meta name ="generator " content ="Eleventy v3.0.0 ">
10+ < link rel ="stylesheet " href ="./static/docs.css?v=1730756126799 ">
1011 < link rel ="shortcut icon " href ="https://ffoodd.github.io/a11y.css/static/favicon.ico ">
1112 < link rel ="preload " href ="./static/fonts/firasans-book.woff2 " as ="font " type ="font/woff2 " crossorigin ="anonymous ">
1213 < link rel ="stylesheet " href ="./static/css/a11y-en_warnings-only.css "> < link rel ="stylesheet " href ="./static/css/a11y-light.min.css ">
@@ -1394,6 +1395,6 @@ <h3>Test</h3>
13941395 </ div >
13951396</ footer >
13961397
1397- < script src ="./static/docs.js?v=1730752943997 "> </ script >
1398+ < script src ="./static/docs.js?v=1730756126799 "> </ script >
13981399 </ body >
13991400</ html >
Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
77 < meta name ="description "
88 content ="This CSS file intends to warn developers about possible risks and mistakes that exist in HTML code. It can also be used to roughly evaluate a site's quality by simply including it as an external stylesheet. ">
9- < link rel ="stylesheet " href ="./static/docs.css?v=1730752943997 ">
9+ < meta name ="generator " content ="Eleventy v3.0.0 ">
10+ < link rel ="stylesheet " href ="./static/docs.css?v=1730756126799 ">
1011 < link rel ="shortcut icon " href ="https://ffoodd.github.io/a11y.css/static/favicon.ico ">
1112 < link rel ="preload " href ="./static/fonts/firasans-book.woff2 " as ="font " type ="font/woff2 " crossorigin ="anonymous ">
1213 < link rel ="stylesheet " href ="./static/css/a11y-light.min.css ">
@@ -218,6 +219,6 @@ <h3>Test</h3>
218219 </ div >
219220</ footer >
220221
221- < script src ="./static/docs.js?v=1730752943998 "> </ script >
222+ < script src ="./static/docs.js?v=1730756126799 "> </ script >
222223 </ body >
223224</ html >
You can’t perform that action at this time.
0 commit comments