From e8821f012ee3df42b332c409da5e68febb07880c Mon Sep 17 00:00:00 2001 From: Deepak Khatri <deepaklorkhatri7@gmail.com> Date: Thu, 22 Feb 2024 02:08:03 +0530 Subject: [PATCH] Add mission statement to sidebar --- _templates/mission.html | 21 +++++++++++++++++++++ conf.py | 6 ++++-- guides/contributor.rst | 6 ------ ideas/index.rst | 7 +------ 4 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 _templates/mission.html diff --git a/_templates/mission.html b/_templates/mission.html new file mode 100644 index 0000000..7aa2940 --- /dev/null +++ b/_templates/mission.html @@ -0,0 +1,21 @@ +<div class="card bg-light mt-4 text-center"> + <div class="card-header bg-primary text-light"> + What is the mission? + </div> + <div class="card-body"> + <p class="card-text text-dark"> + We don’t want to just make more things. We want to enable individuals to make the things that dominate their lives, rather than leaving it up to someone else. Google Summer of a Code with BeagleBoard.org is a great way to learn skills highly in demand while making a difference in the world. + </p> + </div> +</div> + +<div class="card bg-light mt-4 text-center"> + <div class="card-header bg-success text-light"> + How to build an embedded system? + </div> + <div class="card-body"> + <p class="card-text text-dark"> + An embedded system is built using a computer dedicated to a specific purpose, like a toaster, coffee machine, dish washer, thermostat or anti-lock brakes. You can think of an embedded system as a computer designed to not look like a computer and to automate things in the physical world. The <a href="https://www.beagleboard.org/">BeagleBoard.org</a> community is loaded with experts on building open source embedded systems, join our <a href="https://bbb.io/gsocml">forum</a> to connect. + </p> + </div> +</div> \ No newline at end of file diff --git a/conf.py b/conf.py index ec38d9e..7a2d985 100644 --- a/conf.py +++ b/conf.py @@ -57,7 +57,9 @@ html_css_files = [ # Pages entry without primary (left) sidebar html_sidebars = { - "ideas/index": [], + "**": ["sidebar-nav-bs", "mission"], + "ideas/index": [], + "index": [] } html_theme_options = { @@ -118,7 +120,7 @@ html_theme_options = { # "content_footer_items": ["last-updated"], "secondary_sidebar_items": { "**": ["page-toc", "edit-this-page", "sourcelink","pdf","forum"] - } + }, } proposals = [] diff --git a/guides/contributor.rst b/guides/contributor.rst index f4aa7c7..e6df80b 100644 --- a/guides/contributor.rst +++ b/guides/contributor.rst @@ -7,12 +7,6 @@ Contributor Guide :width: 100% :align: center -.. admonition:: What is the mission? - - We don't want to just make more things. We want to enable individuals to make the things that dominate their lives, - rather than leaving it up to someone else. Google Summer of a Code with BeagleBoard.org is a great way to learn - skills highly in demand while making a difference in the world. - .. important:: Contributors will be expected to execute a series of prerequisites to demonstrate and diff --git a/ideas/index.rst b/ideas/index.rst index ddd74a2..f3ee03d 100644 --- a/ideas/index.rst +++ b/ideas/index.rst @@ -1,16 +1,11 @@ :html_theme.sidebar_primary.remove: true +:sd_hide_title: true .. _gsoc-project-ideas: Ideas ###### -Welcome to the project ideas page for `GSoC 2024 <https://developers.google.com/open-source/gsoc/timeline>`_. The -BeagleBoard.org community is loaded with experts on building open source embedded systems. An embedded -system is built using a computer dedicated to a specific purpose, like a toaster, coffee machine, dish washer, thermostat -or anti-lock brakes. You can think of an embedded system as a computer designed to not look like a computer -and to automate things in the physical world. - .. image:: ../_static/images/ideas-below.webp :align: center -- GitLab