Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rrules
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
rrules
Merge requests
!3
Make module installable
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Make module installable
topic/15.0/installable
into
branch/15.0
Overview
0
Commits
1
Pipelines
1
Changes
20
Merged
Vincent Hatakeyama
requested to merge
topic/15.0/installable
into
branch/15.0
11 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
version 3
version 3
296847c4
11 months ago
version 2
98096cff
11 months ago
version 1
35a2d2a4
11 months ago
branch/15.0 (base)
and
latest version
latest version
42621372
1 commit,
11 months ago
version 3
296847c4
1 commit,
11 months ago
version 2
98096cff
1 commit,
11 months ago
version 1
35a2d2a4
1 commit,
11 months ago
Show latest version
1 file
+
17
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
doc/conf.py
+
17
−
14
Options
@@ -34,7 +34,7 @@
"
sphinx.ext.coverage
"
,
"
sphinx.ext.graphviz
"
,
"
sphinx.ext.viewcode
"
,
"
sphinxodoo.ext.autodoc
"
,
"
sphinxodoo
autodoc
.ext.autodoc
"
,
]
# Add any paths that contain templates here, relative to this directory.
@@ -147,7 +147,5 @@
intersphinx_mapping
=
{
"
https://docs.python.org/3/
"
:
None
}
#
# odoo-sphinx-autodoc
#
# -- Options for sphinx-odoo-autodoc extension ----------------------------
@@ -153,5 +151,6 @@
# sphinxodoo_addons : List of addons name to load (if empty, no addon will be loaded)
# sphinxodooautodoc_addons : List of addons name to load (if empty, no addon will be
# loaded)
this_module
=
os
.
path
.
basename
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
)
@@ -155,10 +154,12 @@
this_module
=
os
.
path
.
basename
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
)
sphinxodoo_addons
=
[
this_module
]
# sphinxodoo_root_path : Path of the Odoo root directory
sphinxodoo_root_path
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
odoo
.
__file__
)))
# sphinxodoo_addons_path : List of paths were Odoo addons to load are located
sphinxodooautodoc_addons
=
[
this_module
]
# sphinxodooautodoc_root_path : Path of the Odoo root directory
sphinxodooautodoc_root_path
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
odoo
.
__file__
))
)
# sphinxodooautodoc_addons_path : List of paths were Odoo addons to load are located
c
=
None
# find setup file of superproject, if any
directory
=
os
.
path
.
dirname
(
os
.
getenv
(
"
PWD
"
))
@@ -169,7 +170,7 @@
c
.
read
(
setup_path
)
if
c
.
has_section
(
"
odoo_scripts
"
):
# reload with odoo_scripts
c
=
Configuration
(
os
.
path
.
dirname
(
setup_path
)
)
c
=
Configuration
(
directory
)
else
:
c
=
None
if
not
c
:
@@ -178,9 +179,9 @@
else
:
directory
=
None
sphinxodoo_addons_path
=
list
()
sphinxodoo
autodoc
_addons_path
=
[]
if
c
:
addon_dirs
=
set
(
os
.
path
.
dirname
(
path
)
for
path
in
c
.
modules
)
for
line
in
addon_dirs
:
@@ -182,8 +183,8 @@
if
c
:
addon_dirs
=
set
(
os
.
path
.
dirname
(
path
)
for
path
in
c
.
modules
)
for
line
in
addon_dirs
:
sphinxodoo_addons_path
.
append
(
os
.
path
.
join
(
directory
,
line
))
sphinxodoo
autodoc
_addons_path
.
append
(
os
.
path
.
join
(
directory
,
line
))
else
:
# add this directory top dir
@@ -188,6 +189,8 @@
else
:
# add this directory top dir
sphinxodoo_addons_path
.
append
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
getenv
(
"
PWD
"
))))
sphinxodooautodoc_addons_path
.
append
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
getenv
(
"
PWD
"
)))
)
other_addons
=
os
.
getenv
(
"
ODOO_ADDONS_PATH
"
,
default
=
None
)
if
other_addons
:
for
addon_path
in
other_addons
.
split
(
"
,
"
):
@@ -191,4 +194,4 @@
other_addons
=
os
.
getenv
(
"
ODOO_ADDONS_PATH
"
,
default
=
None
)
if
other_addons
:
for
addon_path
in
other_addons
.
split
(
"
,
"
):
sphinxodoo_addons_path
.
append
(
addon_path
)
sphinxodoo
autodoc
_addons_path
.
append
(
addon_path
)
Loading