Skip to content

Commit

Permalink
Deploy docs website
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 1, 2024
0 parents commit a60a2fb
Show file tree
Hide file tree
Showing 82 changed files with 27,563 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
###############################
# Core EditorConfig Options #
###############################
# All files
[*]
indent_style = space

# XML project files
[*.{csproj,vcxproj,vcxproj.filters,proj,projitems,shproj,bonsai}]
indent_size = 2

# XML config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2

# Code files
[*.{cs,csx}]
indent_size = 4
insert_final_newline = true
charset = utf-8-bom
###############################
# .NET Coding Conventions #
###############################
[*.{cs}]
# Organize usings
dotnet_sort_system_directives_first = true
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* text=auto
*.cmd text eol=crlf
37 changes: 37 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Builds and publishes the documentation website to gh-pages branch
name: Build docs

on:
workflow_dispatch:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Build static site content using DocFX
- uses: nikeee/[email protected]
name: Build Documentation
with:
args: Docs/docfx.json

- name: Checkout gh-pages
uses: actions/checkout@v2
with:
ref: gh-pages
path: gh-pages
- name: Publish to github pages
run: |
cd gh-pages
rm -rf *
touch .nojekyll
cp -a ../Docs/_site/. .
git config user.name github-actions
git config user.email [email protected]
git add .
git commit --reset-author --amend -m "Deploy docs website"
git push --force origin gh-pages
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

desktop.ini

# Visual studio files
.vs
.vscode
.suo
.nuget
bin
obj
Debug
packages
*.componentinfo.xml
Empty file added .nojekyll
Empty file.
Loading

0 comments on commit a60a2fb

Please sign in to comment.