Haddock deprecate hscolour, tweak options - #5236
Conversation
|
Alec, could you also add the '--quickjump' flag when generating docs for Hackage? |
|
@alexbiehl Only for Hackage? Is there any disadvantage to always enabling it? |
|
Not really a good reason but we don't enable hyperlinked source by default
either.
Alec Theriault <notifications@github.com> schrieb am Di., 27. März 2018,
19:11:
… @alexbiehl <https://github.com/alexbiehl> Only for Hackage? Is there any
disadvantage to always enabling it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5236 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AByiidZU3HOUwWe8fycSFY0CQNFytmrnks5tinK4gaJpZM4S9SZB>
.
|
|
Quickjump doesn't work with local docs at the moment, due to ajax restrictions :-/ An alternate local mode that embedded the quickjump data thus bypassing the xhr request, just for local docs, might be quite nice. (in fact, why can't that be done in general?) |
|
I'm sold on enabling it by default only in I'll add |
|
The reason to have it separately from the html is that we want Hackage to
read the index on the package page. Also we pay n times the index if we
store them in each html file.
gbaz <notifications@github.com> schrieb am Di., 27. März 2018, 19:21:
… Quickjump doesn't work with local docs at the moment, due to ajax
restrictions :-/
An alternate local mode that embedded the quickjump data thus bypassing
the xhr request, just for local docs, might be quite nice. (in fact, why
can't that be done in general?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5236 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AByiiZlqTpEP1G_uH7-6OF2Q8iabXxnkks5tinUvgaJpZM4S9SZB>
.
|
|
right -- i'm not suggesting to embed directly. I'm suggesting to use a |
|
I'm +1 on always enabling hyperlink-source, btw. |
|
I am strongly against always enabling |
1593a18 to
141cd55
Compare
|
Good point, let's wait for that issue to get fixed. |
141cd55 to
e3744e7
Compare
|
Thanks Alec! |
ef185b5 to
22c11f1
Compare
|
I'll merge as soon as all CI is green. @23Skidoo Is the deprecation message around |
|
@alexbiehl Which version of Haddock should I expect the since annotation stuff to be in? 2.19.1 or 2.20.0? |
|
@harpocrates Make it 2.20
Alec Theriault <notifications@github.com> schrieb am Mi., 28. März 2018,
20:14:
… @alexbiehl <https://github.com/alexbiehl> Which version of Haddock should
I expect the since annotation stuff to be in? 2.19.1 or 2.20.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5236 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AByiiXB225Pa_DVeliN3X3F1u5otLKnCks5ti9MEgaJpZM4S9SZB>
.
|
5e07162 to
b3f153e
Compare
94064e5 to
de331d4
Compare
|
|
de331d4 to
17d37ea
Compare
|
I've rebased on master. Now that #5261 is merged, I think this should be OK again. |
17d37ea to
5b9236b
Compare
|
Rebased against |
* warning in hscolour's description * warning when hscolour is run * added 'hyperlinked-source' (the name Haddock has for the option) as a synonym for 'hyperlink-source' Follows up comments from #5140.
Now that Haddock has support for package-aware since annotations, we want to pass in the option that omits the package name on since annotations for the current package.
This options only works for Haddock >=2.19.
9706ff1 to
0a3891e
Compare
|
Merged, thanks! |
Please include the following checklist in your PR:
[ci skip]is used to avoid triggering the build bots.Please also shortly describe how you tested your change. Bonus points for added tests!
Small paper-cuts for
cabal haddock:--hyperlinked-sourcesynonym for the--hyperlink-sourceoption and deprecatehscolour(see comments on Support Haddock's hyperlinker #5140)--since-qual=externalto new enough Haddock versions (see @since includes package name haddock#749)--quickjumpoption and enable it when--for-hackageis specified (see QuickJump haddock#683).I'm still in the process of testing this.