-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
link generator: fixed leading colon [closes #72] #92
Conversation
The link is always absolute. Wouldn't it be better to throw exceptions? |
@fprochazka Leading colon is not used for absolute URL, but for referencing different module. |
@janedbal I wrote "link" not a "URL". In presenters, you always write relative links, but there is no The question is.. should we ignore the colon for compatibility's sake, or forbit it because it makes no sense? |
This is pretty much the same as prefixing namespaces with |
I'm not sure :) But compatibility with presenter's |
For compatibility with presenters you would need to NOT support links without the leading colon as the meaning may now be different. I'm 👎 on this. |
This is not about compatibility but usability. Neon also accepts FQN with the leading slash, although it requires FQN by design. |
Once someone asked me: what is the difference between There should be one-- and preferably only one --obvious way to do it. https://www.python.org/dev/peps/pep-0020/ |
👍 But as with namespaces and FQCN |
|
Maybe we should remove one. |
8e097dc
to
e4eb640
Compare
7f051bf
to
f87df33
Compare
9725b1d
to
9869e52
Compare
18f376d
to
3fe619f
Compare
20a93ca
to
08cbdeb
Compare
No description provided.