Skip to content
Snippets Groups Projects
Commit 2113c348f9a1 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Replace python documentation link by intersphinx

parent 0d6c56367bb1
No related branches found
No related tags found
1 merge request!1Add gitlab CI
Pipeline #59992 passed
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# Add any Sphinx extension module names here, as strings. They can be # Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage'] extensions = ['sphinx.ext.todo', 'sphinx.ext.intersphinx']
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
...@@ -79,6 +79,9 @@ ...@@ -79,6 +79,9 @@
# A list of ignored prefixes for module index sorting. # A list of ignored prefixes for module index sorting.
# modindex_common_prefix = [] # modindex_common_prefix = []
intersphinx_mapping = {
'python': ('https://docs.python.org/', None),
}
# -- Options for HTML output -------------------------------------------------- # -- Options for HTML output --------------------------------------------------
......
...@@ -47,9 +47,8 @@ ...@@ -47,9 +47,8 @@
.. attribute:: selected_date .. attribute:: selected_date
`datetime.date :py:class:`datetime.date` which determines the current selected day in the
<http://docs.python.org/library/datetime.html#date-objects>`_ calendar.
which determines the current selected day in the calendar.
.. attribute:: firstweekday .. attribute:: firstweekday
...@@ -60,8 +59,7 @@ ...@@ -60,8 +59,7 @@
.. method:: select(date) .. method:: select(date)
Select the given date in the calendar. Date should be a Select the given date in the calendar. Date should be a
`datetime.date :py:class:`datetime.date`.
<http://docs.python.org/library/datetime.html#date-objects>`_.
.. method:: previous_page() .. method:: previous_page()
...@@ -154,9 +152,7 @@ ...@@ -154,9 +152,7 @@
The :class:`Calendar <goocalendar.Calendar>` that received the signal. The :class:`Calendar <goocalendar.Calendar>` that received the signal.
*date* *date*
`datetime.date :py:class:`datetime.date` corresponding to the day pressed.
<http://docs.python.org/library/datetime.html#date-objects>`_
corresponding to the day pressed.
*user_param1* *user_param1*
the first user parameter (if any) specified with the connect() method. the first user parameter (if any) specified with the connect() method.
...@@ -175,9 +171,7 @@ ...@@ -175,9 +171,7 @@
The :class:`Calendar <goocalendar.Calendar>` that received the signal. The :class:`Calendar <goocalendar.Calendar>` that received the signal.
*date* *date*
`datetime.date :py:class:`datetime.date` corresponding to the activated day.
<http://docs.python.org/library/datetime.html#date-objects>`_
corresponding to the activated day.
*user_param1* *user_param1*
the first user parameter (if any) specified with the connect() method the first user parameter (if any) specified with the connect() method
...@@ -195,9 +189,7 @@ ...@@ -195,9 +189,7 @@
The :class:`Calendar <goocalendar.Calendar>` that received the signal. The :class:`Calendar <goocalendar.Calendar>` that received the signal.
*date* *date*
`datetime.date :py:class:`datetime.date` corresponding to the new selected day.
<http://docs.python.org/library/datetime.html#date-objects>`_
corresponding to the new selected day.
*user_param1* *user_param1*
the first user parameter (if any) specified with the connect() method. the first user parameter (if any) specified with the connect() method.
...@@ -234,9 +226,8 @@ ...@@ -234,9 +226,8 @@
The :class:`Calendar <goocalendar.Calendar>` that received the signal. The :class:`Calendar <goocalendar.Calendar>` that received the signal.
*date* *date*
`datetime.date :py:class:`datetime.date` corresponding to the selected day in the
<http://docs.python.org/library/datetime.html#date-objects>`_ calendar.
corresponding to the selected day in the calendar.
*user_param1* *user_param1*
the first user parameter (if any) specified with the connect() method. the first user parameter (if any) specified with the connect() method.
...@@ -385,9 +376,7 @@ ...@@ -385,9 +376,7 @@
*caption* argument is mandatory and will be the string displayed on the *caption* argument is mandatory and will be the string displayed on the
event. *start* argument is mandatory and determines the starting time of event. *start* argument is mandatory and determines the starting time of
the event. It should be a the event. It should be a :py:class:`~datetime.datetime`.
`datetime\
<http://docs.python.org/library/datetime.html#datetime-objects>`_.
All other arguments are optional. *end* argument may be a datetime, All other arguments are optional. *end* argument may be a datetime,
all_day a boolean value. An event will be considered as all day all_day a boolean value. An event will be considered as all day
event if no *end* argument is supplied. *text_color* and *bg_color* event if no *end* argument is supplied. *text_color* and *bg_color*
...@@ -406,8 +395,7 @@ ...@@ -406,8 +395,7 @@
.. attribute:: start .. attribute:: start
`datetime <http://docs.python.org/library/datetime.html#datetime-objects>`_ :py:class:`datetime.datetime` determining event start time.
determining event start time.
.. attribute:: end .. attribute:: end
...@@ -411,8 +399,7 @@ ...@@ -411,8 +399,7 @@
.. attribute:: end .. attribute:: end
`datetime <http://docs.python.org/library/datetime.html#datetime-objects>`_ :py:class:`datetime.datetime` determining event end time.
determining event end time.
.. attribute:: all_day .. attribute:: all_day
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment