Skip to content

Commit

Permalink
Added documentation infrastructure code
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Apr 4, 2022
1 parent 5687a82 commit aaa6971
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/serve_docs.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
echo "This script uses docfx - Please make sure it is installed on your machine"
docfx site/docfx.json
docfx serve site/_site
9 changes: 9 additions & 0 deletions docs/site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
###############
# folder #
###############
/**/DROP/
/**/TEMP/
/**/packages/
/**/bin/
/**/obj/
_site
5 changes: 5 additions & 0 deletions docs/site/api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
###############
# temp file #
###############
*.yml
.manifest
2 changes: 2 additions & 0 deletions docs/site/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Api Documentation
Here you will find an overview over all exposed objects.
1 change: 1 addition & 0 deletions docs/site/articles/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Add your introductions here!
2 changes: 2 additions & 0 deletions docs/site/articles/toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- name: Introduction
href: intro.md
74 changes: 74 additions & 0 deletions docs/site/docfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"metadata": [
{
"src": [
{
"files": [
"LinkDotNet.StringBuilder/LinkDotNet.StringBuilder.csproj"
],
"src": "../../src"
}
],
"dest": "api",
"disableGitFeatures": false,
"disableDefaultFilter": false
}
],
"build": {
"content": [
{
"files": [
"api/**.yml",
"api/index.md"
]
},
{
"files": [
"articles/**.md",
"articles/**/toc.yml",
"toc.yml",
"*.md"
]
}
],
"resource": [
{
"files": [
"images/**"
]
}
],
"overwrite": [
{
"files": [
"apidoc/**.md"
],
"exclude": [
"obj/**",
"_site/**"
]
}
],
"dest": "_site/",
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": [
"default"
],
"globalMetadata": {
"_appName": "ValueStringBuilder",
"_appTitle": "ValueStringBuilder",
"_description": "The ValueStringBuilder is a fast and low allocating StringBuilder meant for scenarios where every allocation and millisecond is important.",
"_enableSearch": true,
"_appLogoPath": "/images/logo.png",
"_disableBreadcrumb": true,
"_disableFooter": false
},
"postProcessors": [],
"markdownEngineName": "markdig",
"noLangKeyword": false,
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false
}
}
Binary file added docs/site/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/site/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is the **HOMEPAGE**.
Refer to [Markdown](http://daringfireball.net/projects/markdown/) for how to write markdown files.
## Quick Start Notes:
1. Add images to the *images* folder if the file is referencing an image.
5 changes: 5 additions & 0 deletions docs/site/toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- name: Articles
href: articles/
- name: Api Documentation
href: api/
homepage: api/index.md

0 comments on commit aaa6971

Please sign in to comment.