ldoc
ldoc copied to clipboard
Reference to type from another module
trafficstars
i have 2 module : odbc.ex.Environment and odbc.ex.Connection each of them implement its own class. I wont reference from Environment module to Connection class without specifying whole odbc.ex.Connection.Connection config.ld:
format='discount'
file = {
'ex.lua',
'Environment.lua',
'Connection.lua',
}
tparam_alias ('Environment','odbc.ex.Environment.Environment')
tparam_alias ('Connection','odbc.ex.Connection.Connection')
Evironment.lua:
...
--- Create new `Connection` object and connect to database.
--
-- - `Connection` -- <li><a href="../modules/odbc.ex.Environment.html#odbc.ex.Connection">Connection</a> </li>
-- - @{Connection} -- <li><a href="../modules/odbc.ex.Environment.html#odbc.ex.Connection">?que</a></li>
-- - `odbc.ex.Connection.Connection` -- <li><a href="../modules/odbc.ex.Connection.html#Class_Connection">odbc.ex.Connection.Connection</a> </li>
-- - @{odbc.ex.Connection.Connection} -- <li><a href="../modules/odbc.ex.Connection.html#Class_Connection">odbc.ex.Connection.Connection</a></li>
...
Connection and @{Connection} produce different links