Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GooCalendar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tryton
GooCalendar
Commits
2113c348f9a1
Commit
2113c348f9a1
authored
2 years ago
by
Cédric Krier
Browse files
Options
Downloads
Patches
Plain Diff
Replace python documentation link by intersphinx
parent
0d6c56367bb1
No related branches found
No related tags found
1 merge request
!1
Add gitlab CI
Pipeline
#59992
passed
2 years ago
Stage: check
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/conf.py
+4
-1
4 additions, 1 deletion
doc/conf.py
doc/index.rst
+11
-24
11 additions, 24 deletions
doc/index.rst
with
15 additions
and
25 deletions
doc/conf.py
+
4
−
1
View file @
2113c348
...
...
@@ -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.
au
todo
c
'
,
'
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 --------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
doc/index.rst
+
11
−
24
View file @
2113c348
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment