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 @@
# Add any Sphinx extension module names here, as strings. They can be
# 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.
templates_path = ['_templates']
......@@ -79,6 +79,9 @@
# A list of ignored prefixes for module index sorting.
# modindex_common_prefix = []
intersphinx_mapping = {
'python': ('https://docs.python.org/', None),
}
# -- Options for HTML output --------------------------------------------------
......
......@@ -47,9 +47,8 @@
.. attribute:: selected_date
`datetime.date
<http://docs.python.org/library/datetime.html#date-objects>`_
which determines the current selected day in the calendar.
:py:class:`datetime.date` which determines the current selected day in the
calendar.
.. attribute:: firstweekday
......@@ -60,8 +59,7 @@
.. method:: select(date)
Select the given date in the calendar. Date should be a
`datetime.date
<http://docs.python.org/library/datetime.html#date-objects>`_.
:py:class:`datetime.date`.
.. method:: previous_page()
......@@ -154,9 +152,7 @@
The :class:`Calendar <goocalendar.Calendar>` that received the signal.
*date*
`datetime.date
<http://docs.python.org/library/datetime.html#date-objects>`_
corresponding to the day pressed.
:py:class:`datetime.date` corresponding to the day pressed.
*user_param1*
the first user parameter (if any) specified with the connect() method.
......@@ -175,9 +171,7 @@
The :class:`Calendar <goocalendar.Calendar>` that received the signal.
*date*
`datetime.date
<http://docs.python.org/library/datetime.html#date-objects>`_
corresponding to the activated day.
:py:class:`datetime.date` corresponding to the activated day.
*user_param1*
the first user parameter (if any) specified with the connect() method
......@@ -195,9 +189,7 @@
The :class:`Calendar <goocalendar.Calendar>` that received the signal.
*date*
`datetime.date
<http://docs.python.org/library/datetime.html#date-objects>`_
corresponding to the new selected day.
:py:class:`datetime.date` corresponding to the new selected day.
*user_param1*
the first user parameter (if any) specified with the connect() method.
......@@ -234,9 +226,8 @@
The :class:`Calendar <goocalendar.Calendar>` that received the signal.
*date*
`datetime.date
<http://docs.python.org/library/datetime.html#date-objects>`_
corresponding to the selected day in the calendar.
:py:class:`datetime.date` corresponding to the selected day in the
calendar.
*user_param1*
the first user parameter (if any) specified with the connect() method.
......@@ -385,9 +376,7 @@
*caption* argument is mandatory and will be the string displayed on the
event. *start* argument is mandatory and determines the starting time of
the event. It should be a
`datetime\
<http://docs.python.org/library/datetime.html#datetime-objects>`_.
the event. It should be a :py:class:`~datetime.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
event if no *end* argument is supplied. *text_color* and *bg_color*
......@@ -406,8 +395,7 @@
.. attribute:: start
`datetime <http://docs.python.org/library/datetime.html#datetime-objects>`_
determining event start time.
:py:class:`datetime.datetime` determining event start time.
.. attribute:: end
......@@ -411,8 +399,7 @@
.. attribute:: end
`datetime <http://docs.python.org/library/datetime.html#datetime-objects>`_
determining event end time.
:py:class:`datetime.datetime` determining event end time.
.. 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