From 0c76844ae7f7c7a27737f63355d0f7b5a6d4c3a4 Mon Sep 17 00:00:00 2001 From: Sasank Chilamkurthy Date: Sun, 16 Aug 2020 14:33:26 +0530 Subject: [PATCH] move to _static and fix links in readme --- .gitignore | 1 + README.md | 6 +++--- docs/{ => _static}/comparison_memory.png | Bin docs/{ => _static}/comparison_runtime.png | Bin 4 files changed, 4 insertions(+), 3 deletions(-) rename docs/{ => _static}/comparison_memory.png (100%) rename docs/{ => _static}/comparison_runtime.png (100%) diff --git a/.gitignore b/.gitignore index d5fc864..62b900c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ tags .mypy_cache /dist /build +docs/_build \ No newline at end of file diff --git a/README.md b/README.md index 69ccb2b..8bc45f5 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Most importantly, Lark will save you time and prevent you from getting parsing h ### Quick links - [Documentation @readthedocs](https://lark-parser.readthedocs.io/) -- [Cheatsheet (PDF)](/docs/lark_cheatsheet.pdf) +- [Cheatsheet (PDF)](/docs/_static/lark_cheatsheet.pdf) - [Online IDE (very basic)](https://lark-parser.github.io/lark/ide/app.html) - [Tutorial](/docs/json_tutorial.md) for writing a JSON parser. - Blog post: [How to write a DSL with Lark](http://blog.erezsh.com/how-to-write-a-dsl-in-python-with-lark/) @@ -113,9 +113,9 @@ See the full list of [features here](https://lark-parser.readthedocs.io/en/lates Lark is the fastest and lightest (lower is better) -![Run-time Comparison](docs/comparison_runtime.png) +![Run-time Comparison](docs/_static/comparison_runtime.png) -![Memory Usage Comparison](docs/comparison_memory.png) +![Memory Usage Comparison](docs/_static/comparison_memory.png) Check out the [JSON tutorial](/docs/json_tutorial.md#conclusion) for more details on how the comparison was made. diff --git a/docs/comparison_memory.png b/docs/_static/comparison_memory.png similarity index 100% rename from docs/comparison_memory.png rename to docs/_static/comparison_memory.png diff --git a/docs/comparison_runtime.png b/docs/_static/comparison_runtime.png similarity index 100% rename from docs/comparison_runtime.png rename to docs/_static/comparison_runtime.png