-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add github pages build. (#37)
- Loading branch information
1 parent
8f867a9
commit f3447a2
Showing
9 changed files
with
135 additions
and
2 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,23 @@ | ||
name: Build Documentation | ||
description: 'Build Documentation.' | ||
inputs: | ||
workspace_path: | ||
description: 'Path to the workspace.' | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup dotnet build tools | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 6.0 | ||
- name: Install docfx | ||
shell: bash | ||
run: dotnet tool update -g docfx | ||
|
||
- name: Build docs | ||
shell: bash | ||
run: | | ||
docfx metadata | ||
docfx build |
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 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,23 @@ | ||
on: | ||
workflow_dispatch: | ||
|
||
name: Manual Publish Docs | ||
jobs: | ||
build-publish: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # Needed in this case to write github pages. | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- id: build | ||
name: Build and Test SDK | ||
uses: ./.github/actions/ci | ||
with: | ||
project_file: ${{ inputs.project_file }} | ||
test_project_file: ${{ inputs.test_project_file }} | ||
|
||
- uses: launchdarkly/gh-actions/actions/publish-pages@publish-pages-v1.0.1 | ||
name: 'Publish to Github pages' | ||
with: | ||
docs_path: docs | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,3 +182,7 @@ project.lock.json | |
# JetBrains IDEs | ||
.idea/ | ||
|
||
# Generated documentaion | ||
docs/ | ||
api/ | ||
|
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,45 @@ | ||
{ | ||
"metadata": [ | ||
{ | ||
"src": [ | ||
{ | ||
"src": "./src", | ||
"files": [ | ||
"**/*.csproj", | ||
"**/bin/**/**LaunchDarkly**.dll" | ||
] | ||
} | ||
], | ||
"dest": "./api" | ||
} | ||
], | ||
"build": { | ||
"content": [ | ||
{ | ||
"files": [ | ||
"**/*.{md,yml}" | ||
], | ||
"exclude": [ | ||
"docs/**" | ||
] | ||
} | ||
], | ||
"resource": [ | ||
{ | ||
"files": [ | ||
"images/**" | ||
] | ||
} | ||
], | ||
"output": "docs", | ||
"template": [ | ||
"default" | ||
], | ||
"globalMetadata": { | ||
"_appName": "LaunchDarkly OpenFeature provider for the Server-Side SDK for .NET", | ||
"_appTitle": "LaunchDarkly OpenFeature provider for the Server-Side SDK for .NET", | ||
"_enableSearch": true, | ||
"pdf": false | ||
} | ||
} | ||
} |
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,18 @@ | ||
--- | ||
_layout: landing | ||
--- | ||
|
||
# LaunchDarkly OpenFeature provider for the Server-Side SDK for .NET | ||
|
||
For first time users, visit our [LaunchDarkly Docs](https://docs.launchdarkly.com/sdk/server-side/dotnet) page. | ||
Within these docs, the <xref:LaunchDarkly.OpenFeature.ServerProvider.Provider> is a good starting point. | ||
|
||
The [README](https://github.com/launchdarkly/openfeature-dotnet-server/tree/main/README.md) contains several examples which may be of use. | ||
|
||
For source code, see the [GitHub repository](https://github.com/launchdarkly/openfeature-dotnet-server). | ||
The [developer notes](https://github.com/launchdarkly/openfeature-dotnet-server/blob/main/CONTRIBUTING.md) there include links | ||
to other repositories used in the SDK. | ||
|
||
# Namespaces | ||
|
||
<xref:LaunchDarkly.OpenFeature.ServerProvider>: Contains the provider implementation and supporting implementation. |
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,2 @@ | ||
- name: API Documentation | ||
href: api/ |