Commit Graph

7 Commits

Author SHA1 Message Date
Corentin b028477371 refactor: do not allow relative content loading
It messes up with the localization system, and brings to much trouble for a feature that will probably encourage bad or convoluted designs
2024-05-22 00:46:42 +02:00
Corentin f7bd1fd62f feat: allow to load content from relative path nested in other content
Allow to declare assets paths relative to the current yaml or Markdown file
2024-05-22 00:13:28 +02:00
Corentin cf5cfbd09f test: test Context.load works with both string and Path 2024-05-22 00:06:51 +02:00
Corentin bdcb460a02 fix: fix creation of parent directory of written content files 2024-05-21 23:23:56 +02:00
Corentin e98344e0a0 feat: add glob method on Context 2024-05-21 23:13:46 +02:00
Corentin fc9a8dc461 refactor: get a shorter name 2024-05-21 22:36:52 +02:00
Corentin 2729af8e39 refactor: organize code in context & extensions 2024-05-21 21:13:55 +02:00