Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add missing license headers #74

Merged
merged 1 commit into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

github: [KindSpells, castarco]
open_collective: kindspells-labs
3 changes: 0 additions & 3 deletions .moon/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
# https://moonrepo.dev/docs/config/workspace
$schema: 'https://moonrepo.dev/schemas/workspace.json'

# versionConstraint: '>=1.0.0'
# extends: './shared/workspace.yml'

projects:
globs:
- '@kindspells/astro-shield/e2e/fixtures/*'
Expand Down
21 changes: 21 additions & 0 deletions docs/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 KindSpells Labs S.L.

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.
5 changes: 5 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.

SPDX-License-Identifier: CC-BY-4.0
-->
# Astro-Shield Documentation Website

Just a documentation website.
6 changes: 6 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
*
* SPDX-License-Identifier: MIT
*/

import { defineConfig, passthroughImageService } from 'astro/config'
import starlight from '@astrojs/starlight'
import aws from 'astro-sst'
Expand Down
6 changes: 6 additions & 0 deletions docs/src/content/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
*
* SPDX-License-Identifier: MIT
*/

import { defineCollection } from 'astro:content';
import { docsSchema } from '@astrojs/starlight/schema';

Expand Down
4 changes: 4 additions & 0 deletions docs/src/content/docs/getting-started.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

title: Getting Started
description: Get started protecting your Astro sites with Astro-Shield.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

title: Content-Security-Policy (CSP)
description: How to configure the Content-Security-Policy headers of your website with Astro-Shield
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

title: SRI for SSR Content
description: How to enable Subresource Integrity (SRI) for your Server-Side-Rendered (SSR) content in Astro.
sidebar:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

title: SRI for Statically Generated Sites
description: How to enable Subresource Integrity (SRI) for your static sites
sidebar:
Expand Down
4 changes: 4 additions & 0 deletions docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

title: Welcome to Astro-Shield
description: Protect your Astro sites with Astro-Shield.
template: splash
Expand Down
4 changes: 4 additions & 0 deletions docs/src/content/docs/other/known-limitations.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

title: Known Limitations
description: Known limitations of the Astro-Shield integration.
---
Expand Down
6 changes: 6 additions & 0 deletions docs/sst.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
/// <reference path="./.sst/platform/config.d.ts" />

/*
* SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
*
* SPDX-License-Identifier: MIT
*/

export default $config({
app(input) {
return {
Expand Down
5 changes: 5 additions & 0 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
/*
* SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
*
* SPDX-License-Identifier: MIT
*/
"extends": "astro/tsconfigs/strictest"
}
4 changes: 4 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

packages:
- 'docs'
- '@kindspells/*'
Expand Down
Loading