I've been writing docs for different programming language operators (+, *, == and so on). Each one gets a separate web page.
I've suddenly realised that / is much harder! docs/+ and docs/== is fine, but docs// just doesn't work as a URL in a static site.
Any ideas?
Wilfred Hughes
@wilfredh does URL encoding / not work?
"Musty Bits" McGee@arichtman@eigenmagic.net
@wilfredh
Docs/% also does not work well
chfkch :nixos: :rust:@chfkch@ruhr.social
@chfkch Argh, good point! I'm going to need to solve that case too.
Wilfred Hughes
@wilfredh /slash ? (pronunciation aliases are good(?))
arosien@arosien@fosstodon.org
Hex value for each character in ascii?
docs/2B
docs/3D3D
docs/2F
Not very readable, but if it’s meant to be navigated to from an index page, maybe that’s fine.
@arosien Yep, I think I'll probably end up doing that. The other tricky operator is %, and I'm not sure if I should call it /modulo or /percent (i.e. the maths operator or the symbol).
Wilfred Hughes
That'd be an option, but it's not terribly readable. I might just do docs/slash in this case as a compromise.
Wilfred Hughes