(wiki) chart data
This commit is contained in:
parent
941ad25ca8
commit
a22fed7728
|
@ -4,23 +4,23 @@ import Chart from "chart.js/auto";
|
||||||
|
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
labels: ["June"],
|
labels: ["April", "May", "June"],
|
||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
label: "Markdown",
|
label: "Markdown",
|
||||||
data: [2455],
|
data: [2173, 2430, 2455],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "SCSS",
|
label: "SCSS",
|
||||||
data: [1138],
|
data: [910, 1116, 1138],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "TypeScript",
|
label: "TypeScript",
|
||||||
data: [1011],
|
data: [242, 517, 1011],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Astro",
|
label: "Astro",
|
||||||
data: [946]
|
data: [535, 845, 946]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,11 +4,8 @@ title: Wiki home page
|
||||||
---
|
---
|
||||||
import ProjectSizeChart from '@assets/wiki/ProjectSizeChart';
|
import ProjectSizeChart from '@assets/wiki/ProjectSizeChart';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Project size
|
## 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.
|
||||||
|
|
||||||
<ProjectSizeChart client:load />
|
<ProjectSizeChart client:load />
|
||||||
|
|
||||||
|
|
||||||
|
|
6
tools/cloc.sh
Executable file
6
tools/cloc.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cloc \
|
||||||
|
--force-lang="agda",astro \
|
||||||
|
--exclude-dir=node_modules,dist \
|
||||||
|
.
|
Loading…
Reference in a new issue