@antora/content-classifier
Advanced tools
Comparing version 2.3.0-rc.1 to 2.3.0-rc.2
@@ -30,3 +30,3 @@ 'use strict' | ||
if (startPageSpec) { | ||
const formalStartPageSpec = startPageSpec.endsWith('.adoc') ? startPageSpec : `${startPageSpec}.adoc` | ||
const formalStartPageSpec = startPageSpec.endsWith('.adoc') ? startPageSpec : startPageSpec + '.adoc' | ||
const { src: startPageSrc } = (startPage = this.resolvePage(formalStartPageSpec, indexPageId)) || {} | ||
@@ -226,3 +226,3 @@ if (startPageSrc && startPageSrc.component === name && startPageSrc.version === version) { | ||
if (!startPageSpec) return | ||
const formalStartPageSpec = startPageSpec.endsWith('.adoc') ? startPageSpec : `${startPageSpec}.adoc` | ||
const formalStartPageSpec = startPageSpec.endsWith('.adoc') ? startPageSpec : startPageSpec + '.adoc' | ||
const rel = this.resolvePage(formalStartPageSpec) | ||
@@ -273,4 +273,3 @@ if (rel) { | ||
* | ||
* @param {String} spec - The contextual page ID spec (e.g., | ||
* version@component:module:topic/page followed by optional .adoc extension). | ||
* @param {String} spec - The contextual page ID spec (e.g., version@component:module:topic/page.adoc). | ||
* @param {ContentCatalog} catalog - The content catalog in which to resolve the page file. | ||
@@ -277,0 +276,0 @@ * @param {Object} [ctx={}] - The context to use to qualified the contextual page ID. |
{ | ||
"name": "@antora/content-classifier", | ||
"version": "2.3.0-rc.1", | ||
"version": "2.3.0-rc.2", | ||
"description": "Organizes aggregated content into a virtual file catalog for use in an Antora documentation pipeline.", | ||
@@ -19,7 +19,7 @@ "license": "MPL-2.0", | ||
"dependencies": { | ||
"@antora/asciidoc-loader": "2.3.0-rc.1", | ||
"@antora/asciidoc-loader": "2.3.0-rc.2", | ||
"vinyl": "~2.2" | ||
}, | ||
"devDependencies": { | ||
"@antora/content-aggregator": "2.3.0-rc.1" | ||
"@antora/content-aggregator": "2.3.0-rc.2" | ||
}, | ||
@@ -26,0 +26,0 @@ "engines": { |
@@ -10,4 +10,4 @@ # Antora Content Classifier | ||
Copyright (C) 2017-2019 [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org). | ||
Copyright (C) 2017-2020 [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). |
29856
707
+ Added@antora/asciidoc-loader@2.3.0-rc.2(transitive)
- Removed@antora/asciidoc-loader@2.3.0-rc.1(transitive)