Skip to content

Conversation

@kennethkalmer
Copy link
Member

Description

Now that everything is on MDX we can remove support for textile completely.

Note

This is entirely done by Claudius and needs some pre-review eyeballs to help check everything is covered and comments make sense.

Checklist

@coderabbitai
Copy link

coderabbitai bot commented Dec 1, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch WEB-4839-remove-textile

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@GregHolmes GregHolmes left a comment

Choose a reason for hiding this comment

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

Looks good to me! Can't see any issues.

@kennethkalmer kennethkalmer self-assigned this Dec 12, 2025
kennethkalmer and others added 6 commits December 12, 2025 14:31
Remove all code that processes textile files and ERB templates from the
build pipeline. Textile content files remain in the repository but are
no longer parsed or rendered.

Changes:
- Remove textile-js imports and usage from createPages and onCreateNode
- Remove ERB processing from pre-parser pipeline
- Remove textile-partials handling from transform utilities
- Update parser steps to remove ERB and textile workarounds

After this commit, the build generates 241 MDX pages with no textile
processing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Remove all textile and ERB processing infrastructure code now that the
build pipeline no longer uses it. This includes workarounds, utilities,
and tests that validated textile parsing behavior.

Deleted:
- textile-js-workarounds directory (28 files)
- erbjs directory (ERB processing, 6 files + tests)
- Textile utility files and type definitions
- Test files dependent on textile/ERB processing

The build continues to work with no textile processing infrastructure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Remove all textile content files from the repository. These files have
already been converted to MDX format and are no longer needed.

Deleted:
- content/partials/ directory (96 textile files)
- index.textile

The content now exists exclusively in MDX format. Build continues to
work with 241 pages generated from MDX sources.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Remove all packages and configuration related to textile processing now
that textile support has been completely removed from the codebase.

Packages removed:
- textile-js: Textile markup language parser
- turndown: HTML to Markdown converter (used in textile debugging)
- diff: Text diffing library (used in textile debugging)
- @types/turndown: TypeScript types for turndown
- @types/diff: TypeScript types for diff

Configuration removed:
- debug:textile script from package.json
- textile-partials filesystem plugin from gatsby-config.ts
- textile-nanoc-compatible filesystem plugin from gatsby-config.ts

The repository no longer has any textile-related dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Update references in documentation and style guide to remove mentions
of textile format now that it is no longer supported.

Changes:
- Update CONTRIBUTING.md to remove textile references
- Fix prettier formatting in src/pages/docs/404.js
- Update writing-style-guide.md to remove textile mention

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@kennethkalmer kennethkalmer force-pushed the WEB-4839-remove-textile branch from e840b48 to 0c37385 Compare December 12, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants