Skip to content

Commit

Permalink
Merge pull request #6 from J-Tech-Japan/docfx_simple_settings
Browse files Browse the repository at this point in the history
Docfx Simple settings
  • Loading branch information
tomohisa authored May 26, 2023
2 parents 1450fc5 + 9931fb2 commit 5ba7f6a
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/docfx_project/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
###############
# folder #
###############
/**/DROP/
/**/TEMP/
/**/packages/
/**/bin/
/**/obj/

_site
5 changes: 5 additions & 0 deletions docs/docfx_project/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/docfx_project/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# PLACEHOLDER
TODO: Add .NET projects to the *src* folder and run `docfx` to generate **REAL** *API Documentation*!
1 change: 1 addition & 0 deletions docs/docfx_project/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/docfx_project/articles/toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- name: Introduction
href: intro.md
57 changes: 57 additions & 0 deletions docs/docfx_project/docfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"metadata": [
{
"src": [
{
"files": [
"**/*.csproj"
],
"src" : "../../src"
}
],
"dest": "api",
"includePrivateMembers": false,
"disableGitFeatures": false,
"disableDefaultFilter": false,
"noRestore": false,
"namespaceLayout": "flattened",
"memberLayout": "samePage",
"allowCompilationErrors": false
}
],
"build": {
"content": [
{
"files": [
"api/**.yml",
"api/index.md"
]
},
{
"files": [
"articles/**.md",
"articles/**/toc.yml",
"toc.yml",
"*.md"
]
}
],
"resource": [
{
"files": [
"images/**"
]
}
],
"output": "_site",
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": [
"default",
"modern"
],
"postProcessors": [],
"keepFileLink": false,
"disableGitFeatures": false
}
}
4 changes: 4 additions & 0 deletions docs/docfx_project/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/docfx_project/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 5ba7f6a

Please sign in to comment.