Commit graph

167 commits

Author SHA1 Message Date
object-Object
53175313b0 Field refactors 2023-08-23 07:54:09 -04:00
object-Object
176ef30c4e Raise for broken links 2023-08-23 01:43:29 -04:00
object-Object
097299cb2b Pass context to formatting functions instead of props and i18n 2023-08-23 00:05:51 -04:00
object-Object
37902d5a00 Minor properties rearrange 2023-08-22 23:58:03 -04:00
object-Object
9e03f330db Support per-world patterns again 2023-08-22 23:40:02 -04:00
object-Object
4eb301e725 Move spoilered advancements to a tag 2023-08-22 23:20:49 -04:00
object-Object
ab7108265e Implement tag loading 2023-08-22 22:58:30 -04:00
object-Object
12e4670b7e Add ModResourceLoader, un-generic HexDocModel, class-based context 2023-08-20 22:37:07 -04:00
object-Object
1a19a12659 Search all namespaces for i18n 2023-08-09 01:00:30 -04:00
object-Object
496a851c59 Use find_resources for i18n 2023-08-09 00:42:20 -04:00
object-Object
2e2f318be3 Somewhat improve resource loading 2023-08-08 22:45:09 -04:00
object-Object
ed425f6280 Update snapshots for 1.20 2023-08-08 22:39:44 -04:00
object-Object
4e3449ed37 that's pretty meta 2023-08-06 20:37:28 -04:00
object-Object
c309086389 Fix icon href 2023-08-06 20:13:34 -04:00
object-Object
8118d10ee6 Check for RUNNER_DEBUG flag if running on CI 2023-08-06 19:59:59 -04:00
object-Object
5124e9770a Make paths relative to properties.toml 2023-08-06 19:44:27 -04:00
object-Object
3e2afd13a3 Update docgen to 0.11, mostly 2023-08-06 19:27:52 -04:00
object-Object
f15360e66c Update Pydantic and pin Pyright 2023-08-03 23:10:22 -04:00
object-Object
71258eb72b Minor refactors and some work on bundling book data 2023-07-27 21:56:10 -04:00
object-Object
ba13bf3836 Add workspace definition for qol 2023-07-25 18:16:06 -04:00
object-Object
9d9febe43c Another refactor, but this time it actually makes sense 2023-07-25 08:42:26 -04:00
object-Object
178d7c2af5 Move templates into hexdoc package 2023-07-24 22:27:11 -04:00
object-Object
03e7683ae1 The great refactoring (move to hexdoc package and add reexports) 2023-07-24 20:40:34 -04:00
object-Object
2960568e91 Update snapshots 2023-07-23 02:39:17 -04:00
object-Object
d78e057aa6 Remove minification, format html, break the tests 2023-07-23 02:34:07 -04:00
object-Object
5c0e410b76 Jinja cleanup 2023-07-20 00:00:14 -04:00
object-Object
d0d3023985 Remove scuffed whitespace stripping 2023-07-19 21:51:43 -04:00
object-Object
46767353b0 Delete collate_data.py(!!!) and remove unused imports 2023-07-19 10:21:13 -04:00
object-Object
e6e9bfcba8 oh my god 2023-07-19 10:18:16 -04:00
object-Object
8c1bbc8179 All the pages, but the tests are failing 2023-07-19 09:26:40 -04:00
object-Object
7678b74b2e WIP pages 2023-07-17 20:31:14 -04:00
object-Object
0b7c8ca989 Entry 2023-07-16 22:55:46 -04:00
object-Object
047907d4bb Category template, mostly 2023-07-14 00:49:26 -04:00
object-Object
9059cfe6a5 Jinja, table of contents 2023-07-13 23:14:36 -04:00
object-Object
276ca5b73f Use class_name instead of clazz, move spoilers/blacklist to props 2023-07-10 01:38:30 -04:00
object-Object
92f7770dc6 We do a bit of renaming 2023-07-10 00:56:40 -04:00
object-Object
aeb737a4eb Fix incorrect formatting 2023-07-10 00:21:04 -04:00
object-Object
016546473a serves me right 2023-07-09 22:58:47 -04:00
object-Object
f63ed876b6 Prefer book.json macros instead of defaults 2023-07-09 19:59:17 -04:00
object-Object
c7eb55edbb Make the Style impl less awful 2023-07-09 19:53:26 -04:00
object-Object
01d405772f Forgot to un-none value 2023-07-06 01:45:29 -04:00
object-Object
7983afde45 Style dataclasses 2023-07-06 01:40:06 -04:00
object-Object
69be299199 Move formatting to patchouli.text 2023-07-05 08:51:37 -04:00
object-Object
fa3e270fe6 WIP serialization 2023-07-05 08:35:13 -04:00
object-Object
04b926cf42 Fully convert from Dacite to Pydantic! 2023-07-03 21:52:25 -04:00
object-Object
0a949a2b56 Pydantic ResLoc 2023-06-29 02:01:08 -04:00
object-Object
31188b7332 Make PairTag a dataclass 2023-06-29 01:27:55 -04:00
object-Object
a917513780 actually write the docstring 2023-06-28 00:57:22 -04:00
object-Object
5e61d3b8b9 Use entry hooks to load union types 2023-06-27 22:13:41 -04:00
object-Object
371d56033e Switch to editable install 2023-06-27 10:01:18 -04:00
object-Object
549f9c4a08 Make ItemIngredient a union 2023-06-27 01:58:08 -04:00
object-Object
0ad849597e Use mangled variables for union k/v and lookups 2023-06-26 23:26:59 -04:00
object-Object
58068c7b69 Replace Type with type 2023-06-26 19:35:50 -04:00
object-Object
5188402be9 Move formatting to patchouli 2023-06-25 22:58:36 -04:00
object-Object
c7b038108a Extra assurance that everything will be registered 2023-06-25 22:51:03 -04:00
object-Object
c5c4caf22a Move state into patchouli 2023-06-25 22:47:46 -04:00
object-Object
b8f2a78a6d Remove the HexBook subclass, making Book generic 2023-06-25 22:41:39 -04:00
object-Object
c8b432f167 Bit of restructuring 2023-06-25 22:33:58 -04:00
object-Object
8588a1b0cc Move hex recipes to hex 2023-06-25 22:14:03 -04:00
object-Object
8414154460 Fix Recipe impl and create TypeTaggedUnion 2023-06-25 17:23:14 -04:00
object-Object
a6cfb0e244 Basically create a registry via inheritance 2023-06-25 17:15:46 -04:00
object-Object
6478b3057a Make Book generic to fix type hints 2023-06-25 15:52:11 -04:00
object-Object
c9ba636309 Use BookState to break all the dependency cycles 2023-06-25 15:40:39 -04:00
object-Object
b2fd0bf094 Update Dacite to 1.8.1 with generics fix 2023-06-25 12:01:17 -04:00
object-Object
0debb610f2 Initial formatting refactors 2023-06-21 09:50:11 -04:00
object-Object
49c316cd55 Enormous snapshot energy 2023-06-21 01:03:25 -04:00
object-Object
3988539d55 Add pretty-printed @longrun test, disable diff for all other tests 2023-06-21 00:35:42 -04:00
object-Object
e52bbc37be Load Entries in Book instead of Category 2023-06-20 22:54:28 -04:00
object-Object
d282ff8ffb Remove _BookData, split HexBook from Book, and actually resolve the circular imports 2023-06-20 19:17:58 -04:00
object-Object
5baecea2fd More files, actually 2023-06-20 00:56:26 -04:00
object-Object
99e1e899b9 Split recipe and page into a bunch of files 2023-06-20 00:54:25 -04:00
object-Object
5620b97060 holy SHIT it WORKS 2023-06-20 00:42:49 -04:00
object-Object
656c131791 Nothing works and everything's unfinished but this commit is big enough already 2023-06-17 20:03:26 -04:00
object-Object
ac43647b28 Friendship ended with pyserde, now Dacite is my best friend 2023-06-15 02:51:04 -04:00
object-Object
c58183d3cc Move most ABCs into common/abstract.py 2023-06-11 16:25:52 -04:00
object-Object
e42a8272e4 Entry dataclass 2023-06-11 16:20:53 -04:00
object-Object
25213840b9 Move i18n to its own class and add WithBook for composing classes with Book 2023-06-11 13:33:54 -04:00
object-Object
4dfa431263 Refactor Minecraft classes into their own directory 2023-06-11 12:51:38 -04:00
object-Object
6c46c06271 Convert Category to dataclass 2023-06-11 02:24:41 -04:00
object-Object
4200be14c8 Add ResourceLocation and ItemStack types 2023-06-11 00:42:39 -04:00
object-Object
0cd6631c09 Book refactor (enormous) 2023-06-10 19:14:53 -04:00
object-Object
b7be50bb24 Add more types 2023-06-07 09:37:57 -04:00
object-Object
e49e5f3cf8 good god that's a lot of warnings 2023-06-07 00:13:25 -04:00
object-Object
ed5de30cb2 Remove unuseds and move test format strings to a test case 2023-06-06 23:19:08 -04:00
object-Object
c3d8fed16b Add snapshot test for stdout 2023-06-06 23:01:25 -04:00
object-Object
971e780f66 Improve argument help 2023-06-06 22:41:06 -04:00
object-Object
98b04d57cc Preliminary refactoring, more snapshots 2023-06-06 22:34:41 -04:00
object-Object
044d097854 Move Python ignores to main .gitignore 2023-06-06 18:32:34 -04:00
object-Object
187af4106f Revert collate_data to 0.10.3, fix other encodings, add Pylance and Black settings 2023-06-06 18:30:44 -04:00
object-Object
a696cd4111 Fix writer encoding 2023-06-06 17:37:36 -04:00
object-Object
62c1f309c4 Add initial snapshot tests 2023-06-06 17:37:35 -04:00
object-Object
5672df24ea Setup Pytest 2023-06-06 17:37:34 -04:00
object-Object
cbd6ead3ad Initial format with Black 2023-06-06 17:37:28 -04:00
yrsegal@gmail.com
6900328e44 fix documentation not taking into account %% 2022-10-24 12:41:16 -04:00
yrsegal@gmail.com
32fed35beb patterns now have innate names
currently only matters for mishaps
2022-08-26 14:40:38 -04:00
Alwinfy
473a5a9834
Fix hardcode hack with another hack 2022-08-19 11:22:58 -04:00
Alwinfy
f8eee69ad0
Add dark mode (sigh) 2022-08-18 21:37:43 -04:00
Alwinfy
366947c53d
Fix bug with newline and <br /> 2022-08-18 21:37:35 -04:00
Alwinfy
3a1bd29658
Change icon & ordering 2022-08-13 17:28:21 -04:00
Alwinfy
cb2221cbf8
Use an icon for ToC expand toggle 2022-08-13 16:40:44 -04:00