Skip to content

doc: ToC has duplicated "OpenCV Theory" at Basic Drawing #26017

@Kumataro

Description

@Kumataro

Describe the doc issue

OpenCV Tutorials>Image Processing (imgproc module)>Basic Drawing

This "Table of Contents" has duplicated "OpenCV Theory / Point / Scalar".

https://docs.opencv.org/4.x/d3/d96/tutorial_basic_geometric_drawing.html
https://docs.opencv.org/5.x/d3/d96/tutorial_basic_geometric_drawing.html

First "OpenCV Theory" is for C++, and second "OpenCV Theory" is for Java.

Fix suggestion

I think we can store documents for C++ and Java to the same section.

Before (Separated sections)

@add_toggle_cpp
OpenCV Theory
------------------
...

### Point
...
### Scalar
...
@end_toggle

@add_toggle_java
OpenCV Theory
------------------
...

### Point
...
### Scalar
...
@end_toggle

After (Composited section)

OpenCV Theory
------------------
...

### Point
@add_toggle_cpp
...
@end_toggle
@add_toggle_java
...
@end_toggle
### Scalar
@add_toggle_cpp
...
@end_toggle
@add_toggle_java
...
@end_toggle

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions