Skip to content

Commit 85181e0

Browse files
authored
Fix docs (#38)
* fix(markdown): remove lint errors and fix AI hallucinations * fix(docs): add copyright headers for slsdna
1 parent baa915f commit 85181e0

22 files changed

+144
-73
lines changed

AmazonQ.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

LICENSE

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
1-
Copyright 2025 Michael Walmsley
1+
MIT License
22

3-
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:
3+
Copyright (c) 2025 Michael Walmsley, ServerlessDNA.com
44

5-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
611

7-
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.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,6 @@ The output is a bundled file which enables Node installed in windows to run the
120120

121121
## License
122122

123-
MIT
123+
MIT License
124+
125+
Copyright (c) 2025 Michael Walmsley, ServerlessDNA.com

src/config/cache.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (c) 2025 Michael Walmsley, ServerlessDNA.com
3+
* Licensed under the MIT License.
4+
*/
5+
16
/**
27
* Cache configuration for the fetch service
38
*/

src/config/web.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (c) 2025 Michael Walmsley, ServerlessDNA.com
3+
* Licensed under the MIT License.
4+
*/
5+
16
/**
27
* The Powertools config
38
*/

src/docFetcher.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (c) 2025 Michael Walmsley, ServerlessDNA.com
3+
* Licensed under the MIT License.
4+
*/
5+
16
import { createHash } from 'crypto';
27
import * as path from 'path';
38

src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (c) 2025 Michael Walmsley, ServerlessDNA.com
3+
* Licensed under the MIT License.
4+
*/
5+
16
import { logger } from "./services/logger/index";
27
import { fetchDocPage } from "./docFetcher";
38
import { searchDocuments, SearchIndexFactory } from "./searchIndex";

src/searchIndex.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (c) 2025 Michael Walmsley, ServerlessDNA.com
3+
* Licensed under the MIT License.
4+
*/
5+
16
import { fetchService } from './services/fetch';
27
import { ContentType } from './services/fetch/types';
38
import { logger } from './services/logger';

src/services/fetch/cacheManager.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (c) 2025 Michael Walmsley, ServerlessDNA.com
3+
* Licensed under the MIT License.
4+
*/
5+
16
/**
27
* Cache Manager for handling file system operations related to caching
38
*/

src/services/fetch/fetch.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (c) 2025 Michael Walmsley, ServerlessDNA.com
3+
* Licensed under the MIT License.
4+
*/
5+
16
/**
27
* Fetch Service wrapped around "make-fetch-happen" module.
38
*

0 commit comments

Comments
 (0)