[flang-commits] [flang] [flang][docs] Fix title and text in the release notes page (PR #170405)

via flang-commits flang-commits at lists.llvm.org
Tue Dec 2 18:40:05 PST 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r origin/main...HEAD flang/docs/conf.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- conf.py	2025-12-03 02:32:01.000000 +0000
+++ conf.py	2025-12-03 02:39:39.017012 +0000
@@ -46,32 +46,29 @@
 }
 myst_heading_anchors = 6
 
 # Enable myst's substitution extension since markdown files cannot use the
 # |version| and |release| substitutions available to .rst files.
-myst_enable_extensions = [
-    'substitution'
-]
+myst_enable_extensions = ["substitution"]
 
 # The substitutions to use in markdown files. This contains unconditional
 # substitutions, but more may be added once the configuration is obtained.
-myst_substitutions = {
-    'in_progress': "(In-Progress) " if tags.has("PreRelease") else ""
-}
+myst_substitutions = {"in_progress": "(In-Progress) " if tags.has("PreRelease") else ""}
+
 
 # It is not clear who calls setup and when. In any case, when it is called, the
 # configurations options are available. These include, among the other things,
 # the values of the -D options passed to sphinx-build. Populate the myst
 # substitutions dictionary as needed.
 #
 # See llvm/cmake/modules/AddSphinxTarget.cmake for details on how sphinx-build
 # is invoked.
 def setup(sphinx):
-    sphinx.config.myst_substitutions.update({
-        'release': sphinx.config.release,
-        'version': sphinx.config.version
-    })
+    sphinx.config.myst_substitutions.update(
+        {"release": sphinx.config.release, "version": sphinx.config.version}
+    )
+
 
 import sphinx
 
 # The encoding of source files.
 # source_encoding = 'utf-8-sig'

``````````

</details>


https://github.com/llvm/llvm-project/pull/170405


More information about the flang-commits mailing list