...
This commit is contained in:
20
examples/doctreenew/sites/demo1/collection.hjson
Normal file
20
examples/doctreenew/sites/demo1/collection.hjson
Normal file
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
name: docs_hero
|
||||
#existing docusaurus site can be used as collection as long as no duplicates
|
||||
url: https://git.ourworld.tf/tfgrid/docs_tfgrid4/src/branch/main/aibox/docs
|
||||
description: Documentation for the ThreeFold Hero project.
|
||||
}
|
||||
|
||||
{
|
||||
name: biz
|
||||
url: https://git.ourworld.tf/tfgrid/docs_tfgrid4/src/branch/main/aibox/collectios/aaa
|
||||
description: Business documentation.
|
||||
}
|
||||
|
||||
{
|
||||
name: products
|
||||
url: https://git.ourworld.tf/tfgrid/docs_tfgrid4/src/branch/main/aibox/collectios/vvv
|
||||
description: Information about ThreeFold products.
|
||||
}
|
||||
]
|
33
examples/doctreenew/sites/demo1/footer.hjson
Normal file
33
examples/doctreenew/sites/demo1/footer.hjson
Normal file
@@ -0,0 +1,33 @@
|
||||
# Footer configuration for the site
|
||||
|
||||
title: "Explore More"
|
||||
|
||||
sections: [
|
||||
{
|
||||
title: "Pages"
|
||||
links: [
|
||||
{ label: "Home", href: "/" }
|
||||
{ label: "About Us", href: "/about" }
|
||||
{ label: "Contact", href: "/contact" }
|
||||
{ label: "Blog", href: "/blog" }
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
title: "Resources"
|
||||
links: [
|
||||
{ label: "Docs", href: "/docs" }
|
||||
{ label: "API", href: "/api" }
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
title: "Social"
|
||||
links: [
|
||||
{ label: "GitHub", href: "https://github.com/yourproject" }
|
||||
{ label: "Twitter", href: "https://twitter.com/yourhandle" }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
copyright: "© 2025 YourSite. All rights reserved."
|
32
examples/doctreenew/sites/demo1/header.hjson
Normal file
32
examples/doctreenew/sites/demo1/header.hjson
Normal file
@@ -0,0 +1,32 @@
|
||||
# Site Branding
|
||||
logo:
|
||||
src: /img/logo.svg
|
||||
alt: Site Logo
|
||||
|
||||
# Site Title
|
||||
title: ThreeFold Hero
|
||||
|
||||
# Navigation Menu
|
||||
menu: [
|
||||
{
|
||||
label: Home
|
||||
link: /
|
||||
}
|
||||
{
|
||||
label: Docs
|
||||
link: /docs/
|
||||
}
|
||||
{
|
||||
label: About
|
||||
link: /about/
|
||||
}
|
||||
]
|
||||
|
||||
# Login Button
|
||||
login:
|
||||
visible: true
|
||||
label: Login
|
||||
link: /login/
|
||||
|
||||
|
||||
|
14
examples/doctreenew/sites/demo1/main.hjson
Normal file
14
examples/doctreenew/sites/demo1/main.hjson
Normal file
@@ -0,0 +1,14 @@
|
||||
# Site Main Info
|
||||
title: ThreeFold Hero Docs
|
||||
tagline: Your Personal Hero
|
||||
favicon: img/favicon.png
|
||||
url: https://threefold.info
|
||||
|
||||
# SEO / Social Metadata
|
||||
metadata:
|
||||
title: ThreeFold Hero Docs
|
||||
description: ThreeFold Hero - Your Personal Hero
|
||||
image: https://threefold.info/herodocs/img/tf_graph.png
|
||||
|
||||
# Copyright Notice
|
||||
copyright: ThreeFold
|
33
examples/doctreenew/sites/demo1/pages.hjson
Normal file
33
examples/doctreenew/sites/demo1/pages.hjson
Normal file
@@ -0,0 +1,33 @@
|
||||
[
|
||||
{
|
||||
name: home
|
||||
title: Home Page
|
||||
description: This is the main landing page.
|
||||
navPath: /
|
||||
collection: acollection
|
||||
}
|
||||
|
||||
{
|
||||
name: about
|
||||
title: About Us
|
||||
navPath: /about
|
||||
collection: acollection
|
||||
}
|
||||
|
||||
{
|
||||
name: docs
|
||||
title: Documentation
|
||||
navPath: /sub/docs
|
||||
collection: docs_hero
|
||||
}
|
||||
|
||||
{
|
||||
name: hidden-page
|
||||
title: Hidden Page
|
||||
description: This page is not shown in navigation.
|
||||
hidden: true
|
||||
navPath: /cantsee
|
||||
collection: acollection
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user