dlang.org endpoint for permanent links to DIPs
Dennis
dkorpel at gmail.com
Wed Jun 3 18:57:18 UTC 2020
On Wednesday, 3 June 2020 at 18:22:34 UTC, Seb wrote:
> With the current setup it would probably need to be a bot that
> monitors commits to dlang/dips, parses the current DIP list,
> updates the .htaccess based on this and opens this as a PR if
> the diff changed. Not super hard, but certainly not an hour's
> work.
Watching the dlang/dips repository and parsing the DIP list is
something that needs to happen regardless of whether you want to
change .htaccess or generate .html pages based on it. Because I
don't know the underlying machinery, I don't get why the former
is hard and the latter is easy.
> Furthermore, a lot of people won't be aware that the links from
> GitHub can break and might not even know about dips.dlang.org
People who do know can safely use the links in e.g. the DMD
source code.
People who don't know will not use it, regardless of whether it
redirects to GitHub or renders the DIP on the site.
> Though I do admit that using a Markdown package that provides
> 100% well-tested feature parity with GFM might be an
> alternative approach, but it wouldn't be dog-feeding Vibe.d + D.
Is the Vibe.d server that runs the dlang website open source?
> I guess it might work with most DIPs, but if one doesn't even
> try to have feature parity with normal Markdown folks are going
> to be very confused (and I'm not even talking about
> GitHub-flavored Markdown).
Fair enough.
More information about the Digitalmars-d
mailing list