Skip to content

Commit 8ec5d81

Browse files
committed
fix(dlb): remove extra FAQ in title
1 parent 35966ca commit 8ec5d81

File tree

4 files changed

+492
-1
lines changed

4 files changed

+492
-1
lines changed

faq/data-lab.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ meta:
33
title: Distributed Data Lab FAQ
44
description: Discover Scaleway Distributed Data Lab powered by Apache Spark, and how to use it.
55
content:
6-
h1: Distributed Data Lab FAQ
6+
h1: Distributed Data Lab
77
dates:
88
validation: 2025-02-06
99
category: managed-services

generate_page_list.py

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import os
2+
import re
3+
4+
def extract_title(frontmatter):
5+
title_match = re.search(r'title:\s*(.+)', frontmatter)
6+
if title_match:
7+
return title_match.group(1).strip('"').strip("'")
8+
return None
9+
10+
def process_file(file_path):
11+
with open(file_path, 'r', encoding='utf-8') as file:
12+
content = file.read()
13+
frontmatter_end = content.find('---', 3)
14+
if frontmatter_end != -1:
15+
frontmatter = content[3:frontmatter_end].strip()
16+
title = extract_title(frontmatter)
17+
if title:
18+
return f"[{title}]({file_path})"
19+
return None
20+
21+
def main():
22+
pages_file = 'pages/pages-ts.md'
23+
with open(pages_file, 'r', encoding='utf-8') as file:
24+
pages_content = file.readlines()
25+
26+
page_paths = []
27+
for line in pages_content:
28+
line = line.strip()
29+
if line and not line.startswith('#') and not line.startswith('---'):
30+
page_paths.append(line)
31+
32+
page_list = []
33+
for page_path in page_paths:
34+
full_path = os.path.join(os.path.dirname(pages_file), page_path)
35+
page_entry = process_file(full_path)
36+
if page_entry:
37+
page_list.append(page_entry)
38+
39+
for entry in page_list:
40+
print(entry)
41+
42+
if __name__ == "__main__":
43+
main()

pages/pages-ts.md

