-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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-source
synonym for the--hyperlink-source
option and deprecatehscolour
(see comments on Support Haddock's hyperlinker #5140)--since-qual=external
to new enough Haddock versions (see @since includes package name haddock#749)--quickjump
option and enable it when--for-hackage
is specified (see QuickJump haddock#683).I'm still in the process of testing this.