@devilsdev/rag-pipeline-utils 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/release-template.md +20 -0
- package/.github/workflows/ci.yml +12 -23
- package/.github/workflows/docs-ci.yml +44 -0
- package/.github/workflows/docs-deploy.yml +26 -16
- package/.github/workflows/publish-release-blog.yml +37 -17
- package/CHANGELOG.md +16 -1
- package/codecov +0 -0
- package/codecov.SHA256SUM +1 -0
- package/codecov.SHA256SUM.sig +16 -0
- package/docs-site/blog/2025-04-18-architecture-overview.md +8 -26
- package/docs-site/blog/{2025-04-17-release-v2.0.2.md → 2025-04-18-release-v2.1.1.md} +4 -4
- package/docs-site/blog/2025-04-19-prompt-engineering-best-practices.md +8 -23
- package/docs-site/blog/2025-04-20-image-showcase.md +6 -15
- package/docs-site/blog/2025-04-20-release-2.1.1.md +21 -0
- package/docs-site/blog/tags.yml +44 -14
- package/docs-site/docs/intro.mdx +6 -0
- package/docs-site/docusaurus.config.js +35 -18
- package/docs-site/package-lock.json +234 -719
- package/docs-site/package.json +4 -8
- package/docs-site/src/components/HomepageFeatures/index.js +34 -37
- package/docs-site/src/components/HomepageFeatures/index.module.css +57 -0
- package/docs-site/src/components/HomepageHeader/index.js +46 -0
- package/docs-site/src/components/HomepageHeader/index.module.css +77 -0
- package/docs-site/src/css/custom.css +101 -78
- package/docs-site/src/pages/index.js +11 -28
- package/docs-site/static/img/logo.png +0 -0
- package/docs-site/static/img/logo.svg +5 -1538
- package/jest.config.js +4 -1
- package/package.json +12 -6
- package/scripts/fix-mdx-blog-imports.js +50 -0
- package/scripts/fix-mdx-image-imports.js +27 -0
- package/scripts/generate-release-note.js +40 -0
- package/.github/workflows/storybook-deploy.yml +0 -33
- package/.storybook/main.js +0 -20
- package/.storybook/preview.js +0 -13
- package/docs-site/.plaiceholder-cache/img_hero.jpg.json +0 -1
- package/docs-site/.plaiceholder-cache/img_logo.png.json +0 -1
- package/docs-site/.storybook/preview.js +0 -8
- package/docs-site/blog/2021-08-26-welcome/docusaurus-plushie-banner.jpeg +0 -0
- package/docs-site/blog/2021-08-26-welcome/index.md +0 -28
- package/docs-site/blog/2025-04-17-release-2.0.md +0 -67
- package/docs-site/blog/2025-04-18-release-2.0.0.md +0 -21
- package/docs-site/docs/components/BlogCardExample.mdx +0 -7
- package/docs-site/scripts/generate-placeholders.js +0 -17
- package/docs-site/scripts/watch-images.js +0 -40
- package/docs-site/sidebar-snippet.txt +0 -5
- package/docs-site/src/components/BlogCard.jsx +0 -31
- package/docs-site/src/components/BlogCard.stories.jsx +0 -34
- package/docs-site/src/components/BlogImage.jsx +0 -58
- package/docs-site/src/components/BlogImage.stories.jsx +0 -20
- package/docs-site/src/components/HomepageFeatures/styles.module.css +0 -58
- package/docs-site/static/img/favicon.ico +0 -0
- package/docs-site/utils/image.js +0 -19
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Version: 0.2.0
|
|
3
|
-
* Path: /docs-site/src/components/HomepageFeatures/styles.module.css
|
|
4
|
-
* Description: Modular styles for homepage feature section
|
|
5
|
-
* Author: Ali Kahwaji
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
.features {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: row;
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
justify-content: space-around;
|
|
13
|
-
flex-wrap: wrap;
|
|
14
|
-
padding: 3rem 1rem;
|
|
15
|
-
gap: 2rem;
|
|
16
|
-
width: 100%;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.feature {
|
|
20
|
-
flex: 1 1 300px;
|
|
21
|
-
max-width: 400px;
|
|
22
|
-
padding: 1rem;
|
|
23
|
-
text-align: center;
|
|
24
|
-
border: 1px solid #eaeaea;
|
|
25
|
-
border-radius: 8px;
|
|
26
|
-
transition: box-shadow 0.3s ease;
|
|
27
|
-
background-color: #f9f9f9;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.feature:hover {
|
|
31
|
-
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.featureSvg {
|
|
35
|
-
height: 180px;
|
|
36
|
-
width: 180px;
|
|
37
|
-
margin-bottom: 1rem;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.featureTitle {
|
|
41
|
-
font-size: 1.25rem;
|
|
42
|
-
font-weight: 600;
|
|
43
|
-
margin-bottom: 0.5rem;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.featureText {
|
|
47
|
-
font-size: 1rem;
|
|
48
|
-
color: #666;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
[data-theme='dark'] .feature {
|
|
52
|
-
background-color: #1c1e21;
|
|
53
|
-
border-color: #333;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
[data-theme='dark'] .featureText {
|
|
57
|
-
color: #ccc;
|
|
58
|
-
}
|
|
Binary file
|
package/docs-site/utils/image.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// docs-site/utils/image.js
|
|
2
|
-
import { getPlaiceholder } from 'plaiceholder';
|
|
3
|
-
import fs from 'fs/promises';
|
|
4
|
-
import path from 'path';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Generates base64 placeholder and img props from local image file
|
|
8
|
-
* @param {string} imagePath - Relative path to image in /static/img
|
|
9
|
-
*/
|
|
10
|
-
export async function generatePlaceholder(imagePath) {
|
|
11
|
-
const fullPath = path.join(process.cwd(), 'docs-site', 'static', imagePath);
|
|
12
|
-
const buffer = await fs.readFile(fullPath);
|
|
13
|
-
const { base64, img } = await getPlaiceholder(buffer);
|
|
14
|
-
|
|
15
|
-
return {
|
|
16
|
-
...img,
|
|
17
|
-
blurDataURL: base64,
|
|
18
|
-
};
|
|
19
|
-
}
|