"use strict";
/**
 * Migration: Add experience-level documentation
 *
 * Creates a Docusaurus documentation site for the experience,
 * using the experience name from .unisphere config.
 * Skips npm install since the user will run it separately.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = update;
const devkit_1 = require("@nx/devkit");
const add_documentation_1 = require("../../generators/add-documentation/add-documentation");
async function update(tree) {
    devkit_1.logger.info('📖 Creating experience-level documentation site...');
    await (0, add_documentation_1.addDocumentationGenerator)(tree, {
        isExperienceLevel: true,
        skipInstall: true,
    });
    devkit_1.logger.info('✅ Documentation site created successfully.');
}
