-
Notifications
You must be signed in to change notification settings - Fork 40
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
docs: add warning about using absolute URLs. #63
docs: add warning about using absolute URLs. #63
Conversation
e71b1a0
to
e46a95a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good! I would maybe add specifically that it is not also recommended to "expose" the URLs, or is it clear enough?
Like:
, it is not recommended to store and expose the JSON schema URLs...
or other kind of identifiers with the certitude that they will never change, to avoid broken references.
Sorry for my poor english...
e46a95a
to
749ebaf
Compare
Sounds good, I have updated the text! |
docs/usage.rst
Outdated
@@ -1,6 +1,6 @@ | |||
.. | |||
This file is part of Invenio. | |||
Copyright (C) 2015 CERN. | |||
Copyright (C) 2015, 2016, 2017 CERN. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why? I think we haven't touch it :)
@@ -22,7 +22,17 @@ | |||
# waive the privileges and immunities granted to it by virtue of its status | |||
# as an Intergovernmental Organization or submit itself to any jurisdiction. | |||
|
|||
"""Invenio module for building and serving JSONSchemas.""" | |||
"""Invenio module for building and serving JSONSchemas. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2017? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I moved the text but forgot about the license :P
* Adds a note to the documentation, that absolute URLs in $ref should be avoided (closes inveniosoftware#23). Signed-off-by: Sebastian Witowski <witowski.sebastian@gmail.com>
749ebaf
to
cd71cf9
Compare
avoided (closes docs: add a Warning recommending not to store or advertise invenio-jsonschema URLs #23).
Signed-off-by: Sebastian Witowski witowski.sebastian@gmail.com