From ff7440269b1c9ff1e6391385b871162cff53d71f Mon Sep 17 00:00:00 2001 From: ice1000 Date: Sun, 15 Dec 2019 22:41:17 -0500 Subject: [PATCH] [ icon ] Add icon --- .github/README.md | 2 ++ CHANGELOG.md | 5 +++++ rustdoc/icon.svg | 15 +++++++++++++++ src/lib.rs | 3 +++ 4 files changed, 25 insertions(+) create mode 100644 rustdoc/icon.svg diff --git a/.github/README.md b/.github/README.md index 25ae47c..88223fc 100644 --- a/.github/README.md +++ b/.github/README.md @@ -24,6 +24,8 @@ For language description, please head to the [docs.rs][doc-rs] page. ## Resources +![](https://raw.githubusercontent.com/owo-lang/narc-rs/master/rustdoc/icon.svg?sanitize=true) + + [Original Paper][paper] that Narc is based on + [Docs.rs][doc-rs] documentation + [IntelliJ Plugin][plugin], which can export your code as clickable HTML diff --git a/CHANGELOG.md b/CHANGELOG.md index 6875e4f..9d73dd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ + Functions of `Subst` are now `self`-based methods + Move `ConHead` to `syntax::common` + Move `syntax::core::pat` to `check::pats::core` ++ Implement `simplify` for simple pattern match + + Implement `check::pats::mat` for generating matches + + Implement `unfold_func` ++ Group imports into a `use` tree (`merge_imports` in rustfmt) ++ Add icon # 0.0.6 diff --git a/rustdoc/icon.svg b/rustdoc/icon.svg new file mode 100644 index 0000000..20bd02e --- /dev/null +++ b/rustdoc/icon.svg @@ -0,0 +1,15 @@ + + + + + + + \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index f6983cd..07cd65e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,6 @@ +#![doc( + html_logo_url = "https://raw.githubusercontent.com/owo-lang/narc-rs/master/rustdoc/icon.svg?sanitize=true" +)] /*! Narc is a dependently-typed programming language with Agda style dependent pattern matching.