Skip to content

Docs + MCP: dark_mode export param, visual-identity docs, translated READMEs#13

Merged
JE-Chen merged 1 commit into
mainfrom
dev
May 21, 2026
Merged

Docs + MCP: dark_mode export param, visual-identity docs, translated READMEs#13
JE-Chen merged 1 commit into
mainfrom
dev

Conversation

@JE-Chen
Copy link
Copy Markdown
Member

@JE-Chen JE-Chen commented May 21, 2026

Summary

Follow-on to #12 — closes the documentation gap on the visual-identity / dark-mode work that already shipped.

  • MCP export tool: new dark_mode: bool = True parameter so LLM-as-agent flows can opt into the light/printable variant over the wire without dropping to the CLI.
  • English surface: README.md + docs/en/index.rst + docs/architecture.md + docs/mcp.md + docs/gui.md updated with visual-identity / dark-mode / zh-tw vocab-guard sections. GUI tabs marked functional (Enrich + Deck shipped in GUI: launch on bare invocation + implement Enrich and Deck tabs #11).
  • 13 translated READMEs (zh-TW, zh-CN, ja, es, fr, de, ko, pt, ru, it, vi, hi, id): two new bullets after .json covering designed visual identity (typography + accent geometry + academic tables, teal #0E7490 emphasis, no red text) and dark-mode default with --light-mode opt-out. zh-TW + zh-CN also gained the --light-mode CLI flag table row.

Test plan

  • pytest tests/ — 515/515 pass
  • ruff check autopapertoppt/ sources/ tests/ scripts/ — clean
  • bandit -c pyproject.toml -r autopapertoppt/ sources/ — pre-existing nosec note only
  • pytest tests/test_mcp_tools.py — MCP signature change covered

…cs, MCP

MCP server:
- export tool now accepts dark_mode (default true). Brought it on the
  wire so LLM-as-agent flows can opt into the light/printable variant
  without dropping to the CLI.

English surface:
- README.md: visual identity + dark-mode bullets in Features; GUI
  section says Enrich + Deck tabs are functional; export tool row
  mentions dark_mode; zh-tw vocabulary guard bullet.
- docs/en/index.rst: new "Designed-deck visual identity", "Dark mode",
  and "zh-tw / zh-cn vocabulary guard" subsections under PPTX layout;
  export tool row mentions dark_mode.
- docs/architecture.md: new "Post-build visual-identity passes"
  subsection — typography pass, accent geometry pass, dark-mode
  recolour pass with mapping-dict mechanics.
- docs/mcp.md: dark_mode parameter documented; typography pass note
  added to the language field.
- docs/gui.md: Enrich + Deck tab placeholder copy replaced with
  shipped functionality (collection_ready signal, Light mode checkbox,
  slide-cap + figures controls).

Translated READMEs (13 languages — zh-TW, zh-CN, ja, es, fr, de, ko,
pt, ru, it, vi, hi, id): added two bullets after .json — designed
visual identity (per-language typography + accent geometry + academic
tables, no red text, teal #0E7490 emphasis) and dark mode default
(--light-mode opt-out). zh-TW + zh-CN also got the --light-mode CLI
flag table entry.
@JE-Chen JE-Chen merged commit 878a393 into main May 21, 2026
12 checks passed
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.

1 participant