-
Notifications
You must be signed in to change notification settings - Fork 98
WIP: improve onboarding documentation #2874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| /* ******************************************************************************* | ||
| * Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
| * | ||
| * See the NOTICE file(s) distributed with this work for additional | ||
| * information regarding copyright ownership. | ||
| * | ||
| * This program and the accompanying materials are made available under the | ||
| * terms of the Apache License Version 2.0 which is available at | ||
| * https://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| * ******************************************************************************* | ||
| * | ||
| * Overrides the default purple S-CORE secondary color (#2D1942). | ||
| */ | ||
|
|
||
| html[data-theme="light"], | ||
| html[data-theme="dark"] { | ||
| --pst-color-secondary: #2D1942; | ||
| } | ||
|
|
||
| /* Card body — dark background with white text */ | ||
| .score-grid .sd-card-body { | ||
| background-color: var(--pst-color-secondary); | ||
| text-align: justify; | ||
| --pst-color-text-base: #ffffff; | ||
| --pst-color-link: #ffffff; | ||
| --pst-color-link-hover: #ffffff; | ||
| color: #ffffff !important; | ||
| } | ||
|
|
||
| html body .score-grid .sd-card .sd-card-body, | ||
| html body .score-grid .sd-card .sd-card-body p, | ||
| html body .score-grid .sd-card .sd-card-body a, | ||
| html body .score-grid .sd-card .sd-card-body a:hover, | ||
| html body .score-grid .sd-card .sd-card-body a:visited, | ||
| html body .score-grid .sd-card .sd-card-body * { | ||
| color: #ffffff !important; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. layout rules shall not be overwritten |
||
| } | ||
|
|
||
| /* Hide the right sidebar container when it has no items */ | ||
| .bd-sidebar-secondary:has(.sidebar-secondary__inner:empty) { | ||
| display: none; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
| # Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
|
|
@@ -24,3 +24,22 @@ | |
| "sphinxcontrib.plantuml", | ||
| "score_sphinx_bundle", | ||
| ] | ||
|
|
||
| # Hide both sidebars on the handbook landing page (left: html_sidebars, right: secondary_sidebar_items) | ||
| html_sidebars = { | ||
| "handbook/index": [], | ||
| } | ||
|
|
||
| html_theme_options = { | ||
| "secondary_sidebar_items": { | ||
| "handbook/index": [], | ||
| "**": ["page-toc", "edit-this-page", "sourcelink"], | ||
| }, | ||
| } | ||
|
|
||
| # Make _assets available as Sphinx static files root | ||
| html_static_path = ["_assets"] | ||
|
|
||
|
|
||
| def setup(app): | ||
| app.add_css_file("css/score.css", priority=600) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Introducing a new style file means we need someone to maintain it, as new docs-as-code versions can easily be incompatible. score repo is notoriously unmaintained. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| .. | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
| # Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do not replace copyright year in existing files. The year shall represent file creation (or last full rewrite) |
||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. only cpp covered? |
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. System verification -> Platform or SW Platform Verification
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks a lot for the overview.
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!important is bad practise as it destroys the layout