Skip to content

Commit 77ea0a1

Browse files
authored
Merge pull request #176 from valkey-io/main
Move to Prod: Participants page, typos, upcased URLs
2 parents 4c0995a + 8e09ae3 commit 77ea0a1

File tree

15 files changed

+157
-19
lines changed

15 files changed

+157
-19
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
This repo contains the source for the valkey.io website (build scripts, template, blog posts, stylesheets, etc.).
44
The build integrates content from [`valkey-io/valkey-doc`](https://github.com/valkey-io/valkey-doc) and the commands definitions from [`valkey-io/valkey`](https://github.com/valkey-io/valkey-doc) (see [Build Locally](#build-locally) below for more details).
55

6-
**Note**: The site is currently in transition to a new static site generator. The current production website is built from branch `jekyll-version` but will be built from `main` in the near future.
7-
86
## Contributing
97

108
We welcome contributions! Please see our [CONTRIBUTING](CONTRIBUTING.md) page to learn more about how to contribute to the website.

_data/participants.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
- name: Percona
2+
link: https://learn.percona.com/percona-support-for-valkey
3+
image:
4+
path: /img/percona.svg
5+
alt: Percona Logo
6+
company: >
7+
Percona is a world-class open source database software, support, and services company.
8+
The organization is dedicated to helping businesses ensure their databases — and the applications that depend on them — are secure, compliant, performant, and highly available.
9+
For more information, visit [www.percona.com](http://www.percona.com/)
10+
offering: >
11+
Valkey expertise, where and when you need it.
12+
13+
From day-to-day operational support to hands-on assistance for complex projects, Percona can meet your Valkey database needs.
14+
We’ll soon be offering support, managed services, and project-based consulting, so together, we can tackle any challenge and continue to keep open source, open.
15+
16+
- name: UpCloud
17+
link: https://upcloud.com/valkey
18+
image:
19+
path: /img/upcloud.svg
20+
alt: UpCloud Logo
21+
company: >
22+
UpCloud is a leading European cloud provider with a global platform spanning four continents and 13 data centres.
23+
Founded in 2012 and headquartered in Helsinki, Finland, our international team ensures uninterrupted services with a 100% SLA, empowering businesses worldwide to thrive with our reliable, cloud-native product portfolio.
24+
offering: >
25+
Valkey on UpCloud simplifies database management with a fully managed service hosted on our GDPR-compliant cloud.
26+
Enjoy seamless deployment, expert maintenance, and high performance with minimal downtime.
27+
Backed by UpCloud’s global reach, Valkey ensures reliability and scalability, freeing developers to focus on building great applications.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Custom front matter
2+
aliases = [
3+
"/docs/topics/history/",
4+
"/about/"
5+
]

build/init-commands.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ for fname in $(find $1 -maxdepth 1 -iname "*.md")
3131
do
3232
base=${fname##*/}
3333
command=${base%.*}
34+
command_upper=$(awk '{ print toupper($0) }' <<< $command)
3435
if [[ "$command" != "index" ]]; then
3536
cat << EOF > "./content/commands/$command.md"
3637
+++
3738
# This is a generated stub file.
3839
# To edit the command description see /commands/$command.md in the 'valkey-doc' repo
3940
# The command metadata is generated from /src/$command.json in the 'valkey' repo
41+
aliases = ["/commands/$command_upper/"]
4042
+++
4143
EOF
4244
fi

build/init-topics.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,22 @@ for fname in $(find $1 -maxdepth 1 -iname "*.md")
2929
do
3030
base=${fname##*/}
3131
topic=${base%.*}
32+
3233
if [[ "$topic" != "index" ]]; then
33-
cat << EOF > "./content/topics/$topic.md"
34+
if [ -f "./build/custom-frontmatter/topics/$topic.toml" ]; then
35+
echo "+++" >> "./content/topics/$topic.md"
36+
cat "./build/custom-frontmatter/topics/$topic.toml" >> "./content/topics/$topic.md"
37+
echo "+++" >> "./content/topics/$topic.md"
38+
else
39+
cat << EOF > "./content/topics/$topic.md"
3440
+++
3541
# This is a generated stub file.
3642
# To edit the content see /topic/$topic.md in the 'valkey-doc' repo
3743
aliases = ["/docs/topics/$topic/"]
3844
+++
3945
EOF
4046
fi
47+
fi
4148
done
4249

4350
echo "Topic stub files created at content/topics."

content/about.md

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

content/blog/2024-09-13-unlock-one-million-rps-part2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ grep eth0 /proc/interrupts | awk '{print $1}' | cut -d : -f 1
112112
```
113113
In our setup, lines `48` to `55` are allocated for `eth0` interrupts. Allocate one core per 4 IRQ lines:
114114
```bash
115-
for i in {48..50}; do echo 1000 > /proc/irq/$i/smp_affinity; done
116-
for i in {51..55}; do echo 2000 > /proc/irq/$i/smp_affinity; done
115+
for i in {48..51}; do echo 1000 > /proc/irq/$i/smp_affinity; done
116+
for i in {52..55}; do echo 2000 > /proc/irq/$i/smp_affinity; done
117117
```
118118
Server configuration - launch the Valkey server with these minimal configurations:
119119
```bash

content/blog/2024-11-21-testing-the-limits/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
+++
22
title = "Pushing the limits of Valkey on a Raspberry Pi"
3-
description = "While most people won't go to prodcution on a Raspberry Pi we'll cover how to thoroughly performance test Valkey to understand how it works in production."
3+
description = "While most people won't go to production on a Raspberry Pi, we'll cover how to thoroughly performance test Valkey to understand how it works in production."
44
date= 2024-11-21 01:01:01
55
authors= ["dtaivpp"]
66
+++

content/participants.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
template: participants.html
3+
title: Participate with Valkey
4+
---
5+
6+
# Valkey Participants
7+
8+
The Valkey project participants are a diverse group of organizations that have come together to maintain and contribute to the project. Valkey participants are more than vendors, they are dedicated to continuously strengthening the long-term health and viability of this project so that everyone can benefit from it. Since its inception Valkey has enjoyed steady adoption demonstrating the industry's desire for an open, community-driven database solution. We look forward to seeing our list of participants grow as more companies work on our project.

sass/_valkey.scss

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,74 @@ aside {
462462
}
463463
}
464464

465+
.participants-container {
466+
@include sans-serif;
467+
background-color: #4CAF50; /* Green background */
468+
border: none;
469+
color: white;
470+
padding: 15px 32px;
471+
text-align: center;
472+
text-decoration: none;
473+
display: inline-block;
474+
font-size: 16px;
475+
margin: 4px 2px;
476+
cursor: pointer;
477+
border-radius: 4px;
478+
}
479+
480+
#participants-buttons {
481+
display: inline-block;
482+
vertical-align: middle;
483+
484+
:after {
485+
content: 'Become a participant';
486+
display: block;
487+
clear: both;
488+
}
489+
490+
> div {
491+
position: relative;
492+
height: 24px;
493+
width: 164px;
494+
float: left;
495+
text-align: center;
496+
497+
> svg {
498+
height: 16px;
499+
fill: $background-darkest;
500+
margin-top: 10px;
501+
}
502+
}
503+
> div:hover {
504+
cursor: pointer;
505+
}
506+
> div.new-participants:hover > svg {fill: #3B5998;}
507+
> div.new-participants > svg {
508+
height: 18px;
509+
margin-top: 9px;
510+
}
511+
}
512+
.width-limiter .participant-list > div {
513+
margin-top: 1em;
514+
border: none;
515+
border-top: 1px solid $text-light;
516+
padding-top: 1em;
517+
h3 {
518+
margin-bottom: 0;
519+
}
520+
h3 + p {
521+
margin-top: 0;
522+
}
523+
.logo {
524+
display: block;
525+
width: 50%;
526+
img{
527+
width: auto;
528+
max-width: 100%;
529+
}
530+
}
531+
}
532+
465533
.author-social-media {
466534
ul {
467535
list-style-type: none;

0 commit comments

Comments
 (0)