[llvm] [Offload] Add Offload API Sphinx documentation (PR #147323)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 08:35:48 PDT 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 HEAD~1...HEAD offload/docs/conf.py
``````````

</details>

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

``````````diff
--- conf.py	2025-07-07 15:23:31.000000 +0000
+++ conf.py	2025-07-07 15:35:04.431250 +0000
@@ -4,20 +4,20 @@
 # https://www.sphinx-doc.org/en/master/usage/configuration.html
 
 # -- Project information -----------------------------------------------------
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
 
-project = 'Offload'
-copyright = '2025, LLVM project'
-author = 'LLVM project'
+project = "Offload"
+copyright = "2025, LLVM project"
+author = "LLVM project"
 
 # -- General configuration ---------------------------------------------------
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
 
 extensions = []
 
-templates_path = ['_templates']
+templates_path = ["_templates"]
 exclude_patterns = []
 
 # -- C domain configuration --------------------------------------------------
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#c-config
 
@@ -26,6 +26,6 @@
 # -- Options for HTML output -------------------------------------------------
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
 
 html_theme = "llvm-theme"
 html_theme_path = ["_themes"]
-html_static_path = ['_static']
+html_static_path = ["_static"]

``````````

</details>


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


More information about the llvm-commits mailing list