Remove embed-data feature flag

This mode still has some problems (see the next commit) but having
it behind a feature flag doesn't serve us. Let's commit to the parts
we want to keep and drop anything that we don't want.

To reduce diff noise, use "if false" in the code paths used by man
pages; a following commit will use them.
This commit is contained in:
Johannes Altmanninger
2025-11-20 10:23:51 +01:00
parent 4770ef2df8
commit 95aeb16ca2
21 changed files with 95 additions and 276 deletions

View File

@@ -185,7 +185,7 @@ You can also install Sphinx another way and drop the ``uv run --no-managed-pytho
This will place standalone binaries in ``~/.cargo/bin/``, but you can move them wherever you want.
To disable translations, disable the ``localize-messages`` feature by passing ``--no-default-features --features=embed-data`` to cargo.
To disable translations, disable the ``localize-messages`` feature by passing ``--no-default-features`` to cargo.
You can also link this build statically (but not against glibc) and move it to other computers.