Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
51ec5e6
Changed Materials and You to support rendering books with HTML
paypur Jul 3, 2025
06f6608
Updated assets and styling
paypur Jul 4, 2025
d74bf08
Added linking between content
paypur Jul 4, 2025
e39fe95
Added styling to remaining elements
paypur Jul 7, 2025
736b1ba
Updated resources
paypur Jul 7, 2025
0d40a70
Updated resources
paypur Jul 8, 2025
afbaf04
Added puny melting HTMLs
paypur Jul 10, 2025
bd4e604
Renamed blank pages
paypur Jul 10, 2025
99a6272
Added Mighty Melting and Encyclopedia resources
paypur Jul 12, 2025
61f4e6c
Updated Resources
paypur Jul 14, 2025
9b257cc
Updated resources
paypur Jul 15, 2025
0ec9ed6
Added Tinkers Gadgetry
paypur Jul 16, 2025
875251d
Added links for Tinkers Gadgetry
paypur Jul 16, 2025
a1decb6
Fixed normal books not showing
paypur Jul 16, 2025
3f8016e
Reverted normal books to original style
paypur Jul 16, 2025
9fe5dbb
Updated resources
paypur Jul 17, 2025
9e493c9
Updated resources
paypur Jul 17, 2025
454dc54
Compressed all images
paypur Jul 17, 2025
dc96f4d
Updated resources
paypur Jul 17, 2025
2e3230d
Increased gap between materials stats
paypur Jul 17, 2025
68848cb
Updated resources
paypur Jul 17, 2025
b8852ef
Renamed images
paypur Jul 18, 2025
4146374
Added back image books alongside HTML books
paypur Jul 18, 2025
3e54db7
Fixed linking between books
paypur Jul 18, 2025
95f4851
Updated resources
paypur Jul 18, 2025
9cc1416
Fixed books sections
paypur Jul 18, 2025
e772a7d
Updated resources
paypur Jul 19, 2025
e7e701f
Compressed font
paypur Jul 19, 2025
2afada8
Updated resources
paypur Jul 20, 2025
a0564f2
Updated resources for 3.10.2
paypur Jul 21, 2025
0da1a2c
Merge remote-tracking branch 'origin/master' into paypur
paypur Jul 21, 2025
370d00c
Updated resources
paypur Jul 21, 2025
c4a2261
Dummy
paypur Jul 21, 2025
aa41786
Fixed link to image books
paypur Jul 21, 2025
f87f1f7
Worked on image rescaling
paypur Jul 22, 2025
4018bf6
Moved html pages to individual paths
paypur Jul 22, 2025
faa6647
Added buttons between book pages
paypur Jul 22, 2025
ee05d1b
Unused
paypur Jul 22, 2025
d135c55
Added other covers and buttons
paypur Jul 22, 2025
9f8543d
Oops
paypur Jul 22, 2025
9a5e6eb
Updated resources
paypur Jul 23, 2025
1659286
Moved HTML book pages into individual paths
paypur Jul 24, 2025
bf7a82d
Added linking between HTML books
paypur Jul 24, 2025
bed3fc1
Added back button
paypur Jul 24, 2025
4d9dbde
Fixed missing FluidEffectContent
paypur Jul 24, 2025
bfbe95e
Moved cover to center
paypur Jul 24, 2025
f9ad57a
Fixed unnecessary redirects
paypur Jul 24, 2025
10843cb
Recompressed images correctly hopefully
paypur Jul 25, 2025
39bac8b
Fixed incorrect scale for normal images
paypur Jul 25, 2025
72fa00d
Small changes
paypur Jul 25, 2025
8cfc5f2
Added prefetching to HTML books
paypur Jul 25, 2025
16f7788
Fixed puny smelting back button
paypur Jul 25, 2025
ee06631
Added prefetching between HTML books
paypur Jul 25, 2025
226a2ab
Updated resources
paypur Jul 26, 2025
a8b947f
Fixed breadcrumbs
paypur Aug 1, 2025
dcf16a5
Added tooltips to icon links
paypur Aug 1, 2025
b42952b
Changed anchor style for html book pages
paypur Aug 13, 2025
6530eeb
Deleted unused minecraft font
paypur Aug 13, 2025
24acfd7
Added cross to 0
paypur Aug 13, 2025
555ea61
Fixed link color outside of html book pages
paypur Aug 13, 2025
a2b5410
Fixed upside down characters
paypur Aug 14, 2025
759f287
Added trait description as tooltips
paypur Sep 11, 2025
7ebe5c4
Updated content
paypur Sep 12, 2025
bbeefc3
Mostly updated to new content
paypur Nov 29, 2025
ceebc91
Merge remote-tracking branch 'upstream/HEAD'
paypur Nov 29, 2025
4f5003f
Finished update
paypur Nov 29, 2025
a70a5a3
Merge remote-tracking branch 'upstream/master'
paypur Dec 24, 2025
ac2b4b2
Merge remote-tracking branch 'origin/master'
paypur Dec 25, 2025
6813d5a
Updated to tinkers 3.11.0
paypur Dec 25, 2025
926a171
Fixed fluid effect lists
paypur Dec 25, 2025
8b1f4f3
Fixed prefetching for different book versions
paypur Dec 25, 2025
6eaa35d
Deleted 3.10.2 images
paypur Dec 25, 2025
9910d3f
Reverted normal pages
paypur Dec 25, 2025
42d3b63
Compressed all 3.11.0 images again
paypur Dec 25, 2025
942748c
Reverted spacing
paypur Dec 28, 2025
4fd0f6a
Fixed ContentListing overflowing
paypur Dec 28, 2025
24c1c59
Merge remote-tracking branch 'upstream/HEAD'
paypur Dec 28, 2025
df66423
Reverted uikit css file
paypur Dec 28, 2025
0d15c4d
Removed accidental symlink
paypur Dec 28, 2025
ee3e75a
Reverted images for older versions
paypur Dec 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ _site
.jekyll-cache
.jekyll-metadata
vendor

