File tree 7 files changed +2960
-0
lines changed
7 files changed +2960
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build
2
+
3
+ on :
4
+ push :
5
+ branches : [ dev, rel/* ]
6
+ tags : [ '*' ]
7
+ pull_request :
8
+ branches : [ dev, rel/* ]
9
+ workflow_dispatch :
10
+
11
+ permissions :
12
+ contents : read
13
+ pages : write
14
+ id-token : write
15
+
16
+ concurrency :
17
+ group : pages
18
+ cancel-in-progress : false
19
+
20
+ jobs :
21
+ build :
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+ - name : Checkout code
25
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
26
+
27
+ - name : Setup Node
28
+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
29
+ with :
30
+ node-version : 20
31
+ cache : npm
32
+
33
+ - name : Setup GitHub Pages
34
+ uses : actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0
35
+
36
+ - name : Install dependencies
37
+ run : npm ci
38
+
39
+ - name : Build with VitePress
40
+ run : npm run docs:build
41
+
42
+ - name : Publish artifacts
43
+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
44
+ with :
45
+ path : .vitepress/dist
46
+
47
+ deploy :
48
+ runs-on : ubuntu-latest
49
+ needs : build
50
+ environment :
51
+ name : github-pages
52
+ url : https://openiddict.com/
53
+ steps :
54
+ - name : Deploy to GitHub Pages
55
+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
56
+ id : deployment
Original file line number Diff line number Diff line change
1
+ /** /DROP /
2
+ /** /TEMP /
3
+ /** /packages /
4
+ /** /bin /
5
+ /** /obj /
6
+ node_modules
7
+ .vitepress /cache
Original file line number Diff line number Diff line change
1
+ import { defineConfig } from 'vitepress'
2
+
3
+ // https://vitepress.dev/reference/site-config
4
+ export default defineConfig ( {
5
+ title : "OpenIddict" ,
6
+ description : "OpenIddict website" ,
7
+ themeConfig : {
8
+ // https://vitepress.dev/reference/default-theme-config
9
+ nav : [
10
+ { text : 'Home' , link : '/' } ,
11
+ { text : 'Documentation' , link : 'https://documentation.openiddict.com/' } ,
12
+ { text : 'Samples' , link : 'https://github.com/openiddict/openiddict-samples' } ,
13
+ { text : 'Changelog' , link : 'https://github.com/openiddict/openiddict-core/releases' }
14
+ ] ,
15
+
16
+ socialLinks : [
17
+ { icon : 'github' , link : 'https://github.com/openiddict/openiddict-core' }
18
+ ] ,
19
+
20
+ externalLinkIcon : true ,
21
+
22
+ editLink : {
23
+ pattern : 'https://github.com/openiddict/openiddict-website/edit/dev/:path' ,
24
+ text : 'Edit this page on GitHub'
25
+ } ,
26
+
27
+ footer : {
28
+ message : 'Proudly powered by VitePress.'
29
+ }
30
+ }
31
+ } )
Original file line number Diff line number Diff line change
1
+ ---
2
+ # https://vitepress.dev/reference/default-theme-home-page
3
+ layout : home
4
+
5
+ hero :
6
+ name : OpenIddict
7
+ text : Versatile OAuth 2.0/OpenID Connect stack for .NET
8
+ tagline : Free and open source ❤
9
+ image :
10
+ src : /openid.svg
11
+ alt : OpenID Connect logo
12
+ actions :
13
+ - theme : brand
14
+ text : Download from NuGet.org
15
+ link : https://www.nuget.org/profiles/openiddict
16
+
17
+ - theme : alt
18
+ text : Documentation
19
+ link : https://documentation.openiddict.com/
20
+
21
+ features :
22
+ - title : Feature complete
23
+ icon : 📜
24
+ details : |
25
+ To cover most scenarios, OpenIddict offers a server stack, a client stack
26
+ and a validation stack that you can use independently... or together.
27
+
28
+ - title : Usuable in most .NET applications
29
+ icon : 🌐
30
+ details : |
31
+ The server and validation stacks can be used in any ASP.NET Core 2.1+
32
+ or ASP.NET 4.6.1+ application while the client stack can also be used in
33
+ Windows, macOS or Linux desktop applications (and even Android or iOS apps!)
34
+
35
+ - title : Released under a permissive license
36
+ icon : 🆓
37
+ details : |
38
+ OpenIddict is released under the Apache 2.0 license, which means
39
+ it's open source and free to use, even in commercial projects.
40
+ ---
41
+
You can’t perform that action at this time.
0 commit comments