Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dlove24/lb_tools
Manuals, How To and Datasheets for the basic tools used at Leeds Beckett
https://github.com/dlove24/lb_tools
Last synced: 10 days ago
JSON representation
Manuals, How To and Datasheets for the basic tools used at Leeds Beckett
- Host: GitHub
- URL: https://github.com/dlove24/lb_tools
- Owner: dlove24
- License: other
- Created: 2024-04-19T16:04:22.000Z (7 months ago)
- Default Branch: trunk
- Last Pushed: 2024-05-17T08:30:23.000Z (6 months ago)
- Last Synced: 2024-05-17T22:34:22.692Z (6 months ago)
- Language: HTML
- Homepage: https://dlove24.github.io/lb_tools/
- Size: 50.9 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Tools and Documentation for Electronics, Electrical and Robotics Engineering at Leeds Beckett University
# Overview
This site builds the core documentation required by the tools repository using a Github action to publish to Github pages. Behind the scenes the core documentation using [Jekyll](https://jekyllrb.com), with a modified version of the [Just the Docs](https://github.com/just-the-docs/just-the-docs) theme (see below).
Content should be placed in the '`docs`' directory, in the appropriate sub-folder
* `_explanation`: Provides the background '_why_' for a specific topic or activity. Most will introduce the context, background, theory, or history of the topic.
* `_howto`: Detail how to achieve a specific _goal_, usually in a step-by-step manner. They do not give an explanation, nor do they provide a reference: but may link to this material.
* `_reference`: Lists the basic facts needed in other activities. Examples of suitable material are links to the API or source code for a specific library, data-sheets for components or other devices, and papers and books from the academic literature expanding on a specific topic or area.
* `_tutorial`: Will have a series of _learning outcomes_, relating to the overall learning outcomes of the activity. At the end of each tutorial the student will have achieved something that relates concretely to the overall activity topic and goal.New content should be placed into branches, and then merged into the `trunk` when complete. The `trunk` is locked, so that merges should always result in a buildable set of documentation.
# Just the Docs Theme Modifications
## Colours and Themes
The core site colours are based on the [W3 RAL Colours](https://www.w3schools.com/colors/colors_ral.asp): as used in other engineering documentation. These colours can be found in the file '`_sass/custom/setup.scss`'.
For the _CSS_ implementing the theme, the core implementation lives at '`_sass/color_schemes/lbu.scss`'. As implied, this provides the '`lbu`' theme for Just the Docs in the '`_config.yml`' file.
## Custom Layouts
The main changes to the Just the Docs theme are intended to provide visual compatibility with MyBeckett. Currently these changes are provided as includes for both Just the Docs and Jekyll: both in the '`_includes`' subdirectory.
* `_includes/icons/expand.html`: Changes the default arrow for sub-sections from an outline arrow-head to a filled triangle, patterned on MyBeckett. The core SVG for this is included at '`assets/icons/expand.svg`'.
* `_includes/components/lb_nav.html`: Uses the `lb-nav-list-expander` class (patterned on `nav-list-expander`), which allows a different link style to be applied to links in the sidebar. Also uses `lb-nav-list-link` (patterned on `nav-list-link`) for individual list items.
* `_includes/components/lb_site_nav.html`: Builds the core collections, and uses `lb-nav-list-expander` to style the documentation within each collection.
* `_includes/components/sidebar.html`: Forces a difference between link colours in the sidebar, and those on the main page. This allows the sidebar to use a dark theme background, but retain the standard colour for documentation links.All documentation by default uses the '`lbu`' layout, which will colour the content in the `_explanation`, `_howto`, `_reference` and `_tutorial` directories appropriately.
The colouration of the headers is done via the 'Just the Docs' inclusion of the '`anchor-headings`' plugin from [`jekyll-anchor-headings`](https://github.com/allejo/jekyll-anchor-headings). Using the '`headerAttrs`' parameter allows a suitable colouration of the header: without JavaScript or custom plugins (which are not allowed on GitHub pages).