Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to gengo #1152

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2908d7d
Replace tokei with gengo in manifest
spenserblack Aug 25, 2023
1cddb8a
Update naming of gengo's currently supported languages
spenserblack Aug 25, 2023
723b749
Remove Bash and Fish
spenserblack Aug 25, 2023
96bbbbd
Remove JSX and TSX
spenserblack Aug 25, 2023
cce8025
Remove `type: ` entries
spenserblack Aug 25, 2023
07dd12f
Remove `LanguageType`
spenserblack Aug 25, 2023
c6913f3
Slugify language names for preview title IDs
spenserblack Aug 25, 2023
d280914
Bump gengo
spenserblack Aug 28, 2023
6ac0ee0
Update template
spenserblack Aug 28, 2023
1b4dcb2
Remove Zsh
spenserblack Aug 28, 2023
4df4e08
Rename fortran entries
spenserblack Aug 29, 2023
86ffe45
Make data fns internals that take strings
spenserblack Aug 29, 2023
1ff2fb4
Bump gengo
spenserblack Aug 29, 2023
0d9a7f9
2 many changes
spenserblack Aug 29, 2023
a1ca68d
Fix panic on unsupported languages
spenserblack Aug 29, 2023
31b5fb9
Rename info line
spenserblack Aug 29, 2023
7a1a668
Update Ren'Py name
spenserblack Aug 29, 2023
1698d28
Update snapshot
spenserblack Aug 30, 2023
17f6097
Rename `get_circle_color` to `get_chip_color`
spenserblack Sep 2, 2023
96cbc52
Fix doc comment
spenserblack Sep 2, 2023
8245a37
Bump gengo
spenserblack Sep 5, 2023
c1b95b3
Merge remote-tracking branch 'upstream/main' into chore/26/switch-to-…
spenserblack Sep 5, 2023
d7aba13
Merge branch 'chore/26/switch-to-gengo' of github.com:o2sh/onefetch i…
spenserblack Sep 5, 2023
3db0f79
Bump gengo
spenserblack Sep 9, 2023
f555aca
Merge update to gix
spenserblack Sep 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
659 changes: 170 additions & 489 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ bytecount = "0.6.3"
clap.workspace = true
clap_complete = "4.4.1"
crossbeam-channel = "0.5.8"
gengo = "^0.5.2"
gix-features-for-configuration-only = { package = "gix-features", version = "0.34.0", features = [
"zlib-ng",
] }
Expand All @@ -61,7 +62,6 @@ serde_yaml = "0.9.25"
strum.workspace = true
time = { version = "0.3.28", features = ["formatting"] }
time-humanize = { version = "0.1.3", features = ["time"] }
tokei = "12.1.2"
typetag = "0.2"
yaml-rust = "0.4.5"
parking_lot = "0.12"
Expand Down
9 changes: 8 additions & 1 deletion docs/vercel/src/lib/TitleLink.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
<script lang="ts">
export let name: string;

$: slug = name
.toLowerCase()
.replace(/ /g, '-')
.replace(/#/g, '-sharp')
.replace(/\+/g, '-plus')
.replace(/[^a-z0-9-]/g, '');
</script>

<h3 id={name}><a href="#{name}" class="title-link">{name}</a></h3>
<h3 id={slug}><a href="#{slug}" class="title-link">{name}</a></h3>

<style>
.title-link,
Expand Down
Loading