This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new de0c697db8 adding "edit on github" option in docs
de0c697db8 is described below

commit de0c697db8681cc3d43027b4c67c03763a6b4822
Author: Abhishek Choithani <[email protected]>
AuthorDate: Sun May 25 11:53:58 2025 +0530

    adding "edit on github" option in docs
---
 Documentation/conf.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/conf.py b/Documentation/conf.py
index b025345b4a..ea87837117 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -135,6 +135,14 @@ copybutton_exclude = ".linenos, .gp, .go"
 
 warnings_filter_config = "known-warnings.txt"
 
+html_context = {
+    "display_github": True,
+    "github_user": "apache",
+    "github_repo": "nuttx",
+    "github_version": "master",
+    "conf_py_path": "/Documentation/",
+}
+
 # -- Options for sphinx_tags ----------------------------------------------
 
 tags_create_tags = True

Reply via email to