You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- #25: return [] silently on 429 instead of logging WARNING
- #9: auto-detect input_type='bib' when file has .bib extension
- #8: remove false claim that keywords route to specific data sources
- #18: clarify entries must be blank-line separated in basic_usage docs
- #11: update api/core.rst with use_google_scholar param
- #12: remove nonexistent requirements-dev.txt from CONTRIBUTING.md
- #15: remove false claim about black formatting from CONTRIBUTING.md
- #6: update data sources description to reflect actual behaviour
- docs: document --google-scholar, direct string input, and stdin
Closes#25Closes#9Closes#8Closes#11Closes#12Closes#15Closes#18
Copy file name to clipboardExpand all lines: docs/advanced_usage.rst
+2-22Lines changed: 2 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,29 +51,9 @@ Process multiple files sequentially::
51
51
Working with Different Data Sources
52
52
------------------------------------
53
53
54
-
OneCite routes queries to data sources based on content type:
54
+
OneCite queries multiple data sources (CrossRef, PubMed, arXiv, Semantic Scholar, Google Books, and others) and selects the best match. All sources are tried for every reference — you do not need to configure routing manually::
55
55
56
-
**For Biomedical Literature**
57
-
58
-
Add search terms related to medicine, biology, or health::
59
-
60
-
onecite process medical_refs.txt
61
-
62
-
This will prioritize PubMed when available.
63
-
64
-
**For Computer Science**
65
-
66
-
Add search terms related to CS topics::
67
-
68
-
onecite process cs_refs.txt
69
-
70
-
This will prioritize DBLP and arXiv.
71
-
72
-
**For General Academic Work**
73
-
74
-
Mixed references will use CrossRef and Semantic Scholar::
- ``input_content`` (str): The reference content to process
27
-
- ``input_type`` (str): Type of input - "txt" or "bib" (required)
28
-
- ``template_name`` (str): Template name to use (e.g., "journal_article_full") (required)
29
-
- ``output_format`` (str): Output format - "bibtex", "apa", or "mla" (required)
28
+
- ``input_type`` (str): Type of input - ``"txt"`` or ``"bib"`` (required)
29
+
- ``template_name`` (str): Template name to use (e.g., ``"journal_article_full"``) (required)
30
+
- ``output_format`` (str): Output format - ``"bibtex"``, ``"apa"``, or ``"mla"`` (required)
30
31
- ``interactive_callback`` (Callable): Function to handle ambiguous matches. Takes a list of candidate dicts and returns the selected index (0-based), or -1 to skip (required)
32
+
- ``use_google_scholar`` (bool): Enable Google Scholar as an additional data source. Requires the optional ``scholarly`` package. Default is ``False``.
0 commit comments