From 2f76849512fd36dc7c49b6c20cc9c598739c9176 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Sun, 29 Jun 2025 12:28:57 +0200 Subject: some test files for bibnotes --- tests/note-files/augustine.md | 8 ++++++++ tests/note-files/betram.txt | 1 + tests/note_files/augustine.md | 8 -------- tests/note_files/betram.txt | 1 - tests/test-config.toml | 8 +++++++- 5 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 tests/note-files/augustine.md create mode 100644 tests/note-files/betram.txt delete mode 100644 tests/note_files/augustine.md delete mode 100644 tests/note_files/betram.txt (limited to 'tests') diff --git a/tests/note-files/augustine.md b/tests/note-files/augustine.md new file mode 100644 index 0000000..7af8fa6 --- /dev/null +++ b/tests/note-files/augustine.md @@ -0,0 +1,8 @@ +--- +title: Notes about Augustine +author: Great scholar +--- + +# Augustine + +A crazy dude writing some interesting stuff diff --git a/tests/note-files/betram.txt b/tests/note-files/betram.txt new file mode 100644 index 0000000..54d31e5 --- /dev/null +++ b/tests/note-files/betram.txt @@ -0,0 +1 @@ +A simple text file with notes about this Betram dude diff --git a/tests/note_files/augustine.md b/tests/note_files/augustine.md deleted file mode 100644 index 7af8fa6..0000000 --- a/tests/note_files/augustine.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Notes about Augustine -author: Great scholar ---- - -# Augustine - -A crazy dude writing some interesting stuff diff --git a/tests/note_files/betram.txt b/tests/note_files/betram.txt deleted file mode 100644 index 54d31e5..0000000 --- a/tests/note_files/betram.txt +++ /dev/null @@ -1 +0,0 @@ -A simple text file with notes about this Betram dude diff --git a/tests/test-config.toml b/tests/test-config.toml index 6d05b64..fd39b29 100644 --- a/tests/test-config.toml +++ b/tests/test-config.toml @@ -19,7 +19,13 @@ file_prefix = "/some/path/prefix" ## Path to folder (with subfolders) containing PDF files with the basename ## of the format "citekey.pdf". Other PDF basenames are not accepted. ## Use absolute paths (~ for HOME works). Otherwise, loading might not work. -pdf_path = "~/Documents/coding/projects/bibiman/tests/pdf-files" +pdf_path = "tests/pdf-files" + +## Path to folder (with subfolders) containing note files with the basename of +## the format "citekey.extension". Other basenames are not accepted. The possible +## extensions can be set through the "note_extensions" array. +note_path = "tests/note-files" +note_extensions = [ "md", "txt" ] # [colors] ## Default values for dark-themed terminal -- cgit v1.2.3