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
Comments
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". |
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc. |
I tested the situation in 4.11.0+alpha1.
It appears this case is properly handled now. I did not see the problem arises any more.
The problem persists in these two. In both cases, if I remove "@en", the text appears there. |
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc. |
I tested the situation in 4.12.0. I reported last year that the first problem went away in 4.11.0+alpha1, but I was wrong. All the three problems persist in 4.12.0. |
Note that the feature is unlikely to be ever implemented in ocamldoc. Ocamldoc is in maintenance mode and further development efforts are focused on odoc. |
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc. |
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: MacOS X
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:
cf. Sections 15.2.1 and 15.2.3 of
http://caml.inria.fr/pub/docs/manual-ocaml/ocamldoc.html
I would request that custom tags are handled uniformly in all the elements.
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.
File attachments
The text was updated successfully, but these errors were encountered: