Dokka: Missing line breaks on <init> with multiple constructors

Created on 27 May 2019  路  2Comments  路  Source: Kotlin/dokka

/**
 * A tag which wraps a byte value.
 * @property value The wrapped value
 */
data class NbtByte(var value: Byte) : NbtTag() {
    /**
     * Wraps a byte `1` if the value is `true` and `0` otherwise.
     * @param value The value to be checked
     */
    constructor(value: Boolean): this(if (value) BYTE_TRUE else 0)

    /**
     * Converts the int value to an unsigned byte and wraps it.
     * @param unsigned Unsigned value from `0` to `255`.
     */
    constructor(unsigned: Int): this((unsigned and 0xFF).toByte())
}

Is becoming:

br.com.gamemods.nbtmanipulator / NbtByte / <init>

<init>

NbtByte(value:Boolean)

Wraps a byte 1 if the value is true and 0 otherwise.

Parameters

value - The value to be checkedNbtByte(unsigned:Int)

Converts the int value to an unsigned byte and wraps it.

Parameters

unsigned - Unsigned value from 0 to 255.NbtByte(value:Byte)

A tag which wraps a byte value.

Expected result:

br.com.gamemods.nbtmanipulator / NbtByte / <init>

<init>

NbtByte(value:Boolean)

Wraps a byte 1 if the value is true and 0 otherwise.

Parameters

value - The value to be checked

NbtByte(unsigned:Int)

Converts the int value to an unsigned byte and wraps it.

Parameters

unsigned - Unsigned value from 0 to 255.

NbtByte(value:Byte)

A tag which wraps a byte value.

Affects gfm, jekyll and markdown output formats.

It affects both details and summary as seen here:
https://gamemodsbr.github.io/NBT-Manipulator/kdoc/br.com.gamemods.nbtmanipulator/-nbt-byte/

bug

Most helpful comment

I also noticed it happening on methods with the same name, like this one:
https://gamemodsbr.github.io/Region-Manipulator/kdoc/br.com.gamemods.regionmanipulator/-region/remove.html

All 2 comments

I also noticed it happening on methods with the same name, like this one:
https://gamemodsbr.github.io/Region-Manipulator/kdoc/br.com.gamemods.regionmanipulator/-region/remove.html

I think it is no longer relevant when we have the new html format.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

simonbasle picture simonbasle  路  4Comments

juergenzimmermann picture juergenzimmermann  路  3Comments

rbares picture rbares  路  4Comments

fschoellhammer picture fschoellhammer  路  6Comments

norswap picture norswap  路  4Comments