Skip to content

Fix authors format and migrate from mkdocs-material to Zensical - #6

Open
kwk wants to merge 1 commit into
entangled:mainfrom
kwk:fix/authors-format-and-zensical-migration
Open

kwk wants to merge 1 commit into
entangled:mainfrom
kwk:fix/authors-format-and-zensical-migration

Conversation

@kwk

@kwk kwk commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

The template generated an invalid authors field in pyproject.toml using a plain string instead of the PEP 621 object format. Split project_author into project_author_name and project_author_email to produce the correct [{ name = "...", email = "..." }] syntax.

Also migrate from mkdocs-material (end-of-life May 2027) to its maintained successor Zensical, bump entangled-cli to >=2.5.0, and narrow requires-python to >=3.13,<4 (required by poetry's resolver since entangled-cli constrains Python to <4).

The template generated an invalid authors field in pyproject.toml
using a plain string instead of the PEP 621 object format. Split
project_author into project_author_name and project_author_email
to produce the correct `[{ name = "...", email = "..." }]` syntax.

Also migrate from mkdocs-material (end-of-life May 2027) to its
maintained successor Zensical, bump entangled-cli to >=2.5.0, and
narrow requires-python to >=3.13,<4 (required by poetry's resolver
since entangled-cli constrains Python to <4).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jhidding

jhidding commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Zensical doesn't actually support external plugins at the moment. They are locking down a lot of the ecosystem in ways that are not so nice to the open source mindset. I had a chat with Claude about this and there are several ways forward:

  • change the plugin to a markdown_extension instead of a full MkDocs plugin
  • keep the current plan for MkDocs, but also have the markdown extension, just for Zensical.

At the same time I'm seeing that a lot of the functionality in the plugin is shared with potential implementations for other tools. I'm thinking that a generic Markdown to Markdown tool as part of the main entangled.py package would be the better way. As it is, I'm not ready to embrace Zensical when a user asks for MkDocs explicitly. I'd rather drop the mkdocs-material theme and have a new template for Zensical.

@kwk

kwk commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

@jhidding do you think it makes sense to split the PR so that the author fix can be added?

@jhidding

jhidding commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Sure!

@kwk

kwk commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

@jhidding okay, #7 was opened with this change.

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