You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add strict-sphinx for issue creation
* add vnext_issue creator to run_sphinx_build
* add GH_TOKEN to generate docs to step
* update template
* update date to april deadline
* don't need args
* only open issues if running in analyze-weekly
* add in rohit's feedback
f"\n**{check_type.capitalize()} errors:** [Link to build ({today.strftime('%Y-%m-%d')})]({build_link})"
115
-
f"\n**How to fix:** Run the `next-{check_type}` tox command at the library package-level and resolve "
116
-
f"the {error_type} errors.\n"
117
-
f"1) `../{package_name}>pip install \"tox<5\"`\n"
118
-
f"2) `../{package_name}>tox run -e next-{check_type} -c ../../../eng/tox/tox.ini --root .`\n\n"
119
-
f"See the {guide_link} for more information."
120
-
)
107
+
ifcheck_type=="sphinx":
108
+
merge_date="2024-04-15"# This is a one-time event
109
+
error_type="docstring"
110
+
guide_link="[Sphinx and docstring checker](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/eng_sys_checks.md#sphinx-and-docstring-checker)"
111
+
title=f"{package_name} needs {error_type} updates for {check_type}"
112
+
template= (
113
+
f"**ACTION NEEDED:** All {check_type} errors and warnings must be fixed by **{merge_date}**. "
114
+
f"The build will begin to fail for this library if errors are not fixed."
115
+
f"\n\nThis issue indicates that your library reference documentation is rendering with errors. To avoid customer issues, please ensure you take care of these errors and warnings ASAP."
116
+
f"\n\n**Library name:** {package_name}"
117
+
f"\n**{check_type.capitalize()} build:** [Link to build ({today.strftime('%Y-%m-%d')})]({build_link})"
118
+
f"\n**How to fix:** Run the `strict-{check_type}` tox command at the library package-level and resolve "
119
+
f"the {error_type} errors and warnings.\n"
120
+
f"1) `../{package_name}>pip install \"tox<5\"`\n"
121
+
f"2) `../{package_name}>tox run -e strict-{check_type} -c ../../../eng/tox/tox.ini --root .`\n\n"
122
+
f"3) Once resolved, set `strict_sphinx = true` in the package's pyproject.toml file.\n\n"
0 commit comments