Skip to content

Commit 3c2bbb1

Browse files
vkuttypCopilot
andcommitted
fix: update docs.yml for CosmoSQLClient-Swift rename
- Update target names to CosmoSQLCore, CosmoMSSQL, CosmoPostgres, CosmoMySQL, CosmoSQLite - Fix --hosting-base-path to use CosmoSQLClient-Swift - Bump SPM cache key to v2 to avoid stale module cache path errors - Update landing page HTML with new module names and links Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b5f8e93 commit 3c2bbb1

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/docs.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,25 @@ jobs:
3030
uses: actions/cache@v4
3131
with:
3232
path: .build
33-
key: macos-spm-docs-${{ hashFiles('Package.resolved') }}
33+
key: macos-spm-docs-v2-${{ hashFiles('Package.resolved') }}
3434
restore-keys: |
35-
macos-spm-docs-
35+
macos-spm-docs-v2-
3636
3737
- name: Setup GitHub Pages
3838
uses: actions/configure-pages@v5
3939

4040
- name: Build documentation for all modules
4141
run: |
4242
mkdir -p docs
43-
for TARGET in SQLNioCore MSSQLNio PostgresNio MySQLNio SQLiteNio; do
43+
for TARGET in CosmoSQLCore CosmoMSSQL CosmoPostgres CosmoMySQL CosmoSQLite; do
4444
echo "▶ Building docs for $TARGET"
4545
swift package \
4646
--allow-writing-to-directory "docs/$TARGET" \
4747
generate-documentation \
4848
--target "$TARGET" \
4949
--disable-indexing \
5050
--transform-for-static-hosting \
51-
--hosting-base-path "sql-nio/$TARGET" \
51+
--hosting-base-path "CosmoSQLClient-Swift/$TARGET" \
5252
--output-path "docs/$TARGET"
5353
done
5454
@@ -61,7 +61,7 @@ jobs:
6161
<head>
6262
<meta charset="UTF-8">
6363
<meta name="viewport" content="width=device-width, initial-scale=1.0">
64-
<title>sql-nio Documentation</title>
64+
<title>CosmoSQLClient-Swift Documentation</title>
6565
<style>
6666
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
6767
max-width: 720px; margin: 60px auto; padding: 0 24px; color: #1d1d1f; }
@@ -77,27 +77,27 @@ jobs:
7777
</style>
7878
</head>
7979
<body>
80-
<h1>sql-nio</h1>
80+
<h1>CosmoSQLClient-Swift</h1>
8181
<p>A unified Swift NIO-based SQL driver for SQL Server, PostgreSQL, MySQL, and SQLite.</p>
8282
<ul>
83-
<li><a href="SQLNioCore/documentation/sqlniocore/">
84-
<strong>SQLNioCore</strong>
83+
<li><a href="CosmoSQLCore/documentation/cosmosqlcore/">
84+
<strong>CosmoSQLCore</strong>
8585
<span>Shared protocol, types &amp; utilities — SQLDatabase, SQLValue, SQLRow, SQLDataTable</span>
8686
</a></li>
87-
<li><a href="MSSQLNio/documentation/mssqlnio/">
88-
<strong>MSSQLNio</strong>
87+
<li><a href="CosmoMSSQL/documentation/cosmomssql/">
88+
<strong>CosmoMSSQL</strong>
8989
<span>Microsoft SQL Server driver — TDS 7.4 wire protocol, NTLM auth, stored procedures</span>
9090
</a></li>
91-
<li><a href="PostgresNio/documentation/postgresnio/">
92-
<strong>PostgresNio</strong>
91+
<li><a href="CosmoPostgres/documentation/cosmopostgres/">
92+
<strong>CosmoPostgres</strong>
9393
<span>PostgreSQL driver — wire protocol v3, SCRAM-SHA-256 auth</span>
9494
</a></li>
95-
<li><a href="MySQLNio/documentation/mysqlnio/">
96-
<strong>MySQLNio</strong>
95+
<li><a href="CosmoMySQL/documentation/cosmomysql/">
96+
<strong>CosmoMySQL</strong>
9797
<span>MySQL / MariaDB driver — wire protocol v10, caching_sha2_password auth</span>
9898
</a></li>
99-
<li><a href="SQLiteNio/documentation/sqlitenio/">
100-
<strong>SQLiteNio</strong>
99+
<li><a href="CosmoSQLite/documentation/cosmosqlite/">
100+
<strong>CosmoSQLite</strong>
101101
<span>Embedded SQLite — in-memory &amp; file databases, native binary backup</span>
102102
</a></li>
103103
</ul>

0 commit comments

Comments
 (0)