Skip to content

Commit 8dbcb41

Browse files
author
KooshaPari
committed
fix: fix en-dash rendering in docs ref links (fixes #493)
1 parent 85b1be1 commit 8dbcb41

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎docs/python-api.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ Here's an example that uses these features:
10251025
10261026
10271027
.. note::
1028-
In the CLI: :ref:`sqlite-utils insert --not-null and --default <cli_defaults_not_null>`
1028+
In the CLI: :ref:`sqlite-utils insert <cli_defaults_not_null>` ``--not-null`` and ``--default``
10291029

10301030
.. _python_api_rename_table:
10311031

@@ -1188,7 +1188,7 @@ To replace any existing records that have a matching primary key, use the ``repl
11881188
Prior to sqlite-utils 2.0 the ``.upsert()`` and ``.upsert_all()`` methods worked the same way as ``.insert(replace=True)`` does today. See :ref:`python_api_upsert` for the new behaviour of those methods introduced in 2.0.
11891189

11901190
.. note::
1191-
In the CLI: :ref:`sqlite-utils insert --replace <cli_insert_replace>`
1191+
In the CLI: :ref:`sqlite-utils insert <cli_insert_replace>` ``--replace``
11921192

11931193
.. _python_api_update:
11941194

@@ -1657,7 +1657,7 @@ You can insert or update data that includes new columns and have the table autom
16571657
new_table.insert({"name": "Gareth", "age": 32, "shoe_size": 11})
16581658
16591659
.. note::
1660-
In the CLI: :ref:`sqlite-utils insert --alter <cli_add_column_alter>`
1660+
In the CLI: :ref:`sqlite-utils insert <cli_add_column_alter>` ``--alter``
16611661

16621662
.. _python_api_add_foreign_key:
16631663

@@ -3360,7 +3360,7 @@ You can cause ``sqlite3`` to return more useful errors, including the traceback
33603360
sqlite3.enable_callback_tracebacks(True)
33613361
33623362
.. note::
3363-
In the CLI: :ref:`sqlite-utils query --functions <cli_query_functions>`
3363+
In the CLI: :ref:`sqlite-utils query <cli_query_functions>` ``--functions``
33643364
33653365
.. _python_api_quote:
33663366
@@ -3495,7 +3495,7 @@ Initialize SpatiaLite
34953495
:noindex:
34963496
34973497
.. note::
3498-
In the CLI: :ref:`sqlite-utils create-database --init-spatialite <cli_create_database>`
3498+
In the CLI: :ref:`sqlite-utils create-database <cli_create_database>` ``--init-spatialite``
34993499
35003500
.. _python_api_gis_find_spatialite:
35013501

0 commit comments

Comments
 (0)