+143
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
### Account
2+
[I cannot close my account and erase personal data](/account/troubleshooting/cannot-erase-account/)
3+
[I cannot log into my account](/account/troubleshooting/cannot-log-into-account/)
4+
5+
### Apple Silicon
6+
[Troubleshooting SSH connection issues to Scaleway Mac mini servers](/apple-silicon/troubleshooting/cant-connect-using-ssh/)
7+
[Troubleshooting remote desktop connections to Mac mini servers](/apple-silicon/troubleshooting/cant-connect-using-vnc/)
8+
[Troubleshooting account creation for hosted Mac minis](/apple-silicon/troubleshooting/cant-create-apple-account/)
9+
[Troubleshooting deletion issues with Mac minis](/apple-silicon/troubleshooting/cant-delete-mac-mini/)
10+
11+
### Audit Trail
12+
[I cannot see any events in Audit Trail](/audit-trail/troubleshooting/cannot-see-events/)
13+
14+
### Billing
15+
[I cannot add a payment method](/billing/troubleshooting/cannot-add-payment-method/)
16+
[Fix common billing issues](/billing/troubleshooting/fix-common-billing-issues/)
17+
18+
### Cockpit
19+
[My Pusher does not support custom HTTP headers](/cockpit/troubleshooting/pusher-does-not-support-custom-http-headers/)
20+
[Resetting a Grafana password](/cockpit/troubleshooting/resetting-grafana-password-via-the-api/)
21+
[No data showing up on Grafana dashboards](/cockpit/troubleshooting/synchronize-grafana-data-sources/)
22+
23+
### Data Lab
24+
[Troubleshooting Distributed Data Lab execution issues](/data-lab/troubleshooting/cannot-run-data-lab/)
25+
26+
### Dedibox Hardware
27+
[Diagnosis of a failing disk](/dedibox-hardware/troubleshooting/diagnose-defective-disk/)
28+
29+
### Elastic Metal
30+
[Enabling SSH on Elastic Metal servers running virtualization distributions](/elastic-metal/troubleshooting/enable-ssh-virtualization-distribution/)
31+
[Replacing a failed drive in a RAID1 software RAID](/elastic-metal/troubleshooting/replace-failed-drive-software-raid/)
32+
[Resetting the Administrator password on Windows Server OS](/elastic-metal/troubleshooting/reset-admin-password-windows-server/)
33+
[Troubleshooting common Elastic Metal server access issues](/elastic-metal/troubleshooting/troubleshoot-access-issues/)
34+
[Troubleshooting an Elastic Metal server blocked installation](/elastic-metal/troubleshooting/troubleshoot-installation/)
35+
[Troubleshooting remote access (KVM over IP) issues on Elastic Metal servers](/elastic-metal/troubleshooting/troubleshoot-remote-access-issues/)
36+
[Troubleshooting SSH connection issues on Elastic Metal servers](/elastic-metal/troubleshooting/troubleshoot-ssh-issues/)
37+
38+
### Generative APIs
39+
[Fixing common issues with Generative APIs](/generative-apis/troubleshooting/fixing-common-issues/)
40+
41+
### GPU
42+
[Fixing GPU issues after installing nvidia-driver packages](/gpu/troubleshooting/fix-driver-issues/)
43+
[Installing NVIDIA drivers on Ubuntu 22.04](/gpu/troubleshooting/install-nvidia-drivers-ubuntu/)
44+
[Fixing GPU issues after upgrading GPU Instances with cloud-init](/gpu/troubleshooting/updating-gpu-instance-with-cloud-init/)
45+
46+
### IAM
47+
[I am not allowed to perform actions on resources](/iam/troubleshooting/cannot-use-resources/)
48+
49+
### Instances
50+
[Dealing with the end of life of the bootscript feature](/instances/troubleshooting/bootscript-eol/)
51+
[Troubleshooting SSH connection issues to Instances](/instances/troubleshooting/cant-connect-ssh/)
52+
[I cannot connect to my Instance using SSH after attaching it to a Private Network](/instances/troubleshooting/cant-connect-to-instance-with-pn-gateway/)
53+
[Changing the rescue mode of your Instance](/instances/troubleshooting/change-rescue-mode/)
54+
[Fix broken VPN when switching OpenVPN Instance to routed IP](/instances/troubleshooting/fix-broken-vpn-when-switching-openvpn-vm-to-routed-ip/)
55+
[Fix the wrong user configuration of cloud-init on Debian 12 (Bookworm)](/instances/troubleshooting/fix-cloud-init-debian12/)
56+
[Fix common issues with Scaleway Instances](/instances/troubleshooting/fix-common-issues/)
57+
[Fixing DNS resolution with a routed IPv6-only setup on Debian Bullseye](/instances/troubleshooting/fix-dns-routed-ipv6-only-debian-bullseye/)
58+
[Fix error when fetching SSH keys on Windows Server 2022](/instances/troubleshooting/fix-error-message-in-scw-fetch-ssh-keys/)
59+
[Fix long delays when booting without a public IP](/instances/troubleshooting/fix-long-delays-booting-without-public-ip/)
60+
[Fix lost IPv6 connectivity on old Debian Buster images when migrating to routed IP](/instances/troubleshooting/fix-lost-ip-connectivity-on-debian-buster/)
61+
[Fixing wrong PPA configuration on Ubuntu Noble Instances](/instances/troubleshooting/fix-noble-wrong-ppa-configuration/)
62+
[Fix unreachable Ubuntu Focal Instance when it has two public IP adresses](/instances/troubleshooting/fix-unreachable-focal-with-two-public-ips/)
63+
[Fix unreachable IPv6 RHEL-based Instances after transitioning to routed IP](/instances/troubleshooting/fix-unreachable-ipv6-rhel-based-instance/)
64+
[Fix unreachable Ubuntu Noble Instances following a reboot](/instances/troubleshooting/fix-unreachable-noble-after-reboot/)
65+
[Troubleshooting issues with faulty kernel installations](/instances/troubleshooting/reboot-from-faulty-kernel/)
66+
67+
### Kubernetes
68+
[Configuring a SQL storage backend in Helm on Scaleway Kubernetes Kapsule](/kubernetes/troubleshooting/configuring-sql-storage-backend-helm/)
69+
[Containers are not starting on ARM Instances](/kubernetes/troubleshooting/containers-not-starting-arm-instances/)
70+
71+
### Load Balancer
72+
[Load Balancer Limitations](/load-balancer/troubleshooting/load-balancer-limitations/)
73+
74+
### Managed Databases for PostgreSQL and MySQL
75+
[Dealing with Database Instance connectivity issues](/managed-databases-for-postgresql-and-mysql/troubleshooting/database-instance-connectivity-issues/)
76+
[Dealing with Database Instance performance issues](/managed-databases-for-postgresql-and-mysql/troubleshooting/database-instance-performance-issues/)
77+
[Dealing with Database Instance unavailability](/managed-databases-for-postgresql-and-mysql/troubleshooting/database-instance-unavailable/)
78+
[Dealing with disk_full mode in a Database Instance](/managed-databases-for-postgresql-and-mysql/troubleshooting/disk-full/)
79+
[Dealing with common PostgreSQL extension errors](/managed-databases-for-postgresql-and-mysql/troubleshooting/extension-errors/)
80+
81+
### Object Storage
82+
[My API key does not work with Object Storage](/object-storage/troubleshooting/api-key-does-not-work/)
83+
[I cannot access my data](/object-storage/troubleshooting/cannot-access-data/)
84+
[I cannot delete my bucket](/object-storage/troubleshooting/cannot-delete-bucket/)
85+
[I cannot restore my objects from Glacier](/object-storage/troubleshooting/cannot-restore-glacier/)
86+
[I lost access to a bucket after applying a bucket policy](/object-storage/troubleshooting/lost-bucket-access-bucket-policy/)
87+
[I am experiencing performance issues](/object-storage/troubleshooting/low-performance/)
88+
89+
### Public Gateways
90+
[I cannot connect to my Instance using SSH after attaching it to a Private Network with a Public Gateway](/public-gateways/troubleshooting/cant-connect-to-instance-with-pn-gateway/)
91+
[I attached the Public Gateway to my Private Network, but the services provided by the gateway are not working (NAT etc)](/public-gateways/troubleshooting/gateway-services-not-working/)
92+
[Public Gateway Limitations](/public-gateways/troubleshooting/gw-limitations/)
93+
94+
### Serverless Containers
95+
[Error code 502](/serverless-containers/troubleshooting/502-error-when-scaling/)
96+
[I am unable to create a Serverless Containers namespace](/serverless-containers/troubleshooting/cannot-create-namespace/)
97+
[I am unable to deploy my image](/serverless-containers/troubleshooting/cannot-deploy-image/)
98+
[My secrets and variables are not injected properly in my container](/serverless-containers/troubleshooting/cannot-inject-secret-variable/)
99+
[I cannot retrieve an external image for my container](/serverless-containers/troubleshooting/cannot-retrieve-external-image/)
100+
[My container stopped working after a redeploy](/serverless-containers/troubleshooting/container-stopped-after-redeploy/)
101+
[Tests fail on Serverless Containers](/serverless-containers/troubleshooting/tests-fail-on-container/)
102+
103+
### Serverless Functions
104+
[I am unable to create a Serverless Functions namespace](/serverless-functions/troubleshooting/cannot-create-namespace/)
105+
[My secrets and variables are not injected properly in my function](/serverless-functions/troubleshooting/cannot-inject-secret-variable/)
106+
[My function does not build properly](/serverless-functions/troubleshooting/function-build-error/)
107+
[My function is in an error state](/serverless-functions/troubleshooting/function-in-error-state/)
108+
[My function stopped working after a redeploy](/serverless-functions/troubleshooting/function-stopped-after-redeploy/)
109+
[Unable to find the function handler](/serverless-functions/troubleshooting/handler-not-found/)
110+
[Tests fail on Serverless Functions](/serverless-functions/troubleshooting/tests-fail-on-function/)
111+
[I am experiencing timeout errors](/serverless-functions/troubleshooting/timeout-error/)
112+
[My function fails after trying too many times](/serverless-functions/troubleshooting/too-many-retries/)
113+
114+
### Serverless Jobs
115+
[My secrets and variables are not injected properly in my job](/serverless-jobs/troubleshooting/cannot-inject-secret-variable/)
116+
[I cannot retrieve an external image for my job](/serverless-jobs/troubleshooting/cannot-retrieve-external-image/)
117+
[My Job run is in an error state](/serverless-jobs/troubleshooting/job-in-error-state/)
118+
[Missing metrics for my Job Run](/serverless-jobs/troubleshooting/missing-metrics/)
119+
120+
### Serverless SQL Databases
121+
[Solving connection errors](/serverless-sql-databases/troubleshooting/connection-errors/)
122+
[Solving Serverless SQL Databases connection timeouts](/serverless-sql-databases/troubleshooting/connection-timeout/)
123+
[Solving failing manual backup and restore operations](/serverless-sql-databases/troubleshooting/failing-backup-restore/)
124+
[Solving maximum prepared statements size errors](/serverless-sql-databases/troubleshooting/maximum-prepared-statements-reached/)
125+
126+
### Transactional Email
127+
[Getting delisted from Spamhaus](/transactional-email/troubleshooting/delist-domain/)
128+
129+
### VPC
130+
[My Instance is attached to a Private Network but auto-configuration is not working](/vpc/troubleshooting/autoconfig-not-working/)
131+
[I can't delete my VPC or Private Network](/vpc/troubleshooting/cant-delete-vpc-pn/)
132+
[I am experiencing SSL or DNS errors and conflicts with my Private Network](/vpc/troubleshooting/pn-name/)
133+
[Private DNS and/or DHCP are not working](/vpc/troubleshooting/private-dns-dhcp-not-working/)
134+
[My resource is attached to a Private Network but has no IP address on the network](/vpc/troubleshooting/resource-attached-no-ip/)
135+
[VPC Limitations](/vpc/troubleshooting/vpc-limitations/)
136+
[I am experiencing connectivity or routing issues with my VPC or Private Network](/vpc/troubleshooting/vpc-pn-routing-connectivity-issues/)
137+
138+
### Webhosting
139+
[Troubleshooting email or website access issues](/webhosting/troubleshooting/cant-access-website-mail/)
140+
[Troubleshooting FTP access issues](/webhosting/troubleshooting/cant-connect-ftp/)
141+
[Troubleshooting cPanel or Plesk access issues](/webhosting/troubleshooting/troubleshooting-access-issues-cpanel-plesk/)
142+
[Troubleshooting DNS issues](/webhosting/troubleshooting/troubleshooting-dns-issues/)
143+
[Troubleshooting email delivery issues](/webhosting/troubleshooting/troubleshooting-email/)

0 commit comments

Comments
 (0)