diff --git a/src/assets/wiki/ProjectSizeChart.tsx b/src/assets/wiki/ProjectSizeChart.tsx index 525df6b..94598fc 100644 --- a/src/assets/wiki/ProjectSizeChart.tsx +++ b/src/assets/wiki/ProjectSizeChart.tsx @@ -4,23 +4,23 @@ import Chart from "chart.js/auto"; const data = { - labels: ["June"], + labels: ["April", "May", "June"], datasets: [ { label: "Markdown", - data: [2455], + data: [2173, 2430, 2455], }, { label: "SCSS", - data: [1138], + data: [910, 1116, 1138], }, { label: "TypeScript", - data: [1011], + data: [242, 517, 1011], }, { label: "Astro", - data: [946] + data: [535, 845, 946] } ] }; diff --git a/src/pages/wiki/index.mdx b/src/pages/wiki/index.mdx index 1ce7692..f58f180 100644 --- a/src/pages/wiki/index.mdx +++ b/src/pages/wiki/index.mdx @@ -4,11 +4,8 @@ title: Wiki home page --- import ProjectSizeChart from '@assets/wiki/ProjectSizeChart'; - - ## Project size -Below is a chart for lines of code by extension inside the repository for this website. +The following chart displays the number of lines of code categorized by file extension within the repository of this website. + - - diff --git a/tools/cloc.sh b/tools/cloc.sh new file mode 100755 index 0000000..66d4730 --- /dev/null +++ b/tools/cloc.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +cloc \ + --force-lang="agda",astro \ + --exclude-dir=node_modules,dist \ + .