Trouble building documentation/tutorials [closed]

asked 2019-11-20 13:20:00 -0600

I want to work on fixing the Detection of ArUco Markers tutorial in this GitHub issue. I've made contributions to opencv and opencv_contrib so I'm familiar with building opencv and making pull requests. But now I'm running into problems trying to build the documentation and tutorials. I have Doxygen installed (via Homebrew) and I followed the instructions at Writing documentation for OpenCV.

When I run make doxygen all of the copying… steps seem to complete successfully, but at the Generate Doxygen documentation step I get a large number "unable to resolve reference" of warnings. Here's an excerpt:

/Users/steve/Documents/GitHub/ssteve-opencv/build/doc/contrib_tutorials.markdown:3: warning: unable to resolve reference to 'tutorial_table_of_content_aruco' for \ref command /Users/steve/Documents/GitHub/ssteve-opencv/build/doc/contrib_tutorials.markdown:4: warning: unable to resolve reference to 'tutorial_table_of_content_bgsegm' for \ref command /Users/steve/Documents/GitHub/ssteve-opencv/build/doc/contrib_tutorials.markdown:5: warning: unable to resolve reference to 'tutorial_table_of_content_retina' for \ref command /Users/steve/Documents/GitHub/ssteve-opencv/build/doc/contrib_tutorials.markdown:6: warning: unable to resolve reference to 'tutorial_omnidir_calib_main' for \ref command /Users/steve/Documents/GitHub/ssteve-opencv/build/doc/contrib_tutorials.markdown:7: warning: unable to resolve reference to 'tutorial_multi_camera_main' for \ref command

The build/doc/doxygen/html directory is created and includes index.html and many other files, but the links to the modules haven't been created. Are there more steps to building the documentation and tutorials than are included at Writing documentation for OpenCV?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-11-28 06:15:37.593465

Comments

1

you don't need to compile the documentation locally. when you create a PR the documentation including related changes will be created on pullrequest.opencv.org you can edit and see the changes

sturkmen gravatar imagesturkmen ( 2019-11-20 13:39:36 -0600 )edit
1

But is it possible to build the documentation locally? If I edit a tutorial markdown file I'd like to see the resulting html that Doxygen creates. Also, this raises the issue that the instructions at Writing Documentation for OpenCV are incorrect.

SSteve gravatar imageSSteve ( 2019-11-20 14:47:34 -0600 )edit
1

of course it is possible to build the documentation locally

sturkmen gravatar imagesturkmen ( 2019-11-20 16:12:20 -0600 )edit
1

Then that brings us back to my original question. Is there something missing from Writing documentation for OpenCV?

SSteve gravatar imageSSteve ( 2019-11-20 17:19:12 -0600 )edit