To get the root cause of the problem (ABI files reported as changed),
I used this changeset:
- diff --git a/Documentation/conf.py b/Documentation/conf.py
- index e8766e689c1b..ab486623bd8b 100644
- --- a/Documentation/conf.py
- +++ b/Documentation/conf.py
- @@ -571,3 +571,16 @@ def setup(app):
- """Patterns need to be updated at init time on older Sphinx versions"""
-
- app.connect('config-inited', update_patterns)
- + app.connect('env-get-outdated', on_outdated)
- +
- +def on_outdated(app, env, added, changed, removed):
- + """Track cache outdated due to added/changed/removed files"""
- + print("\n[OUTDATED]")
- + print(f"Added: {added}")
- + print(f"Changed: {changed}")
- + print(f"Removed: {removed}")
- + print(f"All docs count: {len(env.all_docs)}")
- + print(f"Found docs count: {len(env.found_docs)}")
- +
- + # Just return what we have
- + return added | changed | removed
+# diff --git a/Documentation/conf.py b/Documentation/conf.py
+# index e8766e689c1b..ab486623bd8b 100644
+# --- a/Documentation/conf.py
+# +++ b/Documentation/conf.py
+# @@ -571,3 +571,16 @@ def setup(app):
+# """Patterns need to be updated at init time on older Sphinx versions"""
+#
+# app.connect('config-inited', update_patterns)
+# + app.connect('env-get-outdated', on_outdated)
+# +
+# +def on_outdated(app, env, added, changed, removed):
+# + """Track cache outdated due to added/changed/removed files"""
+# + print("\n[OUTDATED]")
+# + print(f"Added: {added}")
+# + print(f"Changed: {changed}")
+# + print(f"Removed: {removed}")
+# + print(f"All docs count: {len(env.all_docs)}")
+# + print(f"Found docs count: {len(env.found_docs)}")
+# +
+# + # Just return what we have
+# + return added | changed | removed
Reported-by: Akira Yokosawa <akiyks@gmail.com>
Closes: https://lore.kernel.org/linux-doc/c174f7c5-ec21-4eae-b1c3-f643cca90d9d@gmail.com/
To get the root cause of the problem (ABI files reported as changed),
I used this changeset:
- diff --git a/Documentation/conf.py b/Documentation/conf.py
- index e8766e689c1b..ab486623bd8b 100644
- --- a/Documentation/conf.py
- +++ b/Documentation/conf.py
- @@ -571,3 +571,16 @@ def setup(app):
- """Patterns need to be updated at init time on older Sphinx versions"""
-
- app.connect('config-inited', update_patterns)
- + app.connect('env-get-outdated', on_outdated)
- +
- +def on_outdated(app, env, added, changed, removed):
- + """Track cache outdated due to added/changed/removed files"""
- + print("\n[OUTDATED]")
- + print(f"Added: {added}")
- + print(f"Changed: {changed}")
- + print(f"Removed: {removed}")
- + print(f"All docs count: {len(env.all_docs)}")
- + print(f"Found docs count: {len(env.found_docs)}")
- +
- + # Just return what we have
- + return added | changed | removed
+# diff --git a/Documentation/conf.py b/Documentation/conf.py
+# index e8766e689c1b..ab486623bd8b 100644
+# --- a/Documentation/conf.py
+# +++ b/Documentation/conf.py
+# @@ -571,3 +571,16 @@ def setup(app):
+# """Patterns need to be updated at init time on older Sphinx versions"""
+#
+# app.connect('config-inited', update_patterns)
+# + app.connect('env-get-outdated', on_outdated)
+# +
+# +def on_outdated(app, env, added, changed, removed):
+# + """Track cache outdated due to added/changed/removed files"""
+# + print("\n[OUTDATED]")
+# + print(f"Added: {added}")
+# + print(f"Changed: {changed}")
+# + print(f"Removed: {removed}")
+# + print(f"All docs count: {len(env.all_docs)}")
+# + print(f"Found docs count: {len(env.found_docs)}")
+# +
+# + # Just return what we have
+# + return added | changed | removed
Reported-by: Akira Yokosawa <akiyks@gmail.com>
Closes: https://lore.kernel.org/linux-doc/c174f7c5-ec21-4eae-b1c3-f643cca90d9d@gmail.com/