Skip to content

docs: add SEO marketing plan and full docs.md generator#186

Merged
rubenmarcus merged 4 commits intomainfrom
docs/seo-marketing-plan-and-full-docs
Feb 13, 2026
Merged

docs: add SEO marketing plan and full docs.md generator#186
rubenmarcus merged 4 commits intomainfrom
docs/seo-marketing-plan-and-full-docs

Conversation

@rubenmarcus
Copy link
Copy Markdown
Member

Summary

  • Add comprehensive SEO & marketing strategy doc (docs/SEO_MARKETING_PLAN.md) with 35+ article roadmap, 4-tier keyword strategy (100+ keywords), and Twitter/LinkedIn/Google playbooks
  • Add build script (docs/scripts/generate-full-docs.cjs) that concatenates all 39 doc pages into a single docs.md
  • Hook into pnpm build so docs.md auto-regenerates on every build
  • Serve at https://ralphstarter.ai/docs.md for easy single-file download

Test plan

  • cd docs && pnpm docs:full generates static/docs.md successfully
  • pnpm build in docs dir completes without errors
  • Verify docs.md contains all 39 doc pages in correct order

🤖 Generated with Claude Code

- Add comprehensive SEO & marketing strategy doc with 35+ article
  roadmap, 4-tier keyword strategy, and social media playbook
- Add build script to generate a single docs.md from all 39 doc pages
- Hook script into docs build so docs.md stays up to date
- Serve at /docs.md for easy single-file download

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

Issue Linking Reminder

This PR doesn't appear to have a linked issue. Consider linking to:

  • This repo: Closes #123
  • ralph-ideas: Closes multivmlabs/ralph-ideas#123

Using Closes, Fixes, or Resolves will auto-close the issue when this PR is merged.


If this PR doesn't need an issue, you can ignore this message.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 13, 2026

🔗 Docs Preview

Preview URL: https://docs-seo-marketing-plan-and-.ralph-starter-docs.pages.dev

This preview was deployed from the latest commit on this PR.

Adds a DownloadDocs component to the docs intro page with two
download buttons: .md (full formatted docs) and .txt (llms-full.txt).
Styled to match the quantum theme.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Feb 13, 2026

Greptile Overview

Greptile Summary

added comprehensive SEO & marketing strategy documentation and automated full documentation generator. The PR includes a 900+ line SEO plan with keyword strategy, article roadmap, and social media playbooks, plus a build script that concatenates all 39 doc pages into a single downloadable docs.md file (214KB).

Key changes:

  • New SEO_MARKETING_PLAN.md with 4-tier keyword strategy (100+ keywords), 35+ article roadmap, and Twitter/LinkedIn/Google playbooks
  • New generate-full-docs.cjs script that strips frontmatter, bumps heading levels, and concatenates docs in sidebar order
  • Modified build process to auto-generate docs.md on every build via pnpm build
  • Added docs:full script for manual generation

Issues found:

  • Script comment mentions ralph-starter-docs.md but outputs docs.md (minor documentation inconsistency)

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • Score reflects documentation-only changes with one minor comment fix needed. The script logic is sound, generates output correctly, and integrates cleanly with the existing build process. No code logic, security, or runtime issues
  • No files require special attention - only a minor comment typo in docs/scripts/generate-full-docs.cjs

Important Files Changed

Filename Overview
docs/SEO_MARKETING_PLAN.md added comprehensive SEO & marketing strategy documentation with keyword research, article roadmap, and social media plans
docs/scripts/generate-full-docs.cjs added build script to concatenate all doc pages into single docs.md file; has comment mismatch with actual output filename
docs/package.json hooked generate-full-docs.cjs into build command and added docs:full script for manual generation
docs/static/docs.md generated concatenation of all 39 doc pages (8010 lines, 214KB); successfully combines all documentation into single downloadable file

Last reviewed commit: 5271740

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5271740d72

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

The heading bumper was running on every line including fenced code
blocks, turning shell comments like "# Install" into "## Install".
Now tracks fence state and only bumps actual markdown headings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rubenmarcus rubenmarcus merged commit a8edcc3 into main Feb 13, 2026
11 checks passed
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7054a56861

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

}

const raw = fs.readFileSync(filePath, 'utf-8');
const content = bumpHeadings(stripFrontmatter(raw));
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Strip MDX-only directives from generated docs.md

The concatenation path currently applies only stripFrontmatter and bumpHeadings, then writes content directly, so MDX-only syntax from source pages (for example docs/docs/intro.md now has import DownloadDocs... and <DownloadDocs />) is copied into docs/static/docs.md. This makes the “single markdown file” artifact include non-Markdown implementation details that can confuse downstream markdown parsers and LLM/document ingestion pipelines expecting plain docs content.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant