4ad002ffUse separate GitHub Actions cache for each workflow
Deno does not download every modules listed in the lockfile.
Instead, it lazily downloads imported file: thus, the contents of
`$DENO_DIR` depends on "what module Deno loaded". Since workflows
run different entrypoints (deploy=docs/build.ts, test=test files),
only one of workflow benefit from cache and others could face a
lot of cache misses.
Shota FUJI
authored at
Shota FUJI
comitted at
4892e170Ignore CI cache directory from Deno checks
Otherwise a bunch of errors appears.
Shota FUJI
authored at
Shota FUJI
comitted at
13fc4272GitHub Actions for code validity
In case when I forgot to run these command on my machine.
Shota FUJI
authored at
Shota FUJI
comitted at
4ea55fd1Cache Deno intermediate files on GitHub Actions
In order to reduce build time.
Shota FUJI
authored at
Shota FUJI
comitted at
d33714c6"Shortest path when possible" link resolution
This is essential as Obsidian made it default (really, wtf?)
Shota FUJI
authored at
Shota FUJI
comitted at
87f677a9Remove garbage file
I guess Obsidian does not have proper file system access restriction / validation.
Shota FUJI
authored at
Shota FUJI
comitted at
5fa6adc7Support for absolute path resolution and extensions-less path
Even though Obsidian docs says it's not for Markdown link, it uses
the non-relative / extension-less path such as when it auto-update
paths on file move/rename.
Shota FUJI
authored at
Shota FUJI
comitted at
70fda17cFix document path ignores metadata name returned by Content Parser
Shota FUJI
authored at
Shota FUJI
comitted at
2356b4e7Add license information on docs copyright footer
Without the license attribution, strictly speaking, anyone clicked "Fork" on GitHub
and pushed their own patch to master branch, they violates the CC-BY-4.0 license.
Shota FUJI
authored at
Shota FUJI
comitted at
e4631a60Fix asset paths are one depth higher
This path resolution things need to be reworked fundamentally.
Shota FUJI
authored at
Shota FUJI
comitted at
0a64c599Add image size attribute sample on docs
It's not a big syntax extension, but it definitely is different to CommonMark (and GFM).
Shota FUJI
authored at
Shota FUJI
comitted at
41e7b19fMake Markdown samples page more user friendly
The pages have been test cases. User don't have an idea just by telling
"here is GFM samples."
Shota FUJI
authored at
Shota FUJI
comitted at
202533b0Add source code for the GFM samples
Without Markdown source code, people not familier GFM have no clue what those are.
Shota FUJI
authored at
Shota FUJI
comitted at
a2d7266aDo not save user provided assets to fixed location
User may use those assets in other places. In that case, the build directory
ends up containing duplicated asset files.
Shota FUJI
authored at
Shota FUJI
comitted at
fa19d6f4Use ".assets" instead of "assets"
The latter would conflict with "Assets". Risk is low, but it would be difficult
for user to debug this.
Shota FUJI
authored at
Shota FUJI
comitted at
06de59f1Resolve image asset file path
This mechanism is essential as Macana have separate file I/O.
Shota FUJI
authored at
Shota FUJI
comitted at
aa174285Add "Default Document" feature
The primary motivation is to set the link destination for header logo.
IMO, websites putting logo on the sticky header or appbar without making it a link
to the top/home page is EVIL.
This also improved usability by enabling generation of topmost `index.html`, where
user would land when they directly put domain name on browser address bar.
This can be polished more, such as "specify default document under this directory",
but I'm satisfied with the current implementation. It's enough.
Shota FUJI
authored at
Shota FUJI
comitted at
4ada2b92Image size annotation Markdown extension from Obsidian Flavored Markdown
Shota FUJI
authored at
Shota FUJI
comitted at