Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Accounting Periods
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
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
Accounting Periods
Commits
c522ed1019e5
Commit
c522ed1019e5
authored
5 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
fix documentation generation
parent
72d97c5696f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.rst
+1
-1
1 addition, 1 deletion
README.rst
doc/Makefile
+1
-1
1 addition, 1 deletion
doc/Makefile
doc/autotodo.py
+4
-3
4 additions, 3 deletions
doc/autotodo.py
doc/conf.py
+8
-6
8 additions, 6 deletions
doc/conf.py
doc/index.rst
+0
-1
0 additions, 1 deletion
doc/index.rst
with
14 additions
and
12 deletions
README.rst
+
1
−
1
View file @
c522ed10
.. _README:
Accounting
p
eriods
Accounting
P
eriods
==================
Per-period accounting concept. Periods can be individually closed.
...
...
This diff is collapsed.
Click to expand it.
doc/Makefile
+
1
−
1
View file @
c522ed10
...
...
@@ -13,7 +13,7 @@
endif
project
:=
$(
shell
basename
$(
shell
readlink
-f
..
))
branch
:=
$(
shell hg branch
)
branch
:=
$(
shell hg
identify
--
branch
)
# Internal variables.
PAPEROPT_a4
=
-D
latex_paper_size
=
a4
...
...
This diff is collapsed.
Click to expand it.
doc/autotodo.py
+
4
−
3
View file @
c522ed10
...
...
@@ -64,7 +64,8 @@
"
\t\t
:language: python
\n
"
"
\t\t
:lines: %s-%s
\n
"
"
\t\t
:emphasize-lines: %s
\n
"
%
(
%
(
class_name
,
"
-
"
*
len
(
class_name
),
line
,
...
...
@@ -81,7 +82,7 @@
def
create_autotodo
(
folder
,
todolist
):
with
open
(
"
autotodo
"
,
"
w+
"
)
as
f
:
for
tag
,
info
in
list
(
todolist
.
items
()
)
:
for
tag
,
info
in
todolist
.
items
():
f
.
write
(
"
%s
\n
%s
\n\n
"
%
(
tag
,
"
=
"
*
len
(
tag
)))
write_info
(
f
,
info
,
folder
)
...
...
@@ -93,7 +94,7 @@
(
root
,
ext
)
=
os
.
path
.
splitext
(
name
)
if
ext
in
exts
:
file_info
=
scan_file
(
os
.
path
.
join
(
dirname
,
name
),
tags
)
for
tag
,
info
in
list
(
file_info
.
items
()
)
:
for
tag
,
info
in
file_info
.
items
():
if
info
:
res
[
tag
].
extend
(
info
)
...
...
This diff is collapsed.
Click to expand it.
doc/conf.py
+
8
−
6
View file @
c522ed10
...
...
@@ -238,7 +238,7 @@
(
master_doc
,
"
%s.tex
"
%
module_nospace
,
u
"
%s Documentation
"
%
project
,
"
%s Documentation
"
%
project
,
author
,
"
manual
"
,
)
...
...
@@ -270,7 +270,7 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages
=
[
(
master_doc
,
module_lowercase
,
u
"
%s Documentation
"
%
project
,
[
author
],
1
)
(
master_doc
,
module_lowercase
,
"
%s Documentation
"
%
project
,
[
author
],
1
)
]
# If true, show URL addresses after external links.
...
...
@@ -308,8 +308,6 @@
# If true, do not generate a @detailmenu in the "Top" node's menu.
# texinfo_no_detailmenu = False
todo_include_todos
=
True
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping
=
{
"
https://docs.python.org/3/
"
:
None
}
...
...
@@ -332,7 +330,7 @@
superproject_path
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
getenv
(
"
PWD
"
)))
)
c
=
configparser
.
Safe
ConfigParser
()
c
=
configparser
.
ConfigParser
()
c
.
read
(
os
.
path
.
join
(
superproject_path
,
"
setup.cfg
"
))
sphinxodoo_addons_path
=
[]
...
...
@@ -336,5 +334,9 @@
c
.
read
(
os
.
path
.
join
(
superproject_path
,
"
setup.cfg
"
))
sphinxodoo_addons_path
=
[]
for
line
in
c
.
get
(
"
odoo_scripts
"
,
"
addon_dirs
"
).
splitlines
():
addon_dirs
=
set
(
os
.
path
.
dirname
(
path
)
for
path
in
c
.
get
(
"
odoo_scripts
"
,
"
modules
"
).
split
())
for
line
in
addon_dirs
:
sphinxodoo_addons_path
.
append
(
os
.
path
.
join
(
superproject_path
,
line
))
This diff is collapsed.
Click to expand it.
doc/index.rst
+
0
−
1
View file @
c522ed10
...
...
@@ -6,7 +6,6 @@
:maxdepth: 2
README
modules
NEWS
TODO
...
...
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