diff --git a/apps/docs/content/postgresql/how-to/manage.mdx b/apps/docs/content/postgresql/how-to/manage.mdx index ba9d4df0..48dac79c 100644 --- a/apps/docs/content/postgresql/how-to/manage.mdx +++ b/apps/docs/content/postgresql/how-to/manage.mdx @@ -36,7 +36,7 @@ For connection methods and environment variables, see the [Connect to PostgreSQL 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: -* [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 +* [Adminer](https://www.adminer.org) - a lightweight database management tool by Jakub Vrána * [phpMyAdmin](https://www.phpmyadmin.net) - a popular free database administration tool that works with both MySQL and PostgreSQL databases ### Installing Management Tools @@ -49,13 +49,13 @@ You can install these tools with a simple one-click import in Zerops: ### Accessing Management Tools @@ -77,10 +77,10 @@ You can install these tools with a simple one-click import in Zerops: After installation, you can access these tools via VPN: 1. [Start the Zerops VPN](/references/networking/vpn) -2. Type `http://adminerevo` or `http://phpmyadmin` in your browser +2. Type `http://adminer` or `http://phpmyadmin` in your browser :::tip -Try `http://adminerevo.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues. +Try `http://adminer.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues. ::: :::caution diff --git a/apps/docs/src/plugins/markdown-source/index.js b/apps/docs/src/plugins/markdown-source/index.js index 730bd100..388a37b7 100644 --- a/apps/docs/src/plugins/markdown-source/index.js +++ b/apps/docs/src/plugins/markdown-source/index.js @@ -404,6 +404,10 @@ function cleanMarkdownForDisplay(content, filepath, siteDir, docsDir) { // 5. Remove remaining import statements (after inlining MDX imports) content = content.replace(/^import\s+.*?from\s+['"].*?['"];?\s*$/gm, ''); + // 5b. Convert HTML tables to markdown tables (must run before substituteVariables + // expands {data.x} JSX attributes, which would break UnorderedCodeList matching) + content = convertHtmlTablesToMarkdown(content, siteDir); + // 6. Substitute variables like {data.something} content = substituteVariables(content, siteDir); @@ -519,15 +523,12 @@ function cleanMarkdownForDisplay(content, filepath, siteDir, docsDir) { // 15. Convert details/summary components to readable markdown (preserve content) content = convertDetailsToMarkdown(content); - // 16. Convert HTML tables to markdown tables - content = convertHtmlTablesToMarkdown(content, siteDir); - - // 17. Remove custom React/MDX components while preserving tables + // 16. Remove custom React/MDX components while preserving tables content = preserveTablesWhileProcessing(content, (section) => { return section.replace(/<[A-Z][a-zA-Z]*[\s\S]*?(?:\/>|<\/[A-Z][a-zA-Z]*>)/g, ''); }); - // 18. Remove consecutive blank lines (keep max 2 newlines = 1 blank line) + // 17. Remove consecutive blank lines (keep max 2 newlines = 1 blank line) const lines = content.split('\n'); const processedLines = []; let lastLineWasEmpty = false; @@ -545,12 +546,12 @@ function cleanMarkdownForDisplay(content, filepath, siteDir, docsDir) { content = processedLines.join('\n'); - // 19. Add title as H1 at the beginning if it exists + // 18. Add title as H1 at the beginning if it exists if (title) { content = `# ${title}\n\n${content}`; } - // 20. Remove any leading blank lines + // 19. Remove any leading blank lines content = content.replace(/^\s*\n/, ''); return content; diff --git a/apps/docs/static/data.json b/apps/docs/static/data.json index 5bb7a5d2..3fd08dbc 100644 --- a/apps/docs/static/data.json +++ b/apps/docs/static/data.json @@ -118,12 +118,12 @@ "python": { "default": "3", "base": [ - ["python@3.14", "python@latest"], + ["python@3.14 (Ubuntu only)", "python@latest"], ["python@3.12"], ["python@3.11"] ], "import": [ - ["python@3.14"], + ["python@3.14 (Ubuntu only)"], ["python@3.12"], ["python@3.11"] ], diff --git a/apps/docs/static/llms-full.txt b/apps/docs/static/llms-full.txt index d6f25638..98a247db 100644 --- a/apps/docs/static/llms-full.txt +++ b/apps/docs/static/llms-full.txt @@ -16812,7 +16812,7 @@ For connection methods and environment variables, see the [Connect to PostgreSQL ::: ## Database Management Tools 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: -* [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 +* [Adminer](https://www.adminer.org) - a lightweight database management tool by Jakub Vrána * [phpMyAdmin](https://www.phpmyadmin.net) - a popular free database administration tool that works with both MySQL and PostgreSQL databases ### Installing Management Tools 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: ### Accessing Management Tools After installation, you can access these tools via VPN: 1. [Start the Zerops VPN](/references/networking/vpn) -2. Type `http://adminerevo` or `http://phpmyadmin` in your browser +2. Type `http://adminer` or `http://phpmyadmin` in your browser :::tip -Try `http://adminerevo.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues. +Try `http://adminer.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues. ::: :::caution Do not use https when connecting to management tools via VPN. diff --git a/apps/docs/static/llms-small.txt b/apps/docs/static/llms-small.txt index 3550d18a..b5d8e8e3 100644 --- a/apps/docs/static/llms-small.txt +++ b/apps/docs/static/llms-small.txt @@ -16571,7 +16571,7 @@ For connection methods and environment variables, see the [Connect to PostgreSQL ::: ## Database Management Tools 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: -* [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 +* [Adminer](https://www.adminer.org) - a lightweight database management tool by Jakub Vrána * [phpMyAdmin](https://www.phpmyadmin.net) - a popular free database administration tool that works with both MySQL and PostgreSQL databases ### Installing Management Tools 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: ### Accessing Management Tools After installation, you can access these tools via VPN: 1. [Start the Zerops VPN](/references/networking/vpn) -2. Type `http://adminerevo` or `http://phpmyadmin` in your browser +2. Type `http://adminer` or `http://phpmyadmin` in your browser :::tip -Try `http://adminerevo.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues. +Try `http://adminer.zerops` or `http://phpmyadmin.zerops` if you encounter any connection issues. ::: :::caution Do not use https when connecting to management tools via VPN.