diff --git a/docs/.vitepress/config/en.ts b/docs/.vitepress/config/en.ts index 7de27ee3c..88d4d505d 100644 --- a/docs/.vitepress/config/en.ts +++ b/docs/.vitepress/config/en.ts @@ -5,6 +5,9 @@ export default defineConfig({ '🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.', lang: 'en-US', themeConfig: { + footer: { + message: 'Released under the MIT License.', + }, nav: [ { link: 'https://github.com/sponsors/hey-api', @@ -100,6 +103,10 @@ export default defineConfig({ link: '/openapi-ts/migrating', text: 'Migrating', }, + { + link: '/license', + text: 'License', + }, { link: '/about', text: 'Philosophy', diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index f1c3597e9..d4d2f94c3 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -78,6 +78,7 @@ iframe { .home-list > ul { align-items: center; + justify-content: center; } .home-list > ul, diff --git a/docs/license.md b/docs/license.md new file mode 100644 index 000000000..0da8b3e32 --- /dev/null +++ b/docs/license.md @@ -0,0 +1,28 @@ +--- +title: License +description: License FAQ. +--- + +# License + +### MIT License + +Copyright (c) Hey API + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.