-
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.
Set up the initial project structure
- Loading branch information
0 parents
commit a09e490
Showing
7 changed files
with
2,963 additions
and
0 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,59 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ dev, rel/* ] | ||
tags: [ '*' ] | ||
pull_request: | ||
branches: [ dev, rel/* ] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: pages | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | ||
with: | ||
node-version: 20 | ||
cache: npm | ||
|
||
- name: Setup GitHub Pages | ||
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0 | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build with VitePress | ||
run: npm run docs:build | ||
|
||
- name: Publish artifacts | ||
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 | ||
with: | ||
path: .vitepress/dist | ||
|
||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Setup GitHub Pages | ||
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0 | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 | ||
id: deployment |
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,7 @@ | ||
/**/DROP/ | ||
/**/TEMP/ | ||
/**/packages/ | ||
/**/bin/ | ||
/**/obj/ | ||
node_modules | ||
.vitepress/cache |
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,31 @@ | ||
import { defineConfig } from 'vitepress' | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: "OpenIddict", | ||
description: "OpenIddict website", | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
nav: [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Documentation', link: 'https://documentation.openiddict.com/' }, | ||
{ text: 'Samples', link: 'https://github.com/openiddict/openiddict-samples' }, | ||
{ text: 'Changelog', link: 'https://github.com/openiddict/openiddict-core/releases' } | ||
], | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/openiddict/openiddict-core' } | ||
], | ||
|
||
externalLinkIcon: true, | ||
|
||
editLink: { | ||
pattern: 'https://github.com/openiddict/openiddict-website/edit/dev/:path', | ||
text: 'Edit this page on GitHub' | ||
}, | ||
|
||
footer: { | ||
message: 'Proudly powered by VitePress.' | ||
} | ||
} | ||
}) |
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,41 @@ | ||
--- | ||
# https://vitepress.dev/reference/default-theme-home-page | ||
layout: home | ||
|
||
hero: | ||
name: OpenIddict | ||
text: Versatile OAuth 2.0/OpenID Connect stack for .NET | ||
tagline: Free and open source ❤ | ||
image: | ||
src: /openid.svg | ||
alt: OpenID Connect logo | ||
actions: | ||
- theme: brand | ||
text: Download from NuGet.org | ||
link: https://www.nuget.org/profiles/openiddict | ||
|
||
- theme: alt | ||
text: Documentation | ||
link: https://documentation.openiddict.com/ | ||
|
||
features: | ||
- title: Feature complete | ||
icon: 📜 | ||
details: | | ||
To cover most scenarios, OpenIddict offers a server stack, a client stack | ||
and a validation stack that you can use independently... or together. | ||
- title: Usuable in most .NET applications | ||
icon: 🌐 | ||
details: | | ||
The server and validation stacks can be used in any ASP.NET Core 2.1+ | ||
or ASP.NET 4.6.1+ application while the client stack can also be used in | ||
Windows, macOS or Linux desktop applications (and even Android or iOS apps!) | ||
- title: Released under a permissive license | ||
icon: 🆓 | ||
details: | | ||
OpenIddict is released under the Apache 2.0 license, which means | ||
it's open source and free to use, even in commercial projects. | ||
--- | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.