Skip to content

Commit

Permalink
Merge pull request #4 from Advanced-Systems/project_setup
Browse files Browse the repository at this point in the history
Project Setup
  • Loading branch information
StefanGreve authored Jul 16, 2024
2 parents 9e19e2a + 14215f0 commit d9f81ef
Show file tree
Hide file tree
Showing 23 changed files with 1,086 additions and 991 deletions.
728 changes: 364 additions & 364 deletions .editorconfig

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Docs

on:
push:
branches:
- master
paths:
- AdvancedSystems.Core/**
- AdvancedSystems.Core.Abstractions/**
- docs/**
- .github/workflows/docs.yml
pull_request:
branches:
- master
paths:
- docs/**
- .github/workflows/docs.yml
workflow_dispatch:

jobs:
generate-docs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Setup DocFX
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install docfx

- name: DocFX Build
working-directory: docs
run: docfx .\docfx.json
continue-on-error: false

- name: Publish
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site
force_orphan: true
Loading

0 comments on commit d9f81ef

Please sign in to comment.