Skip to content

docs: render insert --convert and query --functions with literal hyphens - #844

Open
jennifferweslowski-design wants to merge 1 commit into
simonw:mainfrom
jennifferweslowski-design:docs/fix-493-literal-double-hyphen
Open

docs: render insert --convert and query --functions with literal hyphens#844
jennifferweslowski-design wants to merge 1 commit into
simonw:mainfrom
jennifferweslowski-design:docs/fix-493-literal-double-hyphen

Conversation

@jennifferweslowski-design

@jennifferweslowski-design jennifferweslowski-design commented Aug 14, 2026

Copy link
Copy Markdown

Summary

Sphinx smartquotes turns -- into an en-dash when those flags sit in :ref: display text, so the install docs showed insert –convert and query –functions.

Moved the flags into RST code roles (``--convert`` / ``--functions``) and left the :ref: links on insert and query. Smartquotes does not rewrite literals, so the CLI flags stay copyable.

Fixes #493

Test plan

  • Confirm the install section at cli.html#cli-install shows insert --convert and query --functions (two hyphens, not an en-dash)
  • Confirm the insert and query words still link to cli_insert_convert and cli_query_functions

📚 Documentation preview 📚: https://sqlite-utils--844.org.readthedocs.build/en/844/

Sphinx smartquotes turns -- into an en-dash inside :ref: display text. Use code roles so the CLI flags stay copyable.

Fixes simonw#493
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.

Tiny typographical error in install/uninstall docs

1 participant