-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation with links to type aliases? #61
Documentation with links to type aliases? #61
Comments
There are still a lot to discuss about this issue... I'll work on it later... |
Not sure this should be closed: While we have a solution in our |
I was only thinking about internal users. So having it in the template would automatically apply this to all packages at some point. If we want to provide it to other users, too, we should implement a sphinx plugin. Though I'm not sure how that would interact with autodoc. |
Not saying we have to necessarily provide such a solution, but maybe we should either keep this issue open, or add a docs section? |
The following is not really a problem of Sciline itself, it does however severely impact usability of documentation of downstream projects.
Sphinx, in particular with https://github.com/tox-dev/sphinx-autodoc-typehints, "expands" type hints to aliases defined with
typing.NewType
. That is, instead of a link to the docs of the alias, we just get a long toNewType
(which is useless) and the name of the alias.According to tox-dev/sphinx-autodoc-typehints#216 (comment) this might be intentional. Can this be changed in the extension as suggested in the comment? Do we need our own extension?
The text was updated successfully, but these errors were encountered: