-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
feat!: deprecate rust plugin & update sass files (#112)
- Loading branch information
Showing
18 changed files
with
897 additions
and
2,280 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../../src/bin/assets/catppuccin-admonish.css | ||
../../palette/dist/catppuccin-admonish.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../../src/bin/assets/catppuccin.css | ||
../../palette/dist/catppuccin.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
422 changes: 211 additions & 211 deletions
422
src/bin/assets/catppuccin-admonish.css → palette/dist/catppuccin-admonish.css
Large diffs are not rendered by default.
Oops, something went wrong.
984 changes: 492 additions & 492 deletions
984
src/bin/assets/catppuccin.css → palette/dist/catppuccin.css
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
use std::process; | ||
|
||
use clap::{ | ||
command, crate_authors, crate_description, crate_version, Arg, ArgAction, Command, | ||
}; | ||
use log::error; | ||
|
||
fn main() { | ||
env_logger::init_from_env(env_logger::Env::default().default_filter_or("info")); | ||
|
||
error!( | ||
r#" | ||
This preprocessor is no longer supported and no new versions will be released. | ||
Instructions on how to apply Catppuccin to your mdBook can be found at https://github.com/catppuccin/mdBook. | ||
Please uninstall this preprocessor by running 'cargo uninstall mdbook-catppuccin' and remove '[preprocessor.catppuccin]' from your 'book.toml' file. | ||
For further information on why this package no longer works, please refer to https://github.com/catppuccin/mdBook/issues/107. | ||
Exiting..."# | ||
); | ||
|
||
make_app().get_matches(); | ||
|
||
process::exit(1); | ||
} | ||
|
||
pub fn make_app() -> Command { | ||
command!() | ||
.name("mdbook-catppuccin") | ||
.about(crate_description!()) | ||
.author(crate_authors!()) | ||
.version(crate_version!()) | ||
.subcommand( | ||
command!("supports") | ||
.arg(Arg::new("renderer").required(true)) | ||
.about("Check whether a renderer is supported by this preprocessor"), | ||
) | ||
.subcommand( | ||
command!("install") | ||
.arg( | ||
Arg::new("dir") | ||
.default_value(".") | ||
.help("Root directory for the book, this should contain the configuration file `book.toml`") | ||
) | ||
.arg( | ||
Arg::new("force") | ||
.long("force") | ||
.short('f') | ||
.action(ArgAction::SetTrue) | ||
.help("Forcefully overwrite the existing 'index.hbs' file") | ||
) | ||
.about("Install the necessary files needed and update the config to include them"), | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.