Skip to content

Commit

Permalink
v0.4.0 release 🎉 (#245)
Browse files Browse the repository at this point in the history
* chore: Bump version to v0.4.0

* chore: Update README demo image link

* chore: `cargo xtask gen`

* chore: Bump the `rust-version`
  • Loading branch information
CosmicHorrorDev committed Feb 17, 2024
1 parent a0f3d5f commit d1d1fa0
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ members = [

[package]
name = "inlyne"
version = "0.4.0-main"
version = "0.4.0"
description = "Introducing Inlyne, a GPU powered yet browserless tool to help you quickly view markdown files in the blink of an eye."
edition = "2021"
authors = ["trimental"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/trimental/inlyne"
homepage = "https://github.com/trimental/inlyne"
rust-version = "1.65"
rust-version = "1.72.1"
exclude = [
"/ci/*",
"/.github/*",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inlyne README.md --theme dark/light
```

<p align="center">
<img src="https://raw.githubusercontent.com/trimental/inlyne/main/example.png" width="800"/>
<img src="https://raw.githubusercontent.com/trimental/inlyne/v0.4/assets/img/example.png" width="800"/>
</p>

## About
Expand Down
Binary file added assets/img/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion completions/_inlyne
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _inlyne() {
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
'::file -- Path to the markdown file:_files' \
':file -- Path to the markdown file:_files' \
&& ret=0
}

Expand Down
2 changes: 1 addition & 1 deletion completions/_inlyne.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Register-ArgumentCompleter -Native -CommandName 'inlyne' -ScriptBlock {
[CompletionResult]::new('--page-width', 'page-width', [CompletionResultType]::ParameterName, 'Maximum width of page in pixels')
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help')
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version')
[CompletionResult]::new('-V', 'V ', [CompletionResultType]::ParameterName, 'Print version')
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version')
break
}
Expand Down
4 changes: 2 additions & 2 deletions completions/inlyne.bash
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _inlyne() {

case "${cmd}" in
inlyne)
opts="-t -s -c -w -h -V --theme --scale --config --page-width --help --version [FILE]"
opts="-t -s -c -w -h -V --theme --scale --config --page-width --help --version <FILE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down Expand Up @@ -67,4 +67,4 @@ _inlyne() {
esac
}

complete -F _inlyne -o bashdefault -o default inlyne
complete -F _inlyne -o nosort -o bashdefault -o default inlyne
2 changes: 1 addition & 1 deletion completions/inlyne.fish
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
complete -c inlyne -s t -l theme -d 'Theme to use when rendering' -r -f -a "{auto ,dark ,light }"
complete -c inlyne -s t -l theme -d 'Theme to use when rendering' -r -f -a "{auto '',dark '',light ''}"
complete -c inlyne -s s -l scale -d 'Factor to scale rendered file by [default: OS defined window scale factor]' -r
complete -c inlyne -s c -l config -d 'Configuration file to use' -r -F
complete -c inlyne -s w -l page-width -d 'Maximum width of page in pixels' -r
Expand Down

0 comments on commit d1d1fa0

Please sign in to comment.