.idea
.bundle
81 changes: 54 additions & 27 deletions _data/books.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
materials_and_you_20:
title: Materials and You (1.20)
path: tinkers/3.11.0/materials_and_you
max_page: 33
next:
title: Puny Smelting
titles:
- index: 1
text: Introduction

- index: 6
text: Tier 1 General

- index: 11
text: Tier 1 Ranged

- index: 15
text: Basic Ammo

- index: 20
text: Tools

Expand All @@ -24,15 +27,20 @@ materials_and_you_20:
text: Further Reading

puny_smelting_20:
title: Puny Smelting (1.20)
path: tinkers/3.11.0/puny_smelting
max_page: 101
previous:
title: Materials and You
next:
title: Mighty Smelting
titles:
- index: 2
text: Melter & Moving Fluids

- index: 9
text: Casting

- index: 13
text: Tier 2 General

Expand All @@ -58,18 +66,23 @@ puny_smelting_20:
text: Further Reading

mighty_smelting_20:
title: Mighty Smelting (1.20)
path: tinkers/3.11.0/mighty_smelting
max_page: 83
previous:
title: Puny Smelting
next:
title: Fantastic Foundry
titles:
- index: 2
text: Smeltery

- index: 13
text: Tier 3 General

- index: 21
text: Tier 3 Ranged

- index: 28
text: Tier 3 Armor

Expand All @@ -83,61 +96,75 @@ mighty_smelting_20:
text: Defense

fantastic_foundry_20:
title: Fantastic Foundry (1.20)
path: tinkers/3.11.0/fantastic_foundry
max_page: 29
titles:
previous:
title: Mighty Smelting
next:
title: Tinkers' Gadgetry
titles:
- index: 2
text: Alloyer

- index: 6
text: Foundry

- index: 14
text: Blazing Blood

- index: 18
text: Tier 4 General

- index: 22
text: Tier 4 Ranged

- index: 25
text: Tier 4 Armor

tinkers_gadgetry_20:
title: Tinkers' Gadgetry (1.20)
path: tinkers/3.11.0/tinkers_gadgetry
max_page: 55
previous:
title: Fantastic Foundry
next:
title: Encyclopedia of Tinkering
link: encyclopedia
titles:
- index: 2
text: Gadgets

- index: 5
text: Staffs

- index: 7
text: Exploration

- index: 15
text: General Materials

- index: 19
text: Ranged Materials

- index: 22
text: Armor Materials

- index: 27
text: Advanced Ammo Materials

- index: 41
text: Ancient Tools

- index: 45
text: Slimy Armor

encyclopedia_20:
title: Encyclopedia of Tinkering (1.20)
path: tinkers/3.11.0/encyclopedia
max_page: 260
previous:
title: Tinkers' Gadgetry
titles:
- index: 2
text: Tools
Expand All @@ -150,10 +177,10 @@ encyclopedia_20:

