diff --git a/conf.py b/conf.py index a86d54b90a5eef5e9bd2ba791a8408026ad912e5..9b1563367fd9bee7af6a1806c960af3cab344d70 100644 --- a/conf.py +++ b/conf.py @@ -33,11 +33,10 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'env', ".venv"] pages_url = "https://gsoc.beagleboard.io" pages_slug = "latest" -gitlab_user = "gsoc" -gitlab_version = "main" -gitlab_url = "https://openbeagle.org" -gitlab_repo = "gsoc.beagleboard.io" -docs_url = "https://gsoc.beagleboard.io/latest/" + +# What was here was not part of the "General configuration" +# first place I could find something was at https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/source-buttons.html + # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output @@ -113,16 +112,19 @@ html_theme_options = { html_context = { "display_gitlab": True, - "gitlab_url": gitlab_url, - "gitlab_user": gitlab_user, - "gitlab_repo": gitlab_repo, + "gitlab_url": "https://openbeagle.org", + "gitlab_user": "gsoc", + "gitlab_repo": "gsoc.beagleboard.io", "gitlab_version": "main", "doc_path": "", "conf_py_path": "", "show_license": True, - "pages_url": pages_url, - "pages_slug": pages_slug, - "docs_url": docs_url, + "pages_url": "https://gsoc.beagleboard.io", + "pages_slug": "", + "docs_url": "https://docs.beagleboard.org/latest/", + "edit_page_url_template": "{{ my_vcs_site }}{{ file_name }}", + "edit_page_provider_name": "OpenBeagle", + "my_vcs_site": "https://openbeagle.org/gsoc/gsoc.beagleboard.io/-/edit/main/", } # -- Options for proposal PDF generation -- @@ -145,4 +147,4 @@ latex_engine = "xelatex" latex_logo = str("_static/images/logo-latex.pdf") latex_documents = [ ("proposals/template", "template.tex", "Project proposal template 2024", "John Doe", "manual"), -] \ No newline at end of file +]