commits
URI_scheme.named_uri is a little dodgy: it uses the absence of a file
extension as a heuristic to decide whether the URI should have a slash
put at the end. This is the "right" behaviour for tree resources, but
not for assets.
Although it would be good to clean this up more thoroughly, I have for
now introduced a new file_uri function that is used for assets.
References ~jonsterling/forester#193
Still not sure why this isn't working, but that's for another day.
The old version was more powerful but it was impossible to reason about.
Xmlns_effect still remains.
Topiary has been getting less and less reliable at properly formatting,
and simultaneously it appears that ocamlformat has become much more
reliable than it was when I last evaluated it.
For this reason, I have decided to switch formatters for Forester.
References: https://todo.sr.ht/~jonsterling/forester/190
References: https://todo.sr.ht/~jonsterling/forester/183
This was confusing some users, because it isn't implemented yet.
`#abc` was rendered as `abc`, now rendered as is.
The fix applies to all clients.
Closes: https://todo.sr.ht/~jonsterling/forester/188
The problem with the transclusion cache is that frontmatter needs to
render differently depending on the location of the transclusion (e.g.
to deal with designated parents in expanded titles).
References: https://todo.sr.ht/~jonsterling/forester/156
1. Inlay hints computation should descend into children of nodes
2. Inlay hints (e.g. for links) cannot be accurately computed on Code.t;
we must instead wait for Syn.t.
I do not percent-encode URLs, because browsers are increasingly
supporting unicode.
One subtle point is that the redirect index.html dummy files need to
have <meta charset="utf-8"> for this to work properly.
References: https://todo.sr.ht/~jonsterling/forester/186
We can add it back, but we must do so without re-breaking https://todo.sr.ht/~jonsterling/forester/161.
References: https://todo.sr.ht/~jonsterling/forester/161
Feel free to revert with a fix.
References: https://todo.sr.ht/~jonsterling/forester/163
References: https://todo.sr.ht/~jonsterling/forester/164
This is anothing that that one notices just by building your own forest.
I don't want to require a huge environment to be set up just to run the
tests, and this is problematic already on the ocaml.org build servers.
References: https://todo.sr.ht/~jonsterling/forester/164
References: https://todo.sr.ht/~jonsterling/forester/164
References: https://todo.sr.ht/~jonsterling/forester/164
Please feel free to restore and modify to be in compliance with
https://todo.sr.ht/~jonsterling/forester/164.
References: https://todo.sr.ht/~jonsterling/forester/164
This was testing the internal representation of fresh names.
References: https://todo.sr.ht/~jonsterling/forester/164
URI_scheme.named_uri is a little dodgy: it uses the absence of a file
extension as a heuristic to decide whether the URI should have a slash
put at the end. This is the "right" behaviour for tree resources, but
not for assets.
Although it would be good to clean this up more thoroughly, I have for
now introduced a new file_uri function that is used for assets.
References ~jonsterling/forester#193