constexpr
row&
operator=(row const& other) = default;
boostorg / boostorg/website-v2-docs
Autogenerated docs: operators don't seem clickable in overload pages
- Dominant language
- JavaScript
- Stars
- 14
- Forks
- 60
- Avg merge
- 12h 47m
- Merged PRs (30d)
- 14
Description
I'm opening this as a continuation of https://github.com/cppalliance/mrdocs/issues/826. I'm generating docs using MrDocs (this is, Doxygen comments transformed to asciidoc files with MrDocs, then transformed to HTML with Antora. When an operator is overloaded (e.g. copy/move assignment), it generates an overload page that includes links to each of the individual overloads. The link spans the entire function name (that is, `operator=`), but only the `=` part of the name is formatted as a link (as opposed to the entire `operator=`). There seems to be some contention with syntax highlighting, where highlight.js identifies `operator` as a keyword, overriding the link style.
The impact is that links seem to be not clickable.
I'll provide as much info as I can. Please feel free to request any missing details:
* What it's rendered:

* What should ideally be rendered (old toolchain - notice how the link spans the entire `operator=`):

* Generated HTML:
```html
boost::mysql::row::operator= :: Boost.MySQL documentation
var uiRootPath = '../../../../../_'
boost::mysql::row::operator=
Copy assignment.
Description
Object lifetimes
*this lifetime will be independent of other's. Iterators and references (including row_view's and field_view's) to elements in *this are invalidated.
```
Thanks,
Ruben.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.