build(docs-infra): remove `disambiguator` doc-type (#42414)
Now that we disambiguate files by encoding the outputPath, there is no need for the `disambiguator` doc-type. PR Close #42414
This commit is contained in:
parent
b0592c1be6
commit
15fca6ca94
|
@ -67,7 +67,7 @@ module.exports = new Package('angular-base', [
|
||||||
collectExamples.exampleFolders = [];
|
collectExamples.exampleFolders = [];
|
||||||
|
|
||||||
generateKeywordsProcessor.ignoreWords = require(path.resolve(__dirname, 'ignore-words'))['en'];
|
generateKeywordsProcessor.ignoreWords = require(path.resolve(__dirname, 'ignore-words'))['en'];
|
||||||
generateKeywordsProcessor.docTypesToIgnore = [undefined, 'example-region', 'json-doc', 'api-list-data', 'api-list-data', 'contributors-json', 'navigation-json', 'announcements-json', 'disambiguator'];
|
generateKeywordsProcessor.docTypesToIgnore = [undefined, 'example-region', 'json-doc', 'api-list-data', 'api-list-data', 'contributors-json', 'navigation-json', 'announcements-json'];
|
||||||
generateKeywordsProcessor.propertiesToIgnore = ['basePath', 'renderedContent', 'docType', 'searchTitle'];
|
generateKeywordsProcessor.propertiesToIgnore = ['basePath', 'renderedContent', 'docType', 'searchTitle'];
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -168,5 +168,5 @@ module.exports = new Package('angular-base', [
|
||||||
})
|
})
|
||||||
|
|
||||||
.config(function(convertToJsonProcessor) {
|
.config(function(convertToJsonProcessor) {
|
||||||
convertToJsonProcessor.docTypes = ['disambiguator'];
|
convertToJsonProcessor.docTypes = [];
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
{% marked %}
|
|
||||||
# {$ doc.title $}
|
|
||||||
{% endmarked %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<div class="content">
|
|
||||||
There are multiple pages that match this path:
|
|
||||||
<ul>
|
|
||||||
{% for ambiguousDoc in doc.docs %}<li>
|
|
||||||
<a href="{$ ambiguousDoc.path $}">{$ ambiguousDoc.id $}</a>
|
|
||||||
{$ ambiguousDoc.shortDescription | marked $}
|
|
||||||
</li>{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
Loading…
Reference in New Issue