Add first example of docs

This commit is contained in:
Daniel Cronqvist 2024-08-17 00:07:52 +02:00
parent e6d94247c1
commit 0ceb27a4ca
9 changed files with 76 additions and 5 deletions

46
docs/docfx.json Normal file
View file

@ -0,0 +1,46 @@
{
"metadata": [
{
"src": [
{
"src": "../src",
"files": [
"DotTiled/DotTiled.csproj"
]
}
],
"dest": "api"
}
],
"build": {
"content": [
{
"files": [
"**/*.{md,yml}"
],
"exclude": [
"_site/**"
]
}
],
"resource": [
{
"files": [
"images/**"
]
}
],
"output": "_site",
"template": [
"default",
"modern",
"template"
],
"globalMetadata": {
"_appName": "DotTiled",
"_appTitle": "DotTiled",
"_enableSearch": true,
"pdf": true
}
}
}

View file

@ -0,0 +1 @@
# Loading a map

1
docs/docs/quickstart.md Normal file
View file

@ -0,0 +1 @@
# Quick Start

6
docs/docs/toc.yml Normal file
View file

@ -0,0 +1,6 @@
- name: Introduction
- href: ../index.md
- href: quickstart.md
- name: Essentials
- href: loading-a-map.md

4
docs/template/public/main.css vendored Normal file
View file

@ -0,0 +1,4 @@
body {
--bs-link-color-rgb: 66, 184, 131 !important;
--bs-link-hover-color-rgb: 64, 180, 128 !important;
}

4
docs/toc.yml Normal file
View file

@ -0,0 +1,4 @@
- name: Docs
href: docs/
- name: API
href: api/