8000 GitHub - nathaneastwood/fablore: A Flesh and Blood Lore Book Website
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

nathaneastwood/fablore

Repository files navigation

fablore

Build Status License: MIT Website Buy Me a Coffee

fablore is the source repository for Legendary Stories, a community-curated digital archive of all known official Flesh and Blood lore. The site is built using mdBook.

🚀 Getting Started

Prerequisites

  • Install mdBook
  • Clone the repository:
git clone https://github.com/nathaneastwood/fablore.git
cd fablore

Build the Book

mdbook build

Serve Locally

mdbook serve --open

Back to top

🖼️ Images

Images should be optimised and converted to WebP format before use.

Convert a directory of images like so:

for file in path/to/files/*; do cwebp "$file" -o "${file%.*}.webp"; done

Install cwebp using your system package manager, or refer to the official installation guide.

Back to top

🧩 Extensions

This project makes use of several mdBook extensions:

mdbook-hints

Enable tooltips by adding the following to your index.hbs:

<!-- Required by mdbook-hints -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>

mdbook-pagetoc

Enable per-page table of contents by modifying:

<main>
   {{{ content }}}
</main>

to:

<main>
  <div class="sidetoc">
    <nav class="pagetoc"></nav>
  </div>
  {{{ content }}}
</main>

Ensure you're using a custom theme and have copied the latest index.hbs as a starting point.

Back to top

🔍 Link Checking with html-proofer

To ensure all internal and external links in the built site are valid, run html-proofer:

gem install html-proofer
htmlproofer book/ --check-html --allow-hash-href

This will scan the book/ output directory after building to catch broken links, missing anchors, and malformed HTML.

Back to top

📏 Linking Rules

Heroes and documented places will have links to their respective pages. Characters, animals, plants, food, drink, etc. will have a hover over tooltip generated using mdbook-hints.

Back to top

📜 License

Code in this repository is licensed under the MIT License. All lore content is © Legend Story Studios. See LICENSE for details.

Back to top

About

A Flesh and Blood Lore Book Website

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  
0