<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/doc/_extensions/autojsdoc/parser, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[MOV] doc: move documentation to a dedicated repository</title>
<updated>2021-05-04T08:09:20+00:00</updated>
<author>
<name>Victor Feyens</name>
<email>vfe@odoo.com</email>
</author>
<published>2021-04-30T13:24:57+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=27bad8c3e32049ec69a588df0558e57a0b928309'/>
<id>27bad8c3e32049ec69a588df0558e57a0b928309</id>
<content type='text'>
In odoo/documentation-user#945, the developer documentation is merged
with the user documentation in a single repository and build config.

This commit then removes source files for the developer documentation
from the odoo/odoo repository.

DOC PR: https://github.com/odoo/documentation-user/pull/945

task-2351938
task-2352371
task-2205684
task-2352544

Co-authored-by: Victor Feyens &lt;vfe@odoo.com&gt;
Co-authored-by: Antoine Vandevenne &lt;anv@odoo.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In odoo/documentation-user#945, the developer documentation is merged
with the user documentation in a single repository and build config.

This commit then removes source files for the developer documentation
from the odoo/odoo repository.

DOC PR: https://github.com/odoo/documentation-user/pull/945

task-2351938
task-2352371
task-2205684
task-2352544

Co-authored-by: Victor Feyens &lt;vfe@odoo.com&gt;
Co-authored-by: Antoine Vandevenne &lt;anv@odoo.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch 12.0 up to 8f21148e1a8</title>
<updated>2019-05-31T12:37:38+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2019-05-31T12:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=cfe0523714b4244b080a268c0697f270f0b19e5b'/>
<id>cfe0523714b4244b080a268c0697f270f0b19e5b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] doc: error &amp; potential warnings</title>
<updated>2019-05-21T14:19:13+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2019-05-21T14:19:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7b00776c6c59851a3de3d6e379f354671954d122'/>
<id>7b00776c6c59851a3de3d6e379f354671954d122</id>
<content type='text'>
* properly handle 3-args version of odoo.define(): just ignore the
second argument, pretty much the only use-case is dynamic
dependencies (otherwise it should be using static require() calls)
so there's little the extractor can do
* fix an issue with sys.path ordering meaning sphinx would pick up an
odoo installed into the current virtualenv (editable or not) over
the local copy it's part of

closes odoo/odoo#33538

Signed-off-by: Xavier Morel (xmo) &lt;xmo@odoo.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* properly handle 3-args version of odoo.define(): just ignore the
second argument, pretty much the only use-case is dynamic
dependencies (otherwise it should be using static require() calls)
so there's little the extractor can do
* fix an issue with sys.path ordering meaning sphinx would pick up an
odoo installed into the current virtualenv (editable or not) over
the local copy it's part of

closes odoo/odoo#33538

Signed-off-by: Xavier Morel (xmo) &lt;xmo@odoo.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] doc: workarounds for weirdo code &amp; refs</title>
<updated>2019-02-18T08:55:57+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2019-02-05T10:14:57+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=cca26f7952826601e9119478ac0edc30859d7f6a'/>
<id>cca26f7952826601e9119478ac0edc30859d7f6a</id>
<content type='text'>
Make UnknownNS more capable (of giving no fucks) so the documentation
builder blows up less on weird-ass code at module toplevels.

UnknownNS should probably be split out from NSDoc though, that requires
odd workarounds in `__getitem__`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make UnknownNS more capable (of giving no fucks) so the documentation
builder blows up less on weird-ass code at module toplevels.

UnknownNS should probably be split out from NSDoc though, that requires
odd workarounds in `__getitem__`.</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-11.4 up to f6ca72b3ce9</title>
<updated>2018-11-02T09:52:55+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2018-11-02T09:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=5e055a2afd23bd4e6a29c18c86d1978dcd98fc9f'/>
<id>5e055a2afd23bd4e6a29c18c86d1978dcd98fc9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] doc: building on Python 3.6.7, 3.7.1, possibly 2.7.???</title>
<updated>2018-10-23T10:39:22+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2018-10-23T10:39:22+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=35bb8304ab99bde2623b9b64b80728d31fbee14f'/>
<id>35bb8304ab99bde2623b9b64b80728d31fbee14f</id>
<content type='text'>
https://bugs.python.org/issue33899

tokenize.generate_tokens was altered to match the C tokenizer,
previously it would end the tokenization with just an ENDMARKER, in the
titled releases it adds a NEWLINE before the ENDMARKER if none is
present, this broke the parsing of jsdoc type specifications as Python's
tokenizer is used under the cover.

