ldoc icon indicating copy to clipboard operation
ldoc copied to clipboard

Reference to type from another module

Open moteus opened this issue 13 years ago • 1 comments
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

moteus avatar Jun 28 '12 07:06 moteus