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

reference links in -intro files don't work #4066

Closed
vicuna opened this issue Jul 19, 2006 · 1 comment
Closed

reference links in -intro files don't work #4066

vicuna opened this issue Jul 19, 2006 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Jul 19, 2006

Original bug ID: 4066
Reporter: ebreck
Assigned to: @zoggy
Status: closed (set by @zoggy on 2006-07-31T14:21:11Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.09.2
Category: ocamldoc

Bug description

ocamldoc has the "-intro" option, letting you provide a file in ocamldoc comment form, which is formatted like a code comment, becoming the intro page of your documentation. But it behaves slightly differently from a code comment - code links don't work.

test.ml is

let to_string () = "()"

intro.camldoc is

Reference to {!Test.to_string}

intro.ml is just like intro.camldoc but enclosed in (** / *)

now

ocamldoc -html intro.ml test.ml

ocamldoc -html -intro intro.camldoc test.ml

both format the text in intro. Apart from navigation info, they're formatted the same - except that for intro.ml, {!Test.to_string} turns into a hyperlink to Test.html#VALto_string, and in intro.camldoc, it doesn't.

@vicuna
Copy link
Author

vicuna commented Jul 31, 2006

Comment author: @zoggy

Fixed in CVS.

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

No branches or pull requests

1 participant