- index: 69
text: Ammo Materials

- index: 88
text: Armor

- index: 97
text: Armor Materials

Expand All @@ -162,16 +189,16 @@ encyclopedia_20:

- index: 132
text: Fluid Effects

- index: 170
text: Upgrades

- index: 208
text: Defense

- index: 214
text: Slotless

- index: 226
text: Abilities

Expand All @@ -184,10 +211,10 @@ metalborn_20:

- index: 3
text: Feruchemy

- index: 7
text: Hemalurgy

- index: 9
text: Metal Powers

Expand Down
2 changes: 1 addition & 1 deletion _includes/book/header.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Click a book below to read the contents. Note that addon content along with interactive elements such as animations and tooltips will not be available. The best source for book content is always the in game books.
Click a book below to read the contents. Note that addon content will not be available. Interactive elements such as navigation and tooltips are partially available in the HTML versions. The best source for book content is always the in game books.
11 changes: 9 additions & 2 deletions _includes/book/link.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@
{%- else -%}
{%- assign name = include.title | slugify -%}
{%- endif -%}
<a class="uk-inline book-link" href="/docs/books/{{include.version}}/{{name}}">
{%- if include.html -%}
{%- assign title = include.title | append: " (HTML)" -%}
{%- assign link = name | append: "-html/cover" -%}
{%- else -%}
{%- assign title = include.title -%}
{%- assign link = name -%}
{%- endif -%}
<a class="uk-inline book-link" href="/docs/books/{{include.version}}/{{link}}/">
<img src="/assets/images/book/icons/{{include.icon | default: name}}.png" alt=""/>
<br>
{{include.title | default: name}}
{{title | default: include.title | default: name}}
</a>
</div>
29 changes: 29 additions & 0 deletions _includes/book/pages-html.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<div>
<div class="uk-child-width-1-1 uk-grid-collapse">
{%- unless include.book.no_cover -%}
{%- capture pagePath -%}
/assets/images/book/{{include.book.path}}/cover.png
{%- endcapture -%}
<div class="uk-width-1-2 uk-margin book-page-html">
<img src="{{pagePath}}" alt=""/>
</div>
{%- endunless -%}
{%- assign titleIndex = 0 -%}
{%- assign titleCount = include.book.titles | size -%}
{%- for pageIndex in (0..include.book.max_page) -%}
{%- if titleIndex < titleCount and include.book.titles[titleIndex].index == pageIndex -%}
</div>
<h3 id="{{ include.book.titles[titleIndex].link | default: include.book.titles[titleIndex].text | slugify }}">{{ include.book.titles[titleIndex].text }}</h3>
<div class="uk-child-width-1-1 uk-grid-collapse">
{%- assign titleIndex = titleIndex | plus: 1 -%}
{%- endif -%}
{%- capture pagePath -%}
/assets/images/book/{{include.book.path}}/clean_{{pageIndex}}.png
{%- endcapture -%}
<div class="uk-width uk-margin mc-font-black book-page-html">
<img src="{{pagePath}}" alt=""/>
{% include book/{{include.book.path}}/page_{{pageIndex}}.html %}
</div>
{%- endfor -%}
</div>
</div>
51 changes: 25 additions & 26 deletions _includes/book/pages.html
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
<p>
See below for images of all pages in {{page.breadcrumb | default: page.title}}.
Click a page to view in gallery mode.
See below for images of all pages in {{page.breadcrumb | default: page.title}}.
Click a page to view in gallery mode.
</p>

<div uk-lightbox="animation: slide; toggle: .book-page">
<div class="uk-child-width-1-1 uk-child-width-1-3@s uk-grid-collapse" uk-grid>
{%- unless include.book.no_cover -%}
{%- capture pagePath -%}
/assets/images/book/{{include.book.path}}/cover.png
{%- endcapture -%}
<div class="uk-width-1-2 uk-width-1-6@s">
<a class="uk-lineline book-page" href="{{pagePath}}" data-attrs="class: book-cover">
<img src="{{pagePath}}" alt=""/>
</a>
</div>
{%- capture pagePath -%}
/assets/images/book/{{include.book.path}}/cover.png
{%- endcapture -%}
<div class="uk-width-1-2 uk-width-1-6@s">
<a class="uk-lineline book-page" href="{{pagePath}}" data-attrs="class: book-cover">
<img src="{{pagePath}}" alt=""/>
</a>
</div>
{%- endunless -%}
{%- assign titleIndex = 0 -%}
{%- assign titleCount = include.book.titles | size -%}
{%- for pageIndex in (0..include.book.max_page) -%}
{%- if titleIndex < titleCount and include.book.titles[titleIndex].index == pageIndex -%}
</div>
<h3 id="{{ include.book.titles[titleIndex].text | slugify }}">{{ include.book.titles[titleIndex].text }}</h3>
<div class="uk-child-width-1-1 uk-child-width-1-3@s uk-grid-collapse" uk-grid>
{%- assign titleIndex = titleIndex | plus: 1 -%}
{%- endif -%}
{%- capture pagePath -%}
/assets/images/book/{{include.book.path}}/page_{{pageIndex}}.png
{%- endcapture -%}
<div>
<a class="uk-lineline book-page" href="{{pagePath}}" data-attrs="class: book-page">
<img src="{{pagePath}}" alt=""/>
</a>
</div>
{%- if titleIndex < titleCount and include.book.titles[titleIndex].index == pageIndex -%}
</div>
<h3 id="{{ include.book.titles[titleIndex].link | default: include.book.titles[titleIndex].text | slugify }}">{{ include.book.titles[titleIndex].text }}</h3>
<div class="uk-child-width-1-1 uk-child-width-1-3@s uk-grid-collapse" uk-grid>
{%- assign titleIndex = titleIndex | plus: 1 -%}
{%- endif -%}
{%- capture pagePath -%}
/assets/images/book/{{include.book.path}}/page_{{pageIndex}}.png
{%- endcapture -%}
<div>
<a class="uk-lineline book-page" href="{{pagePath}}" data-attrs="class: book-page">
<img src="{{pagePath}}" alt=""/>
</a>
</div>
{%- endfor -%}
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion _includes/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
{% endif %}
{%- endif -%}
{% endfor %}
/ {{ page.breadcrumb | default: page.title }}
/ {{ page.breadcrumb | default: site.data.books[page.book].title | default: page.title }}
</div>
4 changes: 2 additions & 2 deletions _includes/list-pages.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- for page in (include.start..include.end) -%}
<li class="{%
if page >= 10 %}two-digit{% endif %}{%
if page == current_page %} uk-active" aria-current="page{% endif %}">
if left >= 10 %}two-digit{% endif %}{%
if left == current_page %} uk-active" aria-current="page{% endif %}">
{%- if page == include.page -%}
<b>{{ page }}</b>
{%- elsif page == 1 and include.first_path -%}
Expand Down
27 changes: 17 additions & 10 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
{% if include.html %}
{% assign prefix = "../" %}
{% assign suffix = " (HTML)" %}
{% assign link_suffix = "-html/cover" %}
{%- endif -%}
<nav class="navigation">
<ul class="uk-pagination">
{%- if include.previous -%}
<li>
{%- if include.previous.link -%}
<a href="../{{include.previous.link}}">
<a href="../{{ prefix | append: include.previous.link | append: link_suffix }}/">
{%- else -%}
<a href="../{{include.previous.title | slugify }}">
<a href="../{{ prefix }}{{ include.previous.title | slugify | append: link_suffix }}/">
{%- endif -%}
<span class="uk-margin-small-right" uk-pagination-previous></span>
{{ include.previous.title | default: include.previous.link }}
</a></li>
<span class="uk-margin-small-right" uk-pagination-previous></span>
{{ include.previous.title | default: include.previous.link | append: suffix }}
</a>
</li>
{%- endif -%}
{%- if include.next -%}
<li class="uk-margin-auto-left">
{%- if include.next.link -%}
<a href="../{{include.next.link}}">
<a href="../{{ prefix | append: include.next.link | append: link_suffix }}/">
{%- else -%}
<li><a href="../{{include.next.title | slugify }}">
<a href="../{{ prefix }}{{ include.next.title | slugify | append: link_suffix }}/">
{%- endif -%}
{{ include.next.title | default: include.next.link }}
<span class="uk-margin-small-left" uk-pagination-next></span>
</a></li>
{{ include.next.title | default: include.next.link | append: suffix }}
<span class="uk-margin-small-left" uk-pagination-next></span>
</a>
</li>
{%- endif -%}
</ul>
</nav>
Loading