-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from glopesdev/docfx-update
Update docs website to modern docfx template
- Loading branch information
Showing
66 changed files
with
3,004 additions
and
874 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"docfx": { | ||
"version": "2.75.3", | ||
"commands": [ | ||
"docfx" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,32 +10,35 @@ jobs: | |
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4.1.1 | ||
name: Checkout | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup MSBuild | ||
uses: microsoft/setup-msbuild@v1 | ||
uses: microsoft/setup-msbuild@v2 | ||
|
||
- name: Restore NuGet Packages | ||
run: msbuild -t:restore src\bonsai\Bonsai.sln | ||
|
||
- name: Setup DocFX | ||
uses: crazy-max/ghaction-chocolatey@v1 | ||
- name: Setup .NET Core SDK | ||
uses: actions/[email protected] | ||
with: | ||
args: install docfx | ||
dotnet-version: 7.x | ||
|
||
- name: Setup DocFX | ||
run: dotnet tool restore | ||
|
||
- name: Build Documentation | ||
run: docfx docfx.json | ||
run: dotnet docfx docfx.json | ||
|
||
- name: Checkout gh-pages | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
ref: gh-pages | ||
path: gh-pages | ||
- name: Publish to github pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
uses: peaceiris/actions-gh-pages@v3.9.3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: _site | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "src/bonsai"] | ||
path = src/bonsai | ||
url = https://github.com/bonsai-rx/bonsai.git | ||
[submodule "docfx-tools"] | ||
path = docfx-tools | ||
url = https://github.com/bonsai-rx/docfx-tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule docfx-tools
added at
164913
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@import "workflow.css"; | ||
|
||
/* ========================================================================== | ||
DESIGN GUIDELINES STYLE | ||
========================================================================== */ | ||
|
||
.do > p::before { | ||
content: "✔️ DO "; | ||
} | ||
|
||
.consider > p::before { | ||
content: "✔️ CONSIDER "; | ||
} | ||
|
||
.avoid > p::before { | ||
content: "❌ AVOID "; | ||
} | ||
|
||
.donot > p::before { | ||
content: "❌ DO NOT "; | ||
} |
Oops, something went wrong.