mirror of
https://github.com/testthedocs/awesome-docs.git
synced 2026-07-19 11:18:18 -05:00
feat: ✨ New docs setup
This commit is contained in:
+4
-1
@@ -136,4 +136,7 @@ dist
|
||||
.pnp.*
|
||||
|
||||
# Setup and configuration
|
||||
.direnv
|
||||
.direnv
|
||||
|
||||
# Antora
|
||||
build/site/
|
||||
@@ -0,0 +1,17 @@
|
||||
site:
|
||||
title: My Project Docs
|
||||
start_page: my-component::index.adoc
|
||||
|
||||
content:
|
||||
sources:
|
||||
- url: .
|
||||
branches: HEAD
|
||||
start_path: docs
|
||||
|
||||
ui:
|
||||
bundle:
|
||||
dir: ./ui
|
||||
snapshot: true
|
||||
|
||||
output:
|
||||
dir: ./build/site
|
||||
@@ -0,0 +1,5 @@
|
||||
name: my-component
|
||||
title: My Docs
|
||||
version: latest
|
||||
nav:
|
||||
- modules/ROOT/nav.adoc
|
||||
@@ -0,0 +1 @@
|
||||
* xref:index.adoc[Home]
|
||||
@@ -0,0 +1,3 @@
|
||||
= Welcome to My Docs
|
||||
|
||||
This is a sample Antora documentation page.
|
||||
Reference in New Issue
Block a user