@antora/page-composer
Advanced tools
Comparing version 3.0.0-alpha.1 to 3.0.0-alpha.2
@@ -7,4 +7,4 @@ 'use strict' | ||
if (!to) return '#' | ||
if (to.charAt() !== '/') return to | ||
const from = data.root.page.url | ||
if (to.charAt() !== '/') return to | ||
if (!from) return (data.root.site.path || '') + to | ||
@@ -11,0 +11,0 @@ let hash = '' |
{ | ||
"name": "@antora/page-composer", | ||
"version": "3.0.0-alpha.1", | ||
"version": "3.0.0-alpha.2", | ||
"description": "Wraps the embeddable HTML contents of each page file from the content catalog in a page layout to yield standalone pages in an Antora documentation pipeline.", | ||
@@ -36,3 +36,3 @@ "license": "MPL-2.0", | ||
], | ||
"gitHead": "337ff6d2ed11e1f4d0a8ef993ddc8eaac7a73e9f" | ||
"gitHead": "997231474334311f3e5ff55d68534f5ae6e5d7ee" | ||
} |
@@ -11,4 +11,4 @@ # Antora Page Composer | ||
Copyright (C) 2017-2020 [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org). | ||
Copyright (C) 2017-present [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org). | ||
Use of this software is granted under the terms of the [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/) (MPL-2.0). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36254