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

custom tags not handled for some elements #6707

vicuna opened this issue Dec 12, 2014 · 1 comment


None yet
1 participant
Copy link

commented Dec 12, 2014

Original bug ID: 6707
Reporter: @kenichi-asai
Assigned to: @zoggy
Status: confirmed (set by @gasche on 2014-12-12T14:50:47Z)
Resolution: open
Priority: normal
Severity: feature
Platform: Apple
OS Version: 10.8
Version: 4.01.0
Category: ocamldoc
Monitored by: @gasche @hcarty

Bug description

It appears that custom tags are not handled in:

Steps to reproduce

Attached file contains an example where documents are written both in English (after @en tag) and in Japanese (after @ja tag). By passing "-lang en" or "-lang ja" argument to ocamldoc, I want to select the corresponding documents. However, the documents in the html-* directories obtained by executing "make" are not as expected.

  • the first text "module header in *" is ignored, but it should appear in index.html. (If I remove "@en", the text appears there.)
  • the two "Session header" texts are ignored, but they should appear in Test.html.
  • the texts for "A" and "B" are ignored, but they should appear in Test.html.

File attachments


This comment has been minimized.

Copy link

commented Dec 12, 2014

Comment author: @gasche

I reproduced the issue -- I also tried to see how to fix it, but I don't understand ocamldoc's internals well enough for that. It would be interesting to have a workaround of the form "just overload this other method and you'll be able to override this default behavior".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.