Skip to content

Conversation

@jumski
Copy link
Contributor

@jumski jumski commented Oct 9, 2025

Summary

This PR restructures the pgflow documentation to improve navigation and align with the Diátaxis framework. The changes reorganize content into clearer categories and establish comprehensive redirects to maintain backward compatibility.

Key Changes

Documentation Reorganization

1. Getting Started Flow

  • Split /getting-started/ into focused sections:
    • /get-started/installation/ - Core setup
    • /get-started/flows/ - Flow creation, compilation, and execution
    • /get-started/background-jobs/ - Worker setup
    • /get-started/faq/ - Common questions

2. How-To Guides Split

  • Task-oriented guides moved to /develop/:
    • /develop/authoring/ - Flow creation patterns
    • /develop/config-tuning/ - Configuration updates
    • /develop/manage/ - Versioning and deletion
  • Operational guides moved to /operate/:
    • /operate/deploy/ - Deployment strategies
    • /operate/observe/ - Monitoring and observability
    • /operate/maintain/ - Updates, pruning, connections

3. Concepts Restructured

  • /concepts/overview/ - Core concepts and introduction
  • /concepts/architecture/ - How pgflow works
  • /concepts/flows/ - DSL and flow-specific concepts

4. Reference Consolidation

  • /reference/configuration/ - Configuration reference
  • /reference/apis/ - API documentation
  • /reference/queue-worker/ - Worker internals

5. Comparisons

  • Renamed /vs/ to /comparisons/ for clarity

Redirects

Added 100+ redirect rules covering all moved pages, including:

  • Legacy paths from previous reorganizations
  • Edge worker documentation moves
  • How-to guide splits
  • Concept restructuring
  • Configuration moves

All redirects maintain trailing slashes per site configuration.

Navigation Updates

Updated Starlight sidebar configuration to reflect new structure with clear categories:

  • Get Started (rocket icon)
  • Develop (puzzle icon)
  • Operate (setting icon)
  • Concepts (information icon)
  • Reference (document icon)
  • Tutorials (open-book icon)
  • Comparisons (approve-check icon)

Backward Compatibility

All existing URLs redirect to their new locations. External links and bookmarks will continue to work.

Testing

  • Verified all internal links resolve correctly
  • Confirmed redirects work as expected
  • Validated sidebar navigation structure

@changeset-bot
Copy link

changeset-bot bot commented Oct 9, 2025

⚠️ No Changeset found

Latest commit: 9e6f90f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor Author

jumski commented Oct 9, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge:queue - adds this PR to the back of the merge queue
  • hotfix:queue - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nx-cloud
Copy link

nx-cloud bot commented Oct 9, 2025

View your CI Pipeline Execution ↗ for commit 9e6f90f

Command Status Duration Result
nx run-many -t build --projects client,dsl --co... ✅ Succeeded 4s View ↗
nx affected -t build --configuration=production... ✅ Succeeded 18s View ↗
nx affected -t lint typecheck test --parallel -... ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2025-10-17 15:04:47 UTC

@jumski jumski changed the title refactor: reorganize documentation structure and update redirects Refactor: Reorganize Documentation Structure Oct 9, 2025
@jumski jumski marked this pull request as ready for review October 9, 2025 12:23
@jumski jumski force-pushed the 10-08-docs-reorganization branch 2 times, most recently from 1fe3434 to 96730b0 Compare October 9, 2025 13:50
@jumski jumski force-pushed the 10-08-docs-reorganization branch from 96730b0 to 8f7cfb3 Compare October 9, 2025 16:00
@jumski jumski force-pushed the 10-08-docs-reorganization branch from 8f7cfb3 to d7d32eb Compare October 9, 2025 16:11
@jumski jumski force-pushed the 10-08-docs-reorganization branch from d7d32eb to b4d9dda Compare October 10, 2025 08:40
@jumski jumski force-pushed the 10-08-docs-reorganization branch from b4d9dda to b064b53 Compare October 10, 2025 10:10
@jumski jumski force-pushed the 10-08-docs-reorganization branch from a02c9ab to be24e53 Compare October 12, 2025 21:30
@jumski jumski force-pushed the 10-08-docs-reorganization branch from be24e53 to 15078a9 Compare October 12, 2025 23:42
@jumski jumski force-pushed the 10-08-docs-reorganization branch from 15078a9 to ad80404 Compare October 15, 2025 17:59
@jumski jumski force-pushed the 10-08-docs-reorganization branch from ad80404 to 2dd9d0b Compare October 16, 2025 10:12
- Moved several 'how-to' pages to 'build' and 'production' sections for clarity
- Renamed multiple files to better reflect their content and categorization
- Updated navigation links and sidebar topics to match new structure
- Removed obsolete edge-worker installation page, replaced with updated references
- Standardized redirects and links for improved user flow and consistency
@github-actions
Copy link
Contributor

