Skip to content

Commit 60e0056

Browse files
committed
fix: don't generate xml for topics
1 parent e15b5c7 commit 60e0056

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/docs.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import {
2020
import * as chalk from 'chalk';
2121
import { BaseDitamap } from './ditamap/base-ditamap';
2222
import { CLIReference } from './ditamap/cli-reference';
23-
import { CLIReferenceTopic } from './ditamap/cli-reference-topic';
2423
import { Command } from './ditamap/command';
2524
import { MainTopicIntro } from './ditamap/main-topic-intro';
2625
import { TopicCommands } from './ditamap/topic-commands';
@@ -116,9 +115,6 @@ export class Docs {
116115
// The topic ditamap with all of the subtopic links.
117116
events.emit('subtopics', topic, subTopicNames);
118117

119-
if (!commandIds.includes(topic)) {
120-
await new CLIReferenceTopic(topic, description).write();
121-
}
122118
await new TopicCommands(topic, topicMeta).write();
123119
await new TopicDitamap(topic, commandIds).write();
124120
return subTopicNames;

0 commit comments

Comments
 (0)