Skip to content

Commit

Permalink
Merge pull request #1135 from shimat/docfx
Browse files Browse the repository at this point in the history
DocFX
  • Loading branch information
shimat authored Dec 30, 2020
2 parents bab5808 + 7002403 commit 7721686
Show file tree
Hide file tree
Showing 18 changed files with 128 additions and 288 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/docfx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: DocFX

on:
push:
branches:
- master

jobs:
build:

runs-on: windows-2019

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: DocFX
shell: cmd
run: |
choco install docfx -y
docfx docfx\docfx.json
- name: Upload DocFX packages
uses: actions/upload-artifact@v2
with:
name: docfx_site
path: ${{ github.workspace }}\docfx\_site

- name: Publish Documentation on GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_PAT }}
publish_dir: docfx/_site
23 changes: 0 additions & 23 deletions .github/workflows/docker-ubuntu18.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ jobs:
dotnet test -c Release -f net48 --runtime win-x64
cd ${env:GITHUB_WORKSPACE}
- name: Upload artifacts
uses: actions/upload-artifact@v1
- name: Upload NuGet packages
uses: actions/upload-artifact@v2
with:
name: artifacts_windows
name: nuget_packages_windows
path: ${{ github.workspace }}\artifacts
33 changes: 0 additions & 33 deletions doc/Content/VersionHistory/VersionHistory.aml

This file was deleted.

28 changes: 0 additions & 28 deletions doc/Content/VersionHistory/v1.0.0.0.aml

This file was deleted.

55 changes: 0 additions & 55 deletions doc/Content/Welcome.aml

This file was deleted.

18 changes: 0 additions & 18 deletions doc/ContentLayout.content

This file was deleted.

103 changes: 0 additions & 103 deletions doc/OpenCvSharpDocument.shfbproj

This file was deleted.

25 changes: 0 additions & 25 deletions doc/OpenCvSharpDocument.sln

This file was deleted.

Binary file removed doc/icons/Help.png
Binary file not shown.
9 changes: 9 additions & 0 deletions docfx/.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 docfx/api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
###############
# temp file #
###############
*.yml
.manifest
1 change: 1 addition & 0 deletions docfx/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# **[OpenCvSharp](https://github.com/shimat/opencvsharp) API Reference**
1 change: 1 addition & 0 deletions docfx/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 docfx/articles/toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- name: Introduction
href: intro.md
Loading

0 comments on commit 7721686

Please sign in to comment.