canonicalURI - Geonovum/respec GitHub Wiki
The canonicalURI
let's you indicate either a URL or a keyword to use as the "canonical link" of the document is. Search engines, like Google, can make use of this information to help determine which version of document is authoritative.
Keywords
Using the following values automatically generates a corresponding URL. However, you are free to include your own URL.
- "WV" - Use the edDraftURI as the canonical URL.
- "DEF" - Use the latest published location for this document, using the shortName
Example
The following will result in a canonical URL of https://docs.geostandaarden.nl/bin/fooAPI
.
var respecConfig = {
"pubDomain": "bin",
"shortName": "fooAPI",
"canonicalURI": "DEF",
}