Skip to content
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

Infix + doesn't show up in documentation #48

Closed
Mouq opened this issue Feb 6, 2015 · 5 comments
Closed

Infix + doesn't show up in documentation #48

Mouq opened this issue Feb 6, 2015 · 5 comments

Comments

@Mouq
Copy link
Contributor

Mouq commented Feb 6, 2015

http://doc.perl6.org/+ and http://doc.perl6.org/routine/+ list the prefix version and the regex version, but not the infix operator.

@zoffixznet
Copy link
Contributor

Neither does the -

@paultcochrane
Copy link
Contributor

I started debugging this a while ago (but got sidetracked) and IIRC, the items directly after a '=head1' were being skipped by the code which selects the items to go into index.js as well as the list of routines. For instance, if you edit lib/Language/operators.pod and move the entry for infix C«+|» to directly after =head1 Additive Precedence (line 561 atm) and rebuild the docs (e.g. with make html-nohiglight (so it builds a bit faster)), then you'll find that the entry Infix: +| disappears from the search box and it disappears from the list of routines in routine.html. Strangely enough, infix - does currently show up under http://doc.perl6.org/routine/-, so I don't know why you're not seeing it at present (it doesn't turn up in the search box, but that's probably a separate, however related, issue).

After moving infix +| directly under the =head1 heading in my local build (and thus putting infix + and infix - at second and third places after the heading) made infix + and infix - then appear under routine/+.html and routine/-.html respectively. Hopefully this information helps in debugging/investigating this issue further.

@Mouq
Copy link
Contributor Author

Mouq commented Apr 3, 2015

Thanks @zoffixznet for the extra info @paultcochrane for the excellent debugging! That leads me to believe that it's most likely a bug in &find-definitions, which is a little bit scary at the moment and really probably wants a refactor anyway. If no one gets to this earlier, I'll try to take it up this weekend.

@coke coke self-assigned this Oct 7, 2015
@awwaiid
Copy link
Contributor

awwaiid commented Dec 24, 2015

infix + now shows up in both places -- does that just mean the symptom was relieved or that the problem is fixed?

@dogbert17
Copy link

Seems to have been fixed some time ago. According to Zoffix this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants