@bluedynamics/cdk8s-plone 0.3.1 → 0.3.3
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/.jsii +2 -2
- package/lib/config/plone-vinyl-backend-response.vcl +25 -0
- package/lib/config/plone-vinyl-recv.vcl +18 -0
- package/{examples/volto → lib}/config/varnish.tpl.vcl +1 -1
- package/lib/httpcache.js +1 -1
- package/lib/plone.js +1 -1
- package/lib/vinylcache.js +1 -1
- package/package.json +3 -2
- package/.claude/claude.md +0 -39
- package/.claude/settings.local.json +0 -31
- package/CLAUDE.md +0 -352
- package/docs/superpowers/plans/2026-06-12-configurable-service-spec.md +0 -608
- package/docs/superpowers/specs/2026-06-12-configurable-service-spec-design.md +0 -192
- package/documentation/Makefile +0 -357
- package/documentation/README.md +0 -284
- package/documentation/mx.ini +0 -3
- package/documentation/sources/_static/logo.svg +0 -79
- package/documentation/sources/conf.py +0 -145
- package/documentation/sources/explanation/architecture.md +0 -336
- package/documentation/sources/explanation/cdk8s-workflow.md +0 -66
- package/documentation/sources/explanation/features.md +0 -374
- package/documentation/sources/explanation/index.md +0 -34
- package/documentation/sources/how-to/backup-and-restore.md +0 -107
- package/documentation/sources/how-to/configure-env-and-secrets.md +0 -184
- package/documentation/sources/how-to/configure-ingress-tls.md +0 -108
- package/documentation/sources/how-to/configure-security-context.md +0 -143
- package/documentation/sources/how-to/deploy-blicca.md +0 -334
- package/documentation/sources/how-to/deploy-volto.md +0 -324
- package/documentation/sources/how-to/deploy-with-httpcache.md +0 -224
- package/documentation/sources/how-to/deploy-with-vinyl-cache.md +0 -273
- package/documentation/sources/how-to/enable-prometheus-monitoring.md +0 -122
- package/documentation/sources/how-to/index.md +0 -85
- package/documentation/sources/how-to/scale-and-high-availability.md +0 -122
- package/documentation/sources/how-to/schedule-pods.md +0 -145
- package/documentation/sources/how-to/setup-prerequisites.md +0 -363
- package/documentation/sources/how-to/troubleshooting.md +0 -113
- package/documentation/sources/how-to/upgrade-and-rollout.md +0 -140
- package/documentation/sources/index.md +0 -109
- package/documentation/sources/reference/api/index.md +0 -40
- package/documentation/sources/reference/configuration-options.md +0 -352
- package/documentation/sources/reference/index.md +0 -41
- package/documentation/sources/tutorials/01-quick-start.md +0 -165
- package/documentation/sources/tutorials/index.md +0 -53
- package/examples/blicca/.env.example +0 -20
- package/examples/blicca/README.md +0 -339
- package/examples/blicca/__snapshots__/main.test.ts.snap +0 -1035
- package/examples/blicca/cdk8s.yaml +0 -6
- package/examples/blicca/config/varnish.tpl.vcl +0 -217
- package/examples/blicca/ingress.ts +0 -217
- package/examples/blicca/jest.config.js +0 -11
- package/examples/blicca/main.test.ts +0 -18
- package/examples/blicca/main.ts +0 -101
- package/examples/blicca/package.json +0 -36
- package/examples/blicca/postgres.cloudnativepg.ts +0 -63
- package/examples/blicca/postgres.plain.ts +0 -115
- package/examples/blicca/tsconfig.json +0 -33
- package/examples/volto/.env.example +0 -21
- package/examples/volto/README.md +0 -292
- package/examples/volto/__snapshots__/main.test.ts.snap +0 -1206
- package/examples/volto/cdk8s.yaml +0 -6
- package/examples/volto/ingress.ts +0 -229
- package/examples/volto/jest.config.js +0 -11
- package/examples/volto/main.test.ts +0 -18
- package/examples/volto/main.ts +0 -105
- package/examples/volto/package.json +0 -36
- package/examples/volto/postgres.cloudnativepg.ts +0 -63
- package/examples/volto/postgres.plain.ts +0 -115
- package/examples/volto/tsconfig.json +0 -33
package/documentation/README.md
DELETED
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
# cdk8s-plone Documentation
|
|
2
|
-
|
|
3
|
-
This directory contains the complete documentation for cdk8s-plone, built using [Sphinx](https://www.sphinx-doc.org/) with [MyST Parser](https://myst-parser.readthedocs.io/) and following the [Diátaxis framework](https://diataxis.fr/).
|
|
4
|
-
|
|
5
|
-
## 📚 View Documentation
|
|
6
|
-
|
|
7
|
-
**Published documentation:** https://bluedynamics.github.io/cdk8s-plone/
|
|
8
|
-
|
|
9
|
-
## 🏗️ Building Documentation Locally
|
|
10
|
-
|
|
11
|
-
### Prerequisites
|
|
12
|
-
|
|
13
|
-
- Python 3.13+ (or Python 3.9+ with manual configuration)
|
|
14
|
-
- `make` command
|
|
15
|
-
- `uv` (fast Python package installer) - optional but recommended
|
|
16
|
-
|
|
17
|
-
### Quick Start
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
# Navigate to documentation directory
|
|
21
|
-
cd documentation
|
|
22
|
-
|
|
23
|
-
# Build HTML documentation
|
|
24
|
-
make docs
|
|
25
|
-
|
|
26
|
-
# Open in browser
|
|
27
|
-
open html/index.html # macOS
|
|
28
|
-
xdg-open html/index.html # Linux
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
The first build will:
|
|
32
|
-
1. Create a Python virtual environment (.venv)
|
|
33
|
-
2. Install Sphinx and required extensions
|
|
34
|
-
3. Generate HTML documentation
|
|
35
|
-
|
|
36
|
-
Subsequent builds will reuse the virtual environment and be much faster.
|
|
37
|
-
|
|
38
|
-
### Development with Live Reload
|
|
39
|
-
|
|
40
|
-
For documentation writing, use the live-reload server:
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
cd documentation
|
|
44
|
-
make docs-live
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
This starts a development server at http://localhost:8000 that automatically rebuilds and refreshes when you save changes.
|
|
48
|
-
|
|
49
|
-
### Clean Build
|
|
50
|
-
|
|
51
|
-
To remove generated files and rebuild from scratch:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
make clean
|
|
55
|
-
make docs
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## 📝 Documentation Structure
|
|
59
|
-
|
|
60
|
-
The documentation follows the [Diátaxis framework](https://diataxis.fr/), organizing content into four categories:
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
sources/
|
|
64
|
-
├── index.md # Main landing page
|
|
65
|
-
├── tutorials/ # Learning-oriented (step-by-step lessons)
|
|
66
|
-
│ └── index.md
|
|
67
|
-
├── how-to/ # Goal-oriented (solve specific problems)
|
|
68
|
-
│ └── index.md
|
|
69
|
-
├── reference/ # Information-oriented (technical specs)
|
|
70
|
-
│ ├── index.md
|
|
71
|
-
│ └── api/ # API documentation
|
|
72
|
-
├── explanation/ # Understanding-oriented (concepts)
|
|
73
|
-
│ └── index.md
|
|
74
|
-
└── _static/ # Static assets (CSS, images, fonts)
|
|
75
|
-
├── brand-theme.css # Cyberpunk theme styling
|
|
76
|
-
├── custom-icons.css # Icon styling
|
|
77
|
-
├── logo-fix.js # Logo link fixes
|
|
78
|
-
├── plone-logo.svg # Project logo (placeholder)
|
|
79
|
-
├── kup6s-icon-*.svg # Category icons
|
|
80
|
-
└── fonts/ # Web fonts (Rajdhani, Orbitron, Hack)
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### Content Guidelines
|
|
84
|
-
|
|
85
|
-
#### Tutorials (Learning-Oriented)
|
|
86
|
-
- Step-by-step lessons for building skills
|
|
87
|
-
- Complete, reproducible examples
|
|
88
|
-
- Learning goals clearly stated
|
|
89
|
-
- Assumes beginner knowledge
|
|
90
|
-
|
|
91
|
-
#### How-To Guides (Goal-Oriented)
|
|
92
|
-
- Solutions to specific problems
|
|
93
|
-
- Assumes some knowledge
|
|
94
|
-
- Focus on accomplishing a task
|
|
95
|
-
- Recipe-style format
|
|
96
|
-
|
|
97
|
-
#### Reference (Information-Oriented)
|
|
98
|
-
- Technical specifications
|
|
99
|
-
- API documentation
|
|
100
|
-
- Configuration options
|
|
101
|
-
- Dry, factual descriptions
|
|
102
|
-
|
|
103
|
-
#### Explanation (Understanding-Oriented)
|
|
104
|
-
- Conceptual discussion
|
|
105
|
-
- Architecture and design decisions
|
|
106
|
-
- The "why" behind choices
|
|
107
|
-
- Broaden understanding
|
|
108
|
-
|
|
109
|
-
## 🎨 Theme and Styling
|
|
110
|
-
|
|
111
|
-
The documentation uses:
|
|
112
|
-
- **Theme:** [Shibuya](https://shibuya.lepture.com/) - Modern, responsive Sphinx theme
|
|
113
|
-
- **Parser:** [MyST](https://myst-parser.readthedocs.io/) - Markdown with extensions
|
|
114
|
-
- **Style:** Cyberpunk-inspired (cyan #00d4ff, dark background)
|
|
115
|
-
- **Fonts:**
|
|
116
|
-
- Rajdhani (headings) - geometric, futuristic
|
|
117
|
-
- Hack (body/code) - monospace, highly legible
|
|
118
|
-
- Orbitron (special emphasis) - geometric, bold
|
|
119
|
-
|
|
120
|
-
## 🔧 Configuration
|
|
121
|
-
|
|
122
|
-
Key configuration files:
|
|
123
|
-
|
|
124
|
-
- **`Makefile`** - Build automation (generated by mxmake)
|
|
125
|
-
- **`mx.ini`** - mxmake settings
|
|
126
|
-
- **`sources/conf.py`** - Sphinx configuration
|
|
127
|
-
- **`.gitignore`** - Excludes build artifacts
|
|
128
|
-
|
|
129
|
-
### Sphinx Extensions
|
|
130
|
-
|
|
131
|
-
- `myst_parser` - Markdown support
|
|
132
|
-
- `sphinxcontrib.mermaid` - Diagram support (```mermaid)
|
|
133
|
-
- `sphinx_design` - Grid and card directives
|
|
134
|
-
- `sphinx_copybutton` - Copy button for code blocks
|
|
135
|
-
|
|
136
|
-
### MyST Extensions
|
|
137
|
-
|
|
138
|
-
- `deflist` - Definition lists
|
|
139
|
-
- `colon_fence` - ::: directive syntax for grids/cards
|
|
140
|
-
- Mermaid fence as directive
|
|
141
|
-
|
|
142
|
-
## 📖 Writing Documentation
|
|
143
|
-
|
|
144
|
-
### Markdown Format
|
|
145
|
-
|
|
146
|
-
All documentation is written in Markdown with MyST extensions.
|
|
147
|
-
|
|
148
|
-
**Example:**
|
|
149
|
-
|
|
150
|
-
```markdown
|
|
151
|
-
# Page Title
|
|
152
|
-
|
|
153
|
-
## Section
|
|
154
|
-
|
|
155
|
-
Regular Markdown content with **bold**, *italic*, and `code`.
|
|
156
|
-
|
|
157
|
-
### Code Blocks
|
|
158
|
-
|
|
159
|
-
\```python
|
|
160
|
-
import example
|
|
161
|
-
print("Hello, world!")
|
|
162
|
-
\```
|
|
163
|
-
|
|
164
|
-
### Grid Cards (Diátaxis Landing Pages)
|
|
165
|
-
|
|
166
|
-
::::{grid} 2
|
|
167
|
-
:gutter: 3
|
|
168
|
-
|
|
169
|
-
:::{grid-item-card} Card Title
|
|
170
|
-
:img-top: _static/icon.svg
|
|
171
|
-
:link: path/to/page
|
|
172
|
-
:link-type: doc
|
|
173
|
-
|
|
174
|
-
Card description
|
|
175
|
-
:::
|
|
176
|
-
|
|
177
|
-
::::
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
### Internal Links
|
|
181
|
-
|
|
182
|
-
```markdown
|
|
183
|
-
[Link text](path/to/file.md)
|
|
184
|
-
[Link to section](file.md#section-heading)
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
### Images
|
|
188
|
-
|
|
189
|
-
```markdown
|
|
190
|
-

|
|
191
|
-
|
|
192
|
-
# Or with MyST directive:
|
|
193
|
-
\```{image} path/to/image.png
|
|
194
|
-
:width: 200px
|
|
195
|
-
:align: center
|
|
196
|
-
\```
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
### Tables
|
|
200
|
-
|
|
201
|
-
```markdown
|
|
202
|
-
| Column 1 | Column 2 |
|
|
203
|
-
|----------|----------|
|
|
204
|
-
| Value 1 | Value 2 |
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
### Diagrams
|
|
208
|
-
|
|
209
|
-
Use Mermaid for diagrams:
|
|
210
|
-
|
|
211
|
-
````markdown
|
|
212
|
-
```mermaid
|
|
213
|
-
graph LR
|
|
214
|
-
A[Start] --> B[Process]
|
|
215
|
-
B --> C[End]
|
|
216
|
-
```
|
|
217
|
-
````
|
|
218
|
-
|
|
219
|
-
## 🚀 Deployment
|
|
220
|
-
|
|
221
|
-
Documentation will be automatically deployed to GitHub Pages via GitHub Actions:
|
|
222
|
-
|
|
223
|
-
1. **Trigger:** Push to `main` branch or manual workflow dispatch
|
|
224
|
-
2. **Build:** Ubuntu runner builds documentation with Sphinx
|
|
225
|
-
3. **Deploy:** Artifacts uploaded to GitHub Pages
|
|
226
|
-
4. **URL:** https://bluedynamics.github.io/cdk8s-plone/
|
|
227
|
-
|
|
228
|
-
## 📦 Dependencies
|
|
229
|
-
|
|
230
|
-
Documentation dependencies (installed automatically by `make docs`):
|
|
231
|
-
|
|
232
|
-
- sphinx - Documentation generator
|
|
233
|
-
- sphinx-autobuild - Live-reload server
|
|
234
|
-
- myst_parser - Markdown parser
|
|
235
|
-
- sphinxcontrib.mermaid - Mermaid diagram support
|
|
236
|
-
- shibuya - Sphinx theme
|
|
237
|
-
- sphinx-design - Grid/card directives
|
|
238
|
-
- sphinx-copybutton - Code block copy button
|
|
239
|
-
|
|
240
|
-
## 🤝 Contributing
|
|
241
|
-
|
|
242
|
-
When contributing to documentation:
|
|
243
|
-
|
|
244
|
-
1. **Follow Diátaxis categories** - Put content in the right section
|
|
245
|
-
2. **Use clear headings** - H1 for page title, H2 for sections
|
|
246
|
-
3. **Test locally** - Always build and preview before committing
|
|
247
|
-
4. **Check links** - Ensure all internal links work
|
|
248
|
-
5. **Use consistent style** - Follow existing formatting patterns
|
|
249
|
-
6. **Add images to _static/** - Keep static assets organized
|
|
250
|
-
|
|
251
|
-
## 🔍 Troubleshooting
|
|
252
|
-
|
|
253
|
-
### Build Errors
|
|
254
|
-
|
|
255
|
-
**Error: `sphinx-build: command not found`**
|
|
256
|
-
- Solution: Run `make clean` then `make docs` to reinstall dependencies
|
|
257
|
-
|
|
258
|
-
**Error: Unknown directive type "grid"**
|
|
259
|
-
- Solution: Ensure `sphinx_design` is installed: `pip install sphinx-design`
|
|
260
|
-
|
|
261
|
-
**Error: "Cannot find reference" warnings**
|
|
262
|
-
- Solution: Check that linked files exist and paths are correct
|
|
263
|
-
|
|
264
|
-
### Theme Issues
|
|
265
|
-
|
|
266
|
-
**Fonts not loading**
|
|
267
|
-
- Check that font files exist in `_static/fonts/`
|
|
268
|
-
- Verify paths in `brand-theme.css`
|
|
269
|
-
|
|
270
|
-
**Logo not displaying**
|
|
271
|
-
- Ensure `_static/plone-logo.svg` exists
|
|
272
|
-
- Check `html_logo` setting in `conf.py`
|
|
273
|
-
|
|
274
|
-
## 📚 Resources
|
|
275
|
-
|
|
276
|
-
- [Diátaxis Framework](https://diataxis.fr/) - Documentation organization philosophy
|
|
277
|
-
- [MyST Parser Documentation](https://myst-parser.readthedocs.io/) - Markdown syntax reference
|
|
278
|
-
- [Sphinx Documentation](https://www.sphinx-doc.org/) - Sphinx features and configuration
|
|
279
|
-
- [Shibuya Theme](https://shibuya.lepture.com/) - Theme documentation
|
|
280
|
-
- [Mermaid Diagrams](https://mermaid.js.org/) - Diagram syntax
|
|
281
|
-
|
|
282
|
-
---
|
|
283
|
-
|
|
284
|
-
**Questions?** Open an issue on GitHub or ask in the project discussions.
|
package/documentation/mx.ini
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g transform="translate(50, 50)">
|
|
3
|
-
<!-- Scanlines (CRT effect - reduced) -->
|
|
4
|
-
<line x1="-35" y1="-28" x2="35" y2="-28" stroke="#00d4ff" stroke-width="0.3" opacity="0.12"/>
|
|
5
|
-
<line x1="-35" y1="-20" x2="35" y2="-20" stroke="#00d4ff" stroke-width="0.3" opacity="0.12"/>
|
|
6
|
-
<line x1="-35" y1="-12" x2="35" y2="-12" stroke="#00d4ff" stroke-width="0.3" opacity="0.12"/>
|
|
7
|
-
<line x1="-35" y1="-4" x2="35" y2="-4" stroke="#00d4ff" stroke-width="0.3" opacity="0.12"/>
|
|
8
|
-
<line x1="-35" y1="4" x2="35" y2="4" stroke="#00d4ff" stroke-width="0.3" opacity="0.12"/>
|
|
9
|
-
<line x1="-35" y1="12" x2="35" y2="12" stroke="#00d4ff" stroke-width="0.3" opacity="0.12"/>
|
|
10
|
-
<line x1="-35" y1="20" x2="35" y2="20" stroke="#00d4ff" stroke-width="0.3" opacity="0.12"/>
|
|
11
|
-
<line x1="-35" y1="28" x2="35" y2="28" stroke="#00d4ff" stroke-width="0.3" opacity="0.12"/>
|
|
12
|
-
|
|
13
|
-
<!-- Corner brackets -->
|
|
14
|
-
<path d="M -35,-35 L -30,-35 L -30,-30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
15
|
-
<path d="M -35,35 L -30,35 L -30,30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
16
|
-
<path d="M 35,-35 L 30,-35 L 30,-30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
17
|
-
<path d="M 35,35 L 30,35 L 30,30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
18
|
-
|
|
19
|
-
<!-- Glitch lines (digital corruption effect - subtle) -->
|
|
20
|
-
<!-- Top left glitches -->
|
|
21
|
-
<line x1="-33" y1="-36" x2="-30" y2="-36" stroke="#ff00ff" stroke-width="1" opacity="0.3"/>
|
|
22
|
-
<!-- Top right glitches -->
|
|
23
|
-
<line x1="30" y1="-36" x2="33" y2="-36" stroke="#00d4ff" stroke-width="1" opacity="0.3"/>
|
|
24
|
-
<!-- Bottom left glitches -->
|
|
25
|
-
<line x1="-33" y1="36" x2="-30" y2="36" stroke="#00d4ff" stroke-width="1" opacity="0.3"/>
|
|
26
|
-
<!-- Bottom right glitches -->
|
|
27
|
-
<line x1="30" y1="36" x2="33" y2="36" stroke="#ff00ff" stroke-width="1" opacity="0.3"/>
|
|
28
|
-
|
|
29
|
-
<line x1="-25" y1="-15" x2="25" y2="-15" stroke="#00d4ff" stroke-width="1" opacity="0.4"/>
|
|
30
|
-
<line x1="-25" y1="15" x2="25" y2="15" stroke="#ff00ff" stroke-width="1" opacity="0.4"/>
|
|
31
|
-
|
|
32
|
-
<!-- Plone circular device with 4 dots pattern -->
|
|
33
|
-
<!-- Outer circle (centered) -->
|
|
34
|
-
<circle cx="0" cy="0" r="10" fill="none" stroke="#00d4ff" stroke-width="2.5"/>
|
|
35
|
-
|
|
36
|
-
<!-- Glitch circles (offset duplicates for digital corruption - subtle) -->
|
|
37
|
-
<circle cx="0.5" cy="0" r="10" fill="none" stroke="#ff00ff" stroke-width="0.8" opacity="0.15"/>
|
|
38
|
-
<circle cx="-0.3" cy="0.2" r="10" fill="none" stroke="#00d4ff" stroke-width="0.6" opacity="0.1"/>
|
|
39
|
-
|
|
40
|
-
<!-- Inner circle (subtle, magenta) -->
|
|
41
|
-
<circle cx="0" cy="0" r="8.5" fill="none" stroke="#ff00ff" stroke-width="1" opacity="0.3"/>
|
|
42
|
-
|
|
43
|
-
<!-- The distinctive Plone dot pattern -->
|
|
44
|
-
<!-- 2 dots on the left side (cyan, moved more to center) -->
|
|
45
|
-
<circle cx="-3" cy="-3" r="2" fill="#00d4ff" opacity="0.9"/>
|
|
46
|
-
<circle cx="-3" cy="3" r="2" fill="#00d4ff" opacity="0.9"/>
|
|
47
|
-
|
|
48
|
-
<!-- 1 dot on the right side (cyan) -->
|
|
49
|
-
<circle cx="4" cy="0" r="2" fill="#00d4ff" opacity="0.9"/>
|
|
50
|
-
|
|
51
|
-
<!-- CMS content elements positioned away from corner brackets -->
|
|
52
|
-
<!-- Document icon (top left, moved in from corner) -->
|
|
53
|
-
<rect x="-26" y="-26" width="12" height="16" fill="none" stroke="#ff00ff" stroke-width="1.5" rx="1"/>
|
|
54
|
-
<line x1="-24" y1="-22" x2="-16" y2="-22" stroke="#ff00ff" stroke-width="1" opacity="0.7"/>
|
|
55
|
-
<line x1="-24" y1="-19" x2="-16" y2="-19" stroke="#ff00ff" stroke-width="1" opacity="0.7"/>
|
|
56
|
-
<line x1="-24" y1="-16" x2="-16" y2="-16" stroke="#ff00ff" stroke-width="1" opacity="0.7"/>
|
|
57
|
-
<line x1="-24" y1="-13" x2="-18" y2="-13" stroke="#ff00ff" stroke-width="1" opacity="0.7"/>
|
|
58
|
-
|
|
59
|
-
<!-- Image icon (top right, moved in from corner) -->
|
|
60
|
-
<rect x="14" y="-26" width="12" height="16" fill="none" stroke="#00d4ff" stroke-width="1.5" rx="1"/>
|
|
61
|
-
<circle cx="18" cy="-21" r="2.5" fill="none" stroke="#00d4ff" stroke-width="1" opacity="0.7"/>
|
|
62
|
-
<path d="M 14,-12 L 18,-18 L 22,-15 L 26,-20" fill="none" stroke="#00d4ff" stroke-width="1.2" opacity="0.7"/>
|
|
63
|
-
|
|
64
|
-
<!-- File/Content icon (bottom left, moved in from corner) -->
|
|
65
|
-
<rect x="-26" y="10" width="12" height="16" fill="none" stroke="#00d4ff" stroke-width="1.5" rx="1"/>
|
|
66
|
-
<line x1="-24" y1="14" x2="-16" y2="14" stroke="#00d4ff" stroke-width="1" opacity="0.7"/>
|
|
67
|
-
<line x1="-24" y1="17" x2="-16" y2="17" stroke="#00d4ff" stroke-width="1" opacity="0.7"/>
|
|
68
|
-
<line x1="-24" y1="20" x2="-16" y2="20" stroke="#00d4ff" stroke-width="1" opacity="0.7"/>
|
|
69
|
-
<line x1="-24" y1="23" x2="-18" y2="23" stroke="#00d4ff" stroke-width="1" opacity="0.7"/>
|
|
70
|
-
|
|
71
|
-
<!-- Folder icon (bottom right, moved in from corner) -->
|
|
72
|
-
<path d="M 14,14 L 14,10 L 19,10 L 21,12 L 26,12 L 26,26 L 14,26 Z" fill="none" stroke="#ff00ff" stroke-width="1.5" opacity="0.8"/>
|
|
73
|
-
<line x1="16" y1="16" x2="24" y2="16" stroke="#ff00ff" stroke-width="1" opacity="0.5"/>
|
|
74
|
-
<line x1="16" y1="20" x2="24" y2="20" stroke="#ff00ff" stroke-width="1" opacity="0.5"/>
|
|
75
|
-
|
|
76
|
-
<circle cx="-28" cy="0" r="2" fill="#00d4ff" opacity="0.8"/>
|
|
77
|
-
<circle cx="28" cy="0" r="2" fill="#ff00ff" opacity="0.8"/>
|
|
78
|
-
</g>
|
|
79
|
-
</svg>
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
# Configuration file for the Sphinx documentation builder.
|
|
2
|
-
#
|
|
3
|
-
# This file only contains a selection of the most common options. For a full
|
|
4
|
-
# list see the documentation:
|
|
5
|
-
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
6
|
-
|
|
7
|
-
# -- Path setup --------------------------------------------------------------
|
|
8
|
-
|
|
9
|
-
# If extensions (or modules to document with autodoc) are in another directory,
|
|
10
|
-
# add these directories to sys.path here. If the directory is relative to the
|
|
11
|
-
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
|
12
|
-
#
|
|
13
|
-
# import os
|
|
14
|
-
# import sys
|
|
15
|
-
# sys.path.insert(0, os.path.abspath('.'))
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
# -- Project information -----------------------------------------------------
|
|
19
|
-
|
|
20
|
-
project = "cdk8s-plone"
|
|
21
|
-
copyright = "2024-2025, Blue Dynamics Alliance"
|
|
22
|
-
author = "Blue Dynamics Alliance Contributors"
|
|
23
|
-
|
|
24
|
-
# The full version, including alpha/beta/rc tags
|
|
25
|
-
# Read version from git tags
|
|
26
|
-
import subprocess
|
|
27
|
-
|
|
28
|
-
try:
|
|
29
|
-
# Get the latest git tag
|
|
30
|
-
result = subprocess.run(
|
|
31
|
-
["git", "describe", "--tags", "--abbrev=0"],
|
|
32
|
-
capture_output=True,
|
|
33
|
-
text=True,
|
|
34
|
-
check=True,
|
|
35
|
-
)
|
|
36
|
-
release = result.stdout.strip().lstrip("v") # Remove 'v' prefix if present
|
|
37
|
-
except (subprocess.CalledProcessError, FileNotFoundError):
|
|
38
|
-
# Fallback to 0.0.0 if git is not available or no tags exist
|
|
39
|
-
release = "0.0.0"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
# -- General configuration ---------------------------------------------------
|
|
43
|
-
|
|
44
|
-
# Add any Sphinx extension module names here, as strings. They can be
|
|
45
|
-
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
46
|
-
# ones.
|
|
47
|
-
extensions = [
|
|
48
|
-
"myst_parser",
|
|
49
|
-
"sphinxcontrib.mermaid",
|
|
50
|
-
"sphinx_design", # For grid and card directives
|
|
51
|
-
"sphinx_copybutton", # Add copy button to code blocks
|
|
52
|
-
]
|
|
53
|
-
|
|
54
|
-
# MySt specific extensions
|
|
55
|
-
myst_enable_extensions = [
|
|
56
|
-
"deflist", # You will be able to utilise definition lists
|
|
57
|
-
"colon_fence", # Allow ::: fences for directives (needed for grid, cards, etc.)
|
|
58
|
-
]
|
|
59
|
-
|
|
60
|
-
# Treat code fences with these languages as Sphinx directives
|
|
61
|
-
myst_fence_as_directive = ["mermaid"]
|
|
62
|
-
|
|
63
|
-
# Add any paths that contain templates here, relative to this directory.
|
|
64
|
-
templates_path = ["_templates"]
|
|
65
|
-
|
|
66
|
-
# List of patterns, relative to source directory, that match files and
|
|
67
|
-
# directories to ignore when looking for source files.
|
|
68
|
-
# This pattern also affects html_static_path and html_extra_path.
|
|
69
|
-
exclude_patterns = []
|
|
70
|
-
|
|
71
|
-
# mermaid options
|
|
72
|
-
mermaid_output_format = "raw" # Use client-side rendering with mermaid.js
|
|
73
|
-
# -- Options for HTML output -------------------------------------------------
|
|
74
|
-
|
|
75
|
-
# Base URL for GitHub Pages deployment
|
|
76
|
-
# Set to "" for local development, or the full Pages URL for deployment
|
|
77
|
-
# This makes absolute paths in logo_target work correctly with path prefix
|
|
78
|
-
html_baseurl = "https://bluedynamics.github.io/cdk8s-plone"
|
|
79
|
-
|
|
80
|
-
# The theme to use for HTML and HTML Help pages.
|
|
81
|
-
# Shibuya, matching the rest of the Cloudbrine ecosystem.
|
|
82
|
-
html_theme = "shibuya"
|
|
83
|
-
|
|
84
|
-
html_theme_options = {
|
|
85
|
-
"logo_target": "/cdk8s-plone/",
|
|
86
|
-
"accent_color": "cyan",
|
|
87
|
-
"color_mode": "dark",
|
|
88
|
-
"dark_code": True,
|
|
89
|
-
"nav_links": [
|
|
90
|
-
{
|
|
91
|
-
"title": "Ecosystem",
|
|
92
|
-
"url": "https://bluedynamics.github.io/zodb-pgjsonb/ecosystem.html",
|
|
93
|
-
"children": [
|
|
94
|
-
{
|
|
95
|
-
"title": "Dashboard",
|
|
96
|
-
"url": "https://bluedynamics.github.io/zodb-pgjsonb/ecosystem.html",
|
|
97
|
-
"summary": "Overview of all packages",
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"title": "zodb-pgjsonb",
|
|
101
|
-
"url": "https://bluedynamics.github.io/zodb-pgjsonb/",
|
|
102
|
-
"summary": "PostgreSQL JSONB storage",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"title": "zodb-json-codec",
|
|
106
|
-
"url": "https://bluedynamics.github.io/zodb-json-codec/",
|
|
107
|
-
"summary": "Rust pickle↔JSON transcoder",
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"title": "plone-pgcatalog",
|
|
111
|
-
"url": "https://bluedynamics.github.io/plone-pgcatalog/",
|
|
112
|
-
"summary": "PostgreSQL-backed catalog",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"title": "plone-pgthumbor",
|
|
116
|
-
"url": "https://bluedynamics.github.io/plone-pgthumbor/",
|
|
117
|
-
"summary": "Thumbor image scaling",
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"title": "cdk8s-plone",
|
|
121
|
-
"url": "https://bluedynamics.github.io/cdk8s-plone/",
|
|
122
|
-
"summary": "Deploy Plone to Kubernetes",
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"title": "GitHub",
|
|
128
|
-
"url": "https://github.com/bluedynamics/cdk8s-plone",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"title": "PyPI",
|
|
132
|
-
"url": "https://pypi.org/project/cdk8s-plone/",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"title": "npm",
|
|
136
|
-
"url": "https://www.npmjs.com/package/@bluedynamics/cdk8s-plone",
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
html_logo = "_static/logo.svg"
|
|
142
|
-
|
|
143
|
-
# Add any paths that contain custom static files (such as style sheets) here,
|
|
144
|
-
# relative to this directory.
|
|
145
|
-
html_static_path = ["_static"]
|