[libc-commits] [libc] [libc][docs] add redirect for math/index.html (PR #120274)

via libc-commits libc-commits at lists.llvm.org
Tue Dec 17 09:36:07 PST 2024


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 e8a6563768579e6f555b2d9192f2c2a0cb27534a...811f689bfb655d6a20b50a507af338bf78a44faf libc/docs/conf.py
``````````

</details>

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

``````````diff
--- conf.py	2024-12-17 17:28:46.000000 +0000
+++ conf.py	2024-12-17 17:35:30.687132 +0000
@@ -23,15 +23,11 @@
 # If your documentation needs a minimal Sphinx version, state it here.
 # needs_sphinx = '1.0'
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = [
-    "sphinx.ext.intersphinx",
-    "sphinx.ext.todo",
-    "sphinx_reredirects"
-]
+extensions = ["sphinx.ext.intersphinx", "sphinx.ext.todo", "sphinx_reredirects"]
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ["_templates"]
 
 # The suffix of source filenames.
@@ -264,8 +260,6 @@
 # -- Options for extensions ----------------------------------------------------
 
 # Enable this if you want TODOs to show up in the generated documentation.
 todo_include_todos = True
 
-redirects = {
-  "math/index": "../headers/math/index.html"
-}
+redirects = {"math/index": "../headers/math/index.html"}

``````````

</details>


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


More information about the libc-commits mailing list