Hi YaSTies,
new yardoc is here and because we do not freeze its version, we also using it. 
It adds a more strictness to link resolving. So it no longer resolve links to 
method of constant or to attribute that is not found.
Sadly those constant include also yast modules which is costant created as 
instance of class so it is singleton.


What is affected?
All packages that use links and use check:doc to verify documentation.


How error looks like?
```
[warn]: The namespace of link "Y2ModuleConfig#resource_aliases_map" is a 
constant or invalid.

[warn]: The namespace of link "Profile.Prepare" is a constant or invalid.

[warn]: The namespace of link "Yast::Profile.current" is a constant or invalid.

[warn]: In file `src/lib/autoinstall/activate_callbacks.rb':40: Cannot resolve 
link to Yast::Profile.current from text:

        ...{Yast::Profile.current}...
```


How to fix it?
 Using Class suffix to link class that implements method. Example can be seen 
in this commit - 
https://github.com/yast/yast-autoinstallation/pull/607/commits/dd3e20dc54eca30a61592e72b22b4bac5e5f70b9

Josef
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to