closes odoo/odoo#28056</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue33899

tokenize.generate_tokens was altered to match the C tokenizer,
previously it would end the tokenization with just an ENDMARKER, in the
titled releases it adds a NEWLINE before the ENDMARKER if none is
present, this broke the parsing of jsdoc type specifications as Python's
tokenizer is used under the cover.

closes odoo/odoo#28056</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] doc: implement delegation/inheritance in JS documenter</title>
<updated>2018-10-01T15:31:41+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2018-10-01T15:25:59+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=00eefae98de7563b0c8018243ddf06482890fd51'/>
<id>00eefae98de7563b0c8018243ddf06482890fd51</id>
<content type='text'>
Else website_sale_wishlist.wishlist blows up the documenter:
``events`` is set to sAnimations.Class.events but that is not an "own
property" of sAnimation.Class, it is instead inherited from Widget.

If delegation is not implemented, the value resolves to &lt;nothing&gt;,
which blows up when trying to set its name to the "property name" (by
calling ``set_name``).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Else website_sale_wishlist.wishlist blows up the documenter:
``events`` is set to sAnimations.Class.events but that is not an "own
property" of sAnimation.Class, it is instead inherited from Widget.

If delegation is not implemented, the value resolves to &lt;nothing&gt;,
which blows up when trying to set its name to the "property name" (by
calling ``set_name``).
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] doc building and warnings</title>
<updated>2018-08-27T10:55:21+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2018-08-27T10:55:21+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0e307f8280eda4343a63c7faa2d52e33d46c9c0c'/>
<id>0e307f8280eda4343a63c7faa2d52e33d46c9c0c</id>
<content type='text'>
doc:

* fix incorrect doc comments (documenting params which don't exist)
* correctly quote non-refs
* fix role label syntax (backticks must be escaped)
* add newline to fix warning

JS doc parser:

* fix handling of already-resolved objects
* fix handling of non-string properties (e.g. foo[0] at module toplevel)
* don't blow up if subject of .include call can't be resolved (just ignore)

Others:

* add translator support for ``problematic`` node (apparently used for
  some refs by recent Sphinx)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
doc:

* fix incorrect doc comments (documenting params which don't exist)
* correctly quote non-refs
* fix role label syntax (backticks must be escaped)
* add newline to fix warning

JS doc parser:

* fix handling of already-resolved objects
* fix handling of non-string properties (e.g. foo[0] at module toplevel)
* don't blow up if subject of .include call can't be resolved (just ignore)

Others:

* add translator support for ``problematic`` node (apparently used for
  some refs by recent Sphinx)
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] various broken JS docstrings</title>
<updated>2018-07-24T10:06:13+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2018-07-24T10:06:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a56372a4caa8b716ac0a4c36b3265ddce2d7b8d1'/>
<id>a56372a4caa8b716ac0a4c36b3265ddce2d7b8d1</id>
<content type='text'>
Resulting in sphinx warnings or ill-formatted doc all the way to the
doc not building at all.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resulting in sphinx warnings or ill-formatted doc all the way to the
doc not building at all.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] doc: tokenization of nested generics in JS docstrings</title>
<updated>2018-02-19T12:22:58+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2018-02-19T12:16:29+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f1143b40739ae50989c416a002aa55122c02bdfe'/>
<id>f1143b40739ae50989c416a002aa55122c02bdfe</id>
<content type='text'>
With more than 1 level of generic type, the "closure" of generic
parameters would get tokenized by python as a single right shift (&gt;&gt;)
rather than two gt (&gt;, &gt;) leading to our own tokenizing pass getting
lost and blowing up.

Fix by explicitly recognizing and splitting (&gt;&gt;) into (&gt;, &gt;). We could
consider writing the entire tokenizer ourselves instead of
post-processing Python's but given the entire post-processing function
is currently shorter than just Pythons' tokenizer's regexes...

Anyway issue found by vsc while trying to write better docstrings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With more than 1 level of generic type, the "closure" of generic
parameters would get tokenized by python as a single right shift (&gt;&gt;)
rather than two gt (&gt;, &gt;) leading to our own tokenizing pass getting
lost and blowing up.

Fix by explicitly recognizing and splitting (&gt;&gt;) into (&gt;, &gt;). We could
consider writing the entire tokenizer ourselves instead of
post-processing Python's but given the entire post-processing function
is currently shorter than just Pythons' tokenizer's regexes...

Anyway issue found by vsc while trying to write better docstrings.
</pre>
</div>
</content>
</entry>
</feed>
