From d227ec64da6a3f194e30490feabfc6cd931e12e8 Mon Sep 17 00:00:00 2001 From: WinGeek Date: Mon, 9 Sep 2024 19:28:29 +0800 Subject: [PATCH] Add doc footer --- docs/_config.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/_config.yml b/docs/_config.yml index 30fb22b0..a306ccfe 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -145,6 +145,27 @@ callouts: title: Warning color: red +# Footer content +# appears at the bottom of every page's main content + +# Back to top link +back_to_top: true +back_to_top_text: "Back to Top" + +footer_content: 'Copyright © 2024 OpenNHP Open Source Project' + +# Footer last edited timestamp +last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter +last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html + +# Footer "Edit this page on GitHub" link text +gh_edit_link: true # show or hide edit this page link +gh_edit_link_text: "Edit this page on GitHub" +gh_edit_repository: "https://github.com/OpenNHP/opennhp" # the github URL for your repo +gh_edit_branch: "main" # the branch that your docs is served from +# gh_edit_source: docs # the source that your files originate from +gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately + # Google Analytics Tracking (optional) # Supports a CSV of tracking ID strings (eg. "UA-1234567-89,G-1AB234CDE5") # Note: the main Just the Docs site does *not* use Google Analytics.