Skip to content

Commit 9cc17af

Browse files
committed
Started adding chameleonforms customisations to the docs
1 parent b03f843 commit 9cc17af

17 files changed

+735
-532
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ packages
1515
*.cshtml.cs
1616
TestResults
1717
_site
18-
api
18+
apidocs

.vscode/tasks.json

+10
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@
1717
"isDefault": true
1818
}
1919
},
20+
{
21+
"label": "docs",
22+
"command": "docfx",
23+
"type": "process",
24+
"args": [
25+
"${workspaceFolder}/docfx.json",
26+
"--serve"
27+
],
28+
"problemMatcher": []
29+
},
2030
{
2131
"label": "test",
2232
"command": "dotnet",

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
[![Build status](https://ci.appveyor.com/api/projects/status/0pnpmjpkybb99ac3?svg=true)](https://ci.appveyor.com/project/MRCollective/chameleonforms)
66
[![NuGet version](https://img.shields.io/nuget/vpre/ChameleonForms.svg)](https://www.nuget.org/packages/ChameleonForms)
7-
[![Documentation status](https://readthedocs.org/projects/chameleonforms/badge/?version=latest)](http://chameleonforms.readthedocs.org/en/latest/)
87

98
ChameleonForms takes away the pain and repetition of building forms with ASP.NET Core MVC by following a philosophy of:
109

docfx.json

+29-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
]
1111
}
1212
],
13-
"dest": "api",
13+
"dest": "apidocs",
1414
"disableGitFeatures": false,
1515
"disableDefaultFilter": false
1616
}
@@ -19,8 +19,8 @@
1919
"content": [
2020
{
2121
"files": [
22-
"api/**.yml",
23-
"api/index.md"
22+
"apidocs/**.yml",
23+
"apidocs/index.md"
2424
]
2525
},
2626
{
@@ -36,14 +36,16 @@
3636
{
3737
"files": [
3838
"docs/*.png",
39-
"docs/*.jpg"
39+
"docs/*.jpg",
40+
"docs/*.ico",
41+
"docs/templates/chameleonforms/styles/cshtml-razor.js"
4042
]
4143
}
4244
],
4345
"overwrite": [
4446
{
4547
"files": [
46-
"apidoc/**.md"
48+
"apidocs/**.md"
4749
],
4850
"exclude": [
4951
"obj/**",
@@ -52,11 +54,30 @@
5254
}
5355
],
5456
"dest": "_site",
57+
"globalMetadata": {
58+
"_appTitle": "ChameleonForms",
59+
"_appFooter": "© Copyright 2012-2020 MRCollective, Rob Moore, Matt Davies and the contributors to ChameleonForms.",
60+
"_appLogoPath": "docs/logo-small.png",
61+
"_enableSearch": true,
62+
"_appFaviconPath": "docs/favicon.ico"
63+
},
64+
"fileMetadata": {
65+
"_disableNavbar": {
66+
"index.md": true
67+
},
68+
"_disableBreadcrumb": {
69+
"index.md": true
70+
},
71+
"_disableToc": {
72+
"index.md": true
73+
},
74+
"_disableAffix": {
75+
"index.md": true
76+
}
77+
},
5578
"globalMetadataFiles": [],
5679
"fileMetadataFiles": [],
57-
"template": [
58-
"default"
59-
],
80+
"template": ["default", "docs/templates/chameleonforms"],
6081
"postProcessors": [],
6182
"markdownEngineName": "markdig",
6283
"noLangKeyword": false,

docs/bg-gr-v.png

1.74 KB
Loading

docs/chameleon.jpg

699 KB
Loading

docs/favicon.ico

15 KB
Binary file not shown.

docs/logo-small.png

4.79 KB
Loading

0 commit comments

Comments
 (0)