From d44b7732a634af91dc0dfa8a02c1104b95c1c8e7 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Sat, 27 Apr 2024 10:54:28 +0200 Subject: [PATCH] Change progressbar size Add docs on site setup Add imprint --- Readme.md | 12 ++++++++++++ content/imprint.md | 10 ++++++++++ hugo.yaml | 4 ++-- layouts/partials/progress-module.html | 16 ++++++++++------ themes/PaperMod/layouts/partials/footer.html | 1 + 5 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 content/imprint.md diff --git a/Readme.md b/Readme.md index 24f4d5c..8c96e39 100644 --- a/Readme.md +++ b/Readme.md @@ -55,3 +55,15 @@ python.exe .\generate_vcpkg_usage_stats.py --merge ```bash python.exe generate_vcpkg_usage_stats.py --repo_path=C:\vcpkg ``` + +### Website structure +``` +- /data + - raw_progress.yml # Raw parsed vcpkg list + - progress_overwrite.yml # Additional infos added by hand like status, progress + - progress.yml # Merged result that is displayed on the website +- /layouts/partials/ + - progress-module.html # Diagram and table for the home page +- /content/ + - tools.md # Tools site +``` diff --git a/content/imprint.md b/content/imprint.md new file mode 100644 index 0000000..333f6a8 --- /dev/null +++ b/content/imprint.md @@ -0,0 +1,10 @@ + + +Anbieter dieser Internetseite ist: + +- Elias Steurer +- Trautenmuehleweg 23 +- Friedrichshafen +- E-Mail: i at kelteseth.net + +Inhaltlich Verantwortlicher gemäß § 18 Abs. 2 MStV: Elias Steurer und Github contributor diff --git a/hugo.yaml b/hugo.yaml index 9a81668..f1b6f16 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,11 +1,11 @@ baseURL: https://arewemodulesyet.org languageCode: en-us -title: Are We (C++20) Modules Yet? +title: Are We Modules Yet? theme: ["PaperMod"] params: defaultTheme: auto # to switch between dark or light according to browser theme homeInfoParams: - Title: Nope, lol. + Title: Nope. Content: This website tracks the most popular C++ libraries, compilers, and build systems. We use vcpkg to get a rough idea of how popular a library is based on how many revisions the port has. Feel free to contribute to this list. Image: images/ISO_C++_Logo.svg.png menu: diff --git a/layouts/partials/progress-module.html b/layouts/partials/progress-module.html index b9abedd..9aba9f0 100644 --- a/layouts/partials/progress-module.html +++ b/layouts/partials/progress-module.html @@ -2,9 +2,11 @@
-

+

- +
+ +

⬆️ There is a progress bar (promise)

@@ -42,6 +44,8 @@

type: 'bar', data: { labels: ['Progress'], datasets: [{ data: [progressPercent], backgroundColor: ['green'], }] }, options: { + + maintainAspectRatio: false, aspectRatio: 2, indexAxis: 'y', scales: { x: { beginAtZero: true, max: 100, }, y: { ticks: { display: false } } }, plugins: { legend: { display: false }, tooltip: { enabled: false } }, animation: { duration: 800 }, responsive: true, maintainAspectRatio: false, } }); @@ -70,7 +74,7 @@

}); -

List Of Libraries:

+

List Of Libraries:

@@ -83,7 +87,7 @@

List Of Libraries:

- +