Skip to content

Commit 014bd0f

Browse files
authored
updates (#318)
1 parent 8102dfb commit 014bd0f

5 files changed

Lines changed: 24 additions & 23 deletions

File tree

‎apps/docs/content/postgresql/how-to/manage.mdx‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For connection methods and environment variables, see the [Connect to PostgreSQL
3636

3737
You can use any PostgreSQL management tool of your choice to administer your databases in Zerops. For convenience, Zerops provides ready-to-use recipes for two popular web-based database management tools:
3838

39-
* [AdminerEvo](https://github.com/adminerevo/adminerevo) - developed by the AdminerEvo community and is a continuation of the [Adminer](https://www.adminer.org) project by Jakub Vrána
39+
* [Adminer](https://www.adminer.org) - a lightweight database management tool by Jakub Vrána
4040
* [phpMyAdmin](https://www.phpmyadmin.net) - a popular free database administration tool that works with both MySQL and PostgreSQL databases
4141

4242
### Installing Management Tools
@@ -49,13 +49,13 @@ You can install these tools with a simple one-click import in Zerops:
4949
<TabbedCodeBlocks
5050
tabs={[
5151
{
52-
label: 'AdminerEvo',
52+
label: 'Adminer',
5353
language: 'yaml',
5454
code: `services:
55-
- hostname: adminerevo
56-
type: php-apache@8.3
55+
- hostname: adminer
56+
type: php-apache@8.5
5757
enableSubdomainAccess: true
58-
buildFromGit: https://github.com/zeropsio/recipe-adminerevo`
58+
buildFromGit: https://github.com/zeropsio/recipe-adminer`
5959
},
6060
{
6161
label: 'phpMyAdmin',
@@ -69,18 +69,18 @@ You can install these tools with a simple one-click import in Zerops:
6969
buildFromGit: https://github.com/zeropsio/recipe-phpmyadmin@main`
7070
}
7171
]}
72-
defaultTab="AdminerEvo"
72+
defaultTab="Adminer"
7373
/>
7474

7575
### Accessing Management Tools
7676

7777
After installation, you can access these tools via VPN:
7878

7979
1. [Start the Zerops VPN](/references/networking/vpn)
80-
2. Type `http://adminerevo` or `http://phpmyadmin` in your browser
80+
2. Type `http://adminer` or `http://phpmyadmin` in your browser
8181

8282
:::tip
83-
Try `http://adminerevo.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues.
83+
Try `http://adminer.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues.
8484
:::
8585

8686
:::caution

‎apps/docs/src/plugins/markdown-source/index.js‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,10 @@ function cleanMarkdownForDisplay(content, filepath, siteDir, docsDir) {
404404
// 5. Remove remaining import statements (after inlining MDX imports)
405405
content = content.replace(/^import\s+.*?from\s+['"].*?['"];?\s*$/gm, '');
406406

407+
// 5b. Convert HTML tables to markdown tables (must run before substituteVariables
408+
// expands {data.x} JSX attributes, which would break UnorderedCodeList matching)
409+
content = convertHtmlTablesToMarkdown(content, siteDir);
410+
407411
// 6. Substitute variables like {data.something}
408412
content = substituteVariables(content, siteDir);
409413

@@ -519,15 +523,12 @@ function cleanMarkdownForDisplay(content, filepath, siteDir, docsDir) {
519523
// 15. Convert details/summary components to readable markdown (preserve content)
520524
content = convertDetailsToMarkdown(content);
521525

522-
// 16. Convert HTML tables to markdown tables
523-
content = convertHtmlTablesToMarkdown(content, siteDir);
524-
525-
// 17. Remove custom React/MDX components while preserving tables
526+
// 16. Remove custom React/MDX components while preserving tables
526527
content = preserveTablesWhileProcessing(content, (section) => {
527528
return section.replace(/<[A-Z][a-zA-Z]*[\s\S]*?(?:\/>|<\/[A-Z][a-zA-Z]*>)/g, '');
528529
});
529530

530-
// 18. Remove consecutive blank lines (keep max 2 newlines = 1 blank line)
531+
// 17. Remove consecutive blank lines (keep max 2 newlines = 1 blank line)
531532
const lines = content.split('\n');
532533
const processedLines = [];
533534
let lastLineWasEmpty = false;
@@ -545,12 +546,12 @@ function cleanMarkdownForDisplay(content, filepath, siteDir, docsDir) {
545546

546547
content = processedLines.join('\n');
547548

548-
// 19. Add title as H1 at the beginning if it exists
549+
// 18. Add title as H1 at the beginning if it exists
549550
if (title) {
550551
content = `# ${title}\n\n${content}`;
551552
}
552553

553-
// 20. Remove any leading blank lines
554+
// 19. Remove any leading blank lines
554555
content = content.replace(/^\s*\n/, '');
555556

556557
return content;

‎apps/docs/static/data.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@
118118
"python": {
119119
"default": "3",
120120
"base": [
121-
["python@3.14", "python@latest"],
121+
["python@3.14 (Ubuntu only)", "python@latest"],
122122
["python@3.12"],
123123
["python@3.11"]
124124
],
125125
"import": [
126-
["python@3.14"],
126+
["python@3.14 (Ubuntu only)"],
127127
["python@3.12"],
128128
["python@3.11"]
129129
],

‎apps/docs/static/llms-full.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16812,7 +16812,7 @@ For connection methods and environment variables, see the [Connect to PostgreSQL
1681216812
:::
1681316813
## Database Management Tools
1681416814
You can use any PostgreSQL management tool of your choice to administer your databases in Zerops. For convenience, Zerops provides ready-to-use recipes for two popular web-based database management tools:
16815-
* [AdminerEvo](https://github.com/adminerevo/adminerevo) - developed by the AdminerEvo community and is a continuation of the [Adminer](https://www.adminer.org) project by Jakub Vrána
16815+
* [Adminer](https://www.adminer.org) - a lightweight database management tool by Jakub Vrána
1681616816
* [phpMyAdmin](https://www.phpmyadmin.net) - a popular free database administration tool that works with both MySQL and PostgreSQL databases
1681716817
### Installing Management Tools
1681816818
You can install these tools with a simple one-click import in Zerops:
@@ -16821,9 +16821,9 @@ You can install these tools with a simple one-click import in Zerops:
1682116821
### Accessing Management Tools
1682216822
After installation, you can access these tools via VPN:
1682316823
1. [Start the Zerops VPN](/references/networking/vpn)
16824-
2. Type `http://adminerevo` or `http://phpmyadmin` in your browser
16824+
2. Type `http://adminer` or `http://phpmyadmin` in your browser
1682516825
:::tip
16826-
Try `http://adminerevo.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues.
16826+
Try `http://adminer.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues.
1682716827
:::
1682816828
:::caution
1682916829
Do not use https when connecting to management tools via VPN.

‎apps/docs/static/llms-small.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16571,7 +16571,7 @@ For connection methods and environment variables, see the [Connect to PostgreSQL
1657116571
:::
1657216572
## Database Management Tools
1657316573
You can use any PostgreSQL management tool of your choice to administer your databases in Zerops. For convenience, Zerops provides ready-to-use recipes for two popular web-based database management tools:
16574-
* [AdminerEvo](https://github.com/adminerevo/adminerevo) - developed by the AdminerEvo community and is a continuation of the [Adminer](https://www.adminer.org) project by Jakub Vrána
16574+
* [Adminer](https://www.adminer.org) - a lightweight database management tool by Jakub Vrána
1657516575
* [phpMyAdmin](https://www.phpmyadmin.net) - a popular free database administration tool that works with both MySQL and PostgreSQL databases
1657616576
### Installing Management Tools
1657716577
You can install these tools with a simple one-click import in Zerops:
@@ -16580,9 +16580,9 @@ You can install these tools with a simple one-click import in Zerops:
1658016580
### Accessing Management Tools
1658116581
After installation, you can access these tools via VPN:
1658216582
1. [Start the Zerops VPN](/references/networking/vpn)
16583-
2. Type `http://adminerevo` or `http://phpmyadmin` in your browser
16583+
2. Type `http://adminer` or `http://phpmyadmin` in your browser
1658416584
:::tip
16585-
Try `http://adminerevo.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues.
16585+
Try `http://adminer.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues.
1658616586
:::
1658716587
:::caution
1658816588
Do not use https when connecting to management tools via VPN.

0 commit comments

Comments
 (0)