# 文档根目录 **Repository Path**: consolelog/docs-root-study ## Basic Information - **Project Name**: 文档根目录 - **Description**: 文档根目录文档根目录 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-06-06 - **Last Updated**: 2022-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # antora # 安装 ```shell mkdir docs-root-study && cd docs-root-study npm init -f npm npm i -D -E @antora/cli@3.0 @antora/site-generator@3.0 echo "site: title: Antora Docs start_page: component-b::index.adoc content: sources: - url: https://gitlab.com/antora/demo/demo-component-a.git branches: HEAD - url: https://gitlab.com/antora/demo/demo-component-b.git branches: [v2.0, v1.0] start_path: docs ui: bundle: url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable snapshot: true" >> antora-playbook.yml npx antora --fetch antora-playbook.yml open build/site/index.html ```