Add proper API docs page, fix Stripe lazy init, update docs links

This commit is contained in:
DocFast Bot 2026-02-14 14:31:44 +00:00
parent 467a97ae1c
commit 7f04789997
5 changed files with 419 additions and 14 deletions

View file

@ -92,7 +92,7 @@ footer { padding: 40px 0; text-align: center; color: var(--muted); font-size: 0.
<p>One API call. Beautiful PDFs. Built-in invoice templates. No headless browser setup, no dependencies, no hassle.</p>
<div class="hero-actions">
<button class="btn btn-primary" onclick="openSignup()">Get Free API Key</button>
<a href="#endpoints" class="btn btn-secondary">View Docs</a>
<a href="/docs" class="btn btn-secondary">View Docs</a>
</div>
<div class="code-hero">
<span class="comment">// Convert markdown to PDF in one call</span><br>
@ -233,7 +233,7 @@ footer { padding: 40px 0; text-align: center; color: var(--muted); font-size: 0.
<p>Here's your API key. <strong>Save it now</strong> — it won't be shown again.</p>
<div class="key-box" id="apiKeyDisplay" onclick="copyKey()" title="Click to copy"></div>
<div class="copy-hint">Click to copy</div>
<p style="margin-top:24px;color:var(--muted);font-size:0.9rem;">100 free PDFs/month • All endpoints • <a href="#endpoints">View docs →</a></p>
<p style="margin-top:24px;color:var(--muted);font-size:0.9rem;">100 free PDFs/month • All endpoints • <a href="/docs">View docs →</a></p>
</div>
</div>
</div>