🔍 Preview Deployment: Website

Deployment successful!

🔗 Preview URL: https://pr-247.pgflow.pages.dev

📝 Details:

  • Branch: 10-08-docs-reorganization
  • Commit: 09380c9541be27d22143609d3a17c400c472fdae
  • View Logs

_Last updated: _

@github-actions
Copy link
Contributor

🔍 Preview Deployment: Playground

Deployment successful!

🔗 Preview URL: https://pr-247--pgflow-demo.netlify.app

📝 Details:

  • Branch: 10-08-docs-reorganization
  • Commit: 09380c9541be27d22143609d3a17c400c472fdae
  • View Logs

_Last updated: _

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 18, 2025

Merge activity

  • Oct 18, 10:12 PM UTC: jumski added this pull request to the Graphite merge queue.
  • Oct 18, 10:12 PM UTC: CI is running for this pull request on a draft pull request (#265) due to your merge queue CI optimization settings.
  • Oct 18, 10:13 PM UTC: Merged by the Graphite merge queue via draft PR: #265.

graphite-app bot pushed a commit that referenced this pull request Oct 18, 2025
## Summary

This PR restructures the pgflow documentation to improve navigation and align with the Diátaxis framework. The changes reorganize content into clearer categories and establish comprehensive redirects to maintain backward compatibility.

## Key Changes

### Documentation Reorganization

**1. Getting Started Flow**
- Split `/getting-started/` into focused sections:
  - `/get-started/installation/` - Core setup
  - `/get-started/flows/` - Flow creation, compilation, and execution
  - `/get-started/background-jobs/` - Worker setup
  - `/get-started/faq/` - Common questions

**2. How-To Guides Split**
- Task-oriented guides moved to `/develop/`:
  - `/develop/authoring/` - Flow creation patterns
  - `/develop/config-tuning/` - Configuration updates
  - `/develop/manage/` - Versioning and deletion
- Operational guides moved to `/operate/`:
  - `/operate/deploy/` - Deployment strategies
  - `/operate/observe/` - Monitoring and observability
  - `/operate/maintain/` - Updates, pruning, connections

**3. Concepts Restructured**
- `/concepts/overview/` - Core concepts and introduction
- `/concepts/architecture/` - How pgflow works
- `/concepts/flows/` - DSL and flow-specific concepts

**4. Reference Consolidation**
- `/reference/configuration/` - Configuration reference
- `/reference/apis/` - API documentation
- `/reference/queue-worker/` - Worker internals

**5. Comparisons**
- Renamed `/vs/` to `/comparisons/` for clarity

### Redirects

Added 100+ redirect rules covering all moved pages, including:
- Legacy paths from previous reorganizations
- Edge worker documentation moves
- How-to guide splits
- Concept restructuring
- Configuration moves

All redirects maintain trailing slashes per site configuration.

### Navigation Updates

Updated Starlight sidebar configuration to reflect new structure with clear categories:
- Get Started (rocket icon)
- Develop (puzzle icon)
- Operate (setting icon)
- Concepts (information icon)
- Reference (document icon)
- Tutorials (open-book icon)
- Comparisons (approve-check icon)

## Backward Compatibility

All existing URLs redirect to their new locations. External links and bookmarks will continue to work.

## Testing

- Verified all internal links resolve correctly
- Confirmed redirects work as expected
- Validated sidebar navigation structure
@graphite-app graphite-app bot closed this Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants