From 621588ff6d3a08a3feacd5eb89eae77fa28aa931 Mon Sep 17 00:00:00 2001 From: Soitora Date: Sun, 7 Jan 2024 21:10:14 +0100 Subject: [PATCH] Add stylized folder structure to Storage (#1110) * Add stylized folder structure to Storage * Add empty line in Stylus file Lint --- website/src/.vitepress/theme/styles/tree.styl | 8 ++ website/src/docs/faq/storage.md | 112 ++++++++++++++---- website/src/public/img/tachiyomi-book.png | Bin 0 -> 1099 bytes 3 files changed, 100 insertions(+), 20 deletions(-) create mode 100644 website/src/public/img/tachiyomi-book.png diff --git a/website/src/.vitepress/theme/styles/tree.styl b/website/src/.vitepress/theme/styles/tree.styl index 61dccdfb..5e1970d4 100644 --- a/website/src/.vitepress/theme/styles/tree.styl +++ b/website/src/.vitepress/theme/styles/tree.styl @@ -24,6 +24,10 @@ &.main { color: var(--vp-c-brand-darker) } + + &.dynamic { + color: var(--vp-c-brand-darker) + } } &.file.zip { @@ -94,6 +98,10 @@ &.file.zip { color: var(--vp-c-brand-lighter) !important } + + &.dynamic { + color: var(--vp-c-brand-lightest) !important + } } } } diff --git a/website/src/docs/faq/storage.md b/website/src/docs/faq/storage.md index 3f0d905d..0faa6a26 100644 --- a/website/src/docs/faq/storage.md +++ b/website/src/docs/faq/storage.md @@ -10,26 +10,94 @@ Tachiyomi manages several things within a selected storage location, including a The following illustrates the folder structure: -```txt -/ -├── autobackup -│ ├── eu.kanade.tachiyomi_yyyy-mm-dd_hh-mm.tachibk -│ └── ... -├── downloads -│ └── Source name (LANG) -│ ├── Title -│ │ ├── Chapter01.cbz -│ │ └── ... -│ └── Other title -│ ├── Chapter01.cbz -│ └── ... -└── local - ├── Title - │ ├── Chapter01.cbz - │ └── ... - └── Other title - └── Chapter01.cbz -``` +:::info Example +
+
    + Folder + [your selected storage location] +
  • + Folder + autobackup +
      +
    • + File + eu.kanade.tachiyomi_yyyy-mm-dd_hh-mm.tachibk +
    • +
    • + File + ... +
    • +
    +
  • +
  • + Folder + downloads +
      +
    • + Folder + Source name (LANG) +
        +
      • + Folder + Series title +
          +
        • + Compressed File + Chapter01.cbz +
        • +
        • + Compressed File + ... +
        • +
        +
      • +
      • + Folder + Other series title +
          +
        • + Compressed File + Chapter01.cbz +
        • +
        +
      • +
      +
    • +
    +
  • +
  • + Folder + local +
      +
    • + Folder + Series title +
        +
      • + Compressed File + Chapter01.cbz +
      • +
      • + Compressed File + ... +
      • +
      +
    • +
    • + Folder + Other series title +
        +
      • + Compressed File + Chapter01.cbz +
      • +
      +
    • +
    +
  • +
+
+::: Backup file name prefixes are unique for the app to avoid potential collisions between forks. @@ -53,3 +121,7 @@ Since Android 11, most apps are enforced to use [Scoped Storage](https://develop These functions may become slower due to **Scoped Storage**'s inherent latency, as discussed in detail [here](https://www.xda-developers.com/android-q-storage-access-framework-scoped-storage/). This can impact tasks like deleting chapters, library loading times, accessing local files like downloads or the local source, and more. As always, using internal storage is recommended over SD cards if latency is of concern. + + diff --git a/website/src/public/img/tachiyomi-book.png b/website/src/public/img/tachiyomi-book.png new file mode 100644 index 0000000000000000000000000000000000000000..78804a17b491feee56a44d23424ea64bf389d78d GIT binary patch literal 1099 zcmV-R1ho5!P)k|be@BVvn7c9}wVnnQP-KzN%bYne}irYUr%Ds`$VcB(0N ztSo%9S(Ln1mcm<^!!3cjE`q#dpvYjK%4nm^W}?gj0s;jE1q=)f4h{|x5fKv;6BZU0 zA|fI!g1s$+zAl2jE`+}?fVwY%x-fsZFo3%;fVeV#xHEdMHg>BwcB(jdt~qw8I&z{q zbf!ByJ3T!;K5w5uZJR)Gp+at*LT{czaG*qLm_=)tOJgLFE*|&HL)%;vMn;S zEi$$&F}f=+yDKldySu^}aLPFF-L)1h>)J8_s)YR5YOx8_J*Hcs2RaM&B+S_4a z+hb$hYHHox-QIC=;CFZ7e0<@3ed2?I=*+>7t_SuCDLAyzubw^2y2d z*4Fj)_4e4<_SxC@-QD>3`1$1I`T6FN6G>-+ET`}_O+^78!k_5Jqt{{8*_{{H{} z|DUQ#9{>OV9duGoQve1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