From 30a64cab5dd9bf8a52b9ed8af63c48351bdf4d5b Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Tue, 11 Jun 2019 14:22:49 -0500 Subject: [PATCH] Moved docs to root of repo --- appveyor.yml | 2 +- {IPA.Loader/doc => docs}/.gitignore | 0 docs/.vscode/tasks.json | 12 ++++++++++++ {IPA.Loader/doc => docs}/api/.gitignore | 0 {IPA.Loader/doc => docs}/api/index.md | 0 {IPA.Loader/doc => docs}/articles/intro.md | 0 {IPA.Loader/doc => docs}/articles/toc.yml | 0 {IPA.Loader/doc => docs}/docfx.json | 4 ++++ {IPA.Loader/doc => docs}/index.md | 0 {IPA.Loader/doc => docs}/toc.yml | 0 10 files changed, 17 insertions(+), 1 deletion(-) rename {IPA.Loader/doc => docs}/.gitignore (100%) create mode 100644 docs/.vscode/tasks.json rename {IPA.Loader/doc => docs}/api/.gitignore (100%) rename {IPA.Loader/doc => docs}/api/index.md (100%) rename {IPA.Loader/doc => docs}/articles/intro.md (100%) rename {IPA.Loader/doc => docs}/articles/toc.yml (100%) rename {IPA.Loader/doc => docs}/docfx.json (91%) rename {IPA.Loader/doc => docs}/index.md (100%) rename {IPA.Loader/doc => docs}/toc.yml (100%) diff --git a/appveyor.yml b/appveyor.yml index 38eefc97..0782b21f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -48,7 +48,7 @@ after_deploy: - ps: | if(-Not $env:APPVEYOR_PULL_REQUEST_TITLE -And $env:APPVEYOR_REPO_BRANCH -eq 'master') { - cd IPA.Loader/doc + cd docs & docfx docfx.json if ($lastexitcode -ne 0){ throw [System.Exception] "docfx build failed with exit code $lastexitcode." diff --git a/IPA.Loader/doc/.gitignore b/docs/.gitignore similarity index 100% rename from IPA.Loader/doc/.gitignore rename to docs/.gitignore diff --git a/docs/.vscode/tasks.json b/docs/.vscode/tasks.json new file mode 100644 index 00000000..fb3d737d --- /dev/null +++ b/docs/.vscode/tasks.json @@ -0,0 +1,12 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "type": "shell", + "command": "docfx metadata; docfx build" + } + ] +} \ No newline at end of file diff --git a/IPA.Loader/doc/api/.gitignore b/docs/api/.gitignore similarity index 100% rename from IPA.Loader/doc/api/.gitignore rename to docs/api/.gitignore diff --git a/IPA.Loader/doc/api/index.md b/docs/api/index.md similarity index 100% rename from IPA.Loader/doc/api/index.md rename to docs/api/index.md diff --git a/IPA.Loader/doc/articles/intro.md b/docs/articles/intro.md similarity index 100% rename from IPA.Loader/doc/articles/intro.md rename to docs/articles/intro.md diff --git a/IPA.Loader/doc/articles/toc.yml b/docs/articles/toc.yml similarity index 100% rename from IPA.Loader/doc/articles/toc.yml rename to docs/articles/toc.yml diff --git a/IPA.Loader/doc/docfx.json b/docs/docfx.json similarity index 91% rename from IPA.Loader/doc/docfx.json rename to docs/docfx.json index b4f482b7..ec82d8bf 100644 --- a/IPA.Loader/doc/docfx.json +++ b/docs/docfx.json @@ -6,6 +6,10 @@ "src": "..", "files": [ "**.csproj" + ], + "exclude": [ + "**/IPA.csproj", + "**/IPA.Tests.csproj" ] } ], diff --git a/IPA.Loader/doc/index.md b/docs/index.md similarity index 100% rename from IPA.Loader/doc/index.md rename to docs/index.md diff --git a/IPA.Loader/doc/toc.yml b/docs/toc.yml similarity index 100% rename from IPA.Loader/doc/toc.yml rename to docs/toc.yml