Skip to content

Commit 0be6daa

Browse files
author
Gerit Wagner
committed
docs: copybutton
1 parent c4ae245 commit 0be6daa

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# -- General configuration ---------------------------------------------------
1414
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
1515

16-
extensions = []
16+
extensions = ["sphinx_copybutton"]
1717

1818
templates_path = ["_templates"]
1919
exclude_patterns = []

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Search-query can parse queries from strings and JSON files in the standard forma
7171
"date": {"data_entry": "2019.07.01", "search_conducted": "2019.07.01"},
7272
"platform": "Web of Science",
7373
"database": ["SCI-EXPANDED", "SSCI", "A&HCI"],
74-
"search_string": "TS=(quantum AND dot AND spin)",
74+
"search_string": "TS=(quantum AND dot AND spin)"
7575
}
7676
7777
To load a JSON query file, run the parser:

docs/source/parser/parser_index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ Overview of query parsers:
1414
- structured
1515

1616
- pre_notation
17-

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ requires-python = ">=3.8"
3131
docs = [
3232
"Sphinx>=5.2.3",
3333
"sphinx-rtd-theme>=1.1.1",
34+
"sphinx-copybutton>=0.5.2",
3435
]
3536
dev = [
3637
"pylint==3.0.1",

0 commit comments

Comments
 (0)