Dvorapa updated the task description. (Show Details)

CHANGES TO TASK DESCRIPTION
Below are all the remaining warnings:Warnings are now reduced to 194 warnings, which @Dvorapa (me) is not able to solve:

- test command found but not installed in testenv (1): from testenv
- Site objects have been created before arguments were handled (1 in bot.py): from testenv

{P6679, lines=10}

These are now reduced to 194 warnings, which @Dvorapa (me) is not able to solve:

- test command found but not installed in testenv (1): from testenv
- Definition list ends without a blank line (2 in weblinkchecker): this is weird as it is indented and still it produces these errors {nav name=possibly upstream}
- Block quote ends without a blank line (1 in featured): no idea {nav name=possibly upstream}
- Inline substitution_reference start-string without end-string (3 in archivebot_tests and api): somehow the fix in conf.py doesn't affect these two even if it is moved before script and module conditions {nav name=possibly upstream}

- Site objects have been created before arguments were handled (1 in bot.py): from testenvfailed to import method (12 in site_tests and eventstreams_tests): no idea as these are no listed anywhere in docs autodoc templates and the names seems pretty broken {nav name=possibly upstream}
- API error invalidtitle: Bad title "Category::-M" (1 in makecat): failed to import makecat.py as a whole. This is somehow linked also to the previous error in bot.py, see also following:invalid signature for automethod (5 in page_tests and plural_tests): {nav name=possibly upstream}
- failed to import module (lua in script_wui, tkinter in userinterfaces.gui and makecat as a whole): first two probably not possibledon't know which module to import for autodocumenting (same 5): {nav name=possibly upstream}
- Definition list ends without a blank line (2 in weblinkchecker): this is weird as it is indented and still it produces these errors {nav name=possibly upstream}Literal block expected; none found (4 in category, patrol and welcome): ":" before paragraph, not before indented text. It is processed to "::" by conf.py, therefore throws these warnings
- Block quote ends without a blank line (1 in featured): no idea {nav name=possibly upstream}more than one target found for cross-reference (156): we should be more specific in `@type param: Page` and similar

These warnings and errors make doc builds for the issued scripts completely failing (therefore missing in docs):

- Inline substitution_reference start-string without end-string (3 in archivebot_tests and api): somehow the fix in conf.py doesn't affect these two even if it is moved before script and module conditions {nav name=possibly upstream}makecat.py: build skips it successfully
- failed to import method (12 in site_tests and eventstreams_tests): no idea as these are no listed anywhere in docs autodoc templates and the names seems pretty broken {nav name=possibly upstream} - API error invalidtitle: Bad title "Category::-M": failed to import makecat.py. This is somehow linked also to the warning in bot.py above.
- invalid signature for automethod (5 in page_tests and plural_tests): {nav name=possibly upstream}- script_wui.py, userinterfaces/gui.py: build skips it successfully
- don't know which module to import for autodocumenting (same 5): {nav name=possibly upstream} - failed to import module (lua in script_wui.py, _tkinter in userinterfaces/gui.py and makecat in bot.py): first two probably not possible
- Literal block expected; none found (4 in category, patrol and welcome): ":" before paragraph, not before indented text. It is processed to "::" by conf.py{T192357}: produces build error, therefore throws these warningscompletely suppressed
- more than one target found for cross-reference (156): we should be more specific in `@type param: Page` and similar- {T192356}: produces build error, therefore completely suppressed

Errors and warnings can be easily tested on:
...
Note: Don't forget to process raw docstring to " -" and "::" before pasting to the editors above, see docs/conf.py for more details

Below is somewhat last whole documentation build with all the remaining warnings:
{P6679, lines=10}


Below fixed in T192255.:
~~As pointed out in T185082, the build throws thousands of warnings about nonexistent linkage. See e.g. the last build: https://integration.wikimedia.org/ci/job/pywikibot-core-tox-doc-docker/1085/consoleText. It looks like there are some relative path issues. The vast majority of docs builds successfully, so these might be only minor issues.~~
...

TASK DETAIL
https://phabricator.wikimedia.org/T187009

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Zoranzoki21, gerritbot, Aklapper, pywikibot-bugs-list, Dvorapa, Cpaulf30, Ivana_Isadora, Jayprakash12345, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Dinoguy1000, jayvdb, Dalba, Masti, Alchimista, Rxy, Jay8g
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to