-
Notifications
You must be signed in to change notification settings - Fork 64
Create README.md #1916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
missysuperdoc
wants to merge
1
commit into
main
Choose a base branch
from
missy/sd-1740-create-template-for-rendering-features-and-add-to-main-repo-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+101
−0
Open
Create README.md #1916
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| # Rendering Ticket Template (Word / DOCX) | ||
|
|
||
| This directory contains the canonical **Linear ticket template** for implementing or fixing **rendering support** in SuperDoc’s Word/DOCX engine. | ||
|
|
||
| The template is designed to be: | ||
| - Feature-agnostic (usable for any rendering feature) | ||
| - Consistent across tickets | ||
| - Easy for AI agents (Codex, Claude, etc.) to fill automatically | ||
| - Explicit about containers, styles, and test expectations | ||
|
|
||
| --- | ||
|
|
||
| ## When to use this template | ||
|
|
||
| Use `rendering-feature.md` for any work involving: | ||
| - Rendering a new Word feature | ||
| - Fixing incorrect or inconsistent rendering | ||
| - Ensuring feature parity across containers (body, tables, headers, etc.) | ||
| - Handling style inheritance, defaults, or theme-driven formatting | ||
|
|
||
| Examples: | ||
| - Table borders | ||
| - Text decorations (superscript, underline, etc.) | ||
| - Paragraph spacing / alignment | ||
| - Shading, fills, borders | ||
| - Font, color, or layout-related behavior | ||
|
|
||
| --- | ||
|
|
||
| ## How to fill the template | ||
|
|
||
| ### Required placeholders | ||
| Agents or authors should replace the following placeholders: | ||
|
|
||
| - `{{feature_name}}` | ||
| Short, descriptive name (e.g. “Table Borders”, “Superscript”) | ||
|
|
||
| - `{{application_level_1..3}}` | ||
| Where the feature can be applied (e.g. table-level, cell-level, run-level) | ||
|
|
||
| - `{{attribute_1..3}}` | ||
| Relevant attributes for the feature (e.g. style, color, width, alignment) | ||
|
|
||
| - `{{sample_docs_or_links}}` | ||
| Links to fixture documents or examples (Linear uploads or repo files) | ||
|
|
||
| - `{{notes}}` | ||
| Optional. Use “N/A” if there are no known edge cases. | ||
|
|
||
| --- | ||
|
|
||
| ## Container expectations | ||
|
|
||
| Unless explicitly out of scope, rendering features are expected to work across **all listed containers** in the template. | ||
| If a container truly does not apply, it should be called out in **Notes / Out of Scope**. | ||
|
|
||
| --- | ||
|
|
||
| ## Style expectations | ||
|
|
||
| All rendering features must respect Word’s full style cascade: | ||
| - Direct formatting | ||
| - Applied styles | ||
| - Style inheritance | ||
| - Document defaults | ||
| - Numbering (if applicable) | ||
| - Themes | ||
|
|
||
| **Direct formatting always overrides other sources.** | ||
|
|
||
| --- | ||
|
|
||
| ## Test expectations | ||
|
|
||
| Each rendering ticket is expected to include: | ||
| - Fixtures covering all applicable style sources | ||
| - Coverage across all major containers | ||
| - Enough variation to catch inheritance and override bugs | ||
|
|
||
| --- | ||
|
|
||
| ## Agent usage (important) | ||
|
|
||
| AI agents generating Linear tickets should: | ||
| 1. Start from `rendering-feature.md` | ||
| 2. Fully replace all placeholders | ||
| 3. Preserve section structure and headings | ||
| 4. Output the final Markdown as the Linear ticket body | ||
|
|
||
| Do not invent new sections or remove required ones. | ||
|
|
||
| --- | ||
|
|
||
| ## Versioning | ||
|
|
||
| If this template changes in a non-backward-compatible way, update this README and note the change in the template header. | ||
|
|
||
| --- | ||
|
|
||
| **Source of truth:** | ||
| This template is the single canonical format for rendering-related Linear tickets in SuperDoc. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this live in github repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great call! I will move to private repo.