File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 3434extensions = [
3535 "djangodocs" ,
3636 "sphinx.ext.intersphinx" ,
37+ "sphinx_copybutton" ,
3738]
3839
3940# templates_path = ["_templates"]
4546 "https://docs.djangoproject.com/en/5.2/_objects/" ,
4647 ),
4748 "mongodb" : ("https://www.mongodb.com/docs/languages/python/django-mongodb/v5.2/" , None ),
48- "pymongo" : ("https://pymongo.readthedocs.io/en/stable/" , None ),
49+ "pymongo" : ("https://www.mongodb.com/docs/languages/python/pymongo-driver/current/" , None ),
50+ "pymongo-api" : ("https://pymongo.readthedocs.io/en/stable/" , None ),
4951 "python" : ("https://docs.python.org/3/" , None ),
5052 "atlas" : ("https://www.mongodb.com/docs/atlas/" , None ),
5153 "manual" : ("https://www.mongodb.com/docs/manual/" , None ),
5658
5759html_theme = "furo"
5860html_static_path = ["_static" ]
61+
62+ # -- Options for copy button -------------------------------------------------
63+ # https://sphinx-copybutton.readthedocs.io/en/latest/use.html#use-and-customize
64+
65+ copybutton_prompt_text = r">>> |\.\.\. |\$ "
66+ copybutton_prompt_is_regexp = True
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ Debug logging
2424-------------
2525
2626To troubleshoot MongoDB connectivity issues, you can enable :doc: `PyMongo's
27- logging <pymongo:examples /logging>` using :doc: `Django's LOGGING setting
28- <django:topics/logging>`.
27+ logging <pymongo:monitoring-and-logging /logging>` using :doc: `Django's LOGGING
28+ setting <django:topics/logging>`.
2929
3030This is a minimal :setting: `LOGGING ` setting that enables PyMongo's ``DEBUG ``
3131logging::
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ classifiers = [
3737docs = [
3838 " sphinx>=7" ,
3939 " furo>=2025.7.19" ,
40+ " sphinx-copybutton" ,
4041]
4142
4243[project .urls ]
You can’t perform that action at this time.
0 commit comments