Skip to content

Commit

Permalink
Auto-deploy docs built from commit 1674045
Browse files Browse the repository at this point in the history
  • Loading branch information
slawr committed Mar 15, 2024
1 parent 4e69c46 commit e4b2b3f
Show file tree
Hide file tree
Showing 331 changed files with 15,941 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory contains the project documentation including the sources for the online documentation website.
4 changes: 4 additions & 0 deletions cdsp-best-practise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# CDSP Best Practices/Design Guide
This is currently a rough notepad of Best Practices to capture important points as the project establishes itself. The intention is for this to result in Best Practice and Design Guide documents to guide the project.

1. Developers SHALL document both the *logical* and *implementation* concepts for extensions and examples. In particular the logical concept SHOULD at a minimum give a sense of the requirements for the problem being tackled in a way that allows alternative implementations to be considered. Contrast *problem/requirements XYZ can be met by logical concept ABC, illustrated in the implementation using technologies Foo* and *Product Foo has features XYZ*. The former contains useful information about a problem, how it might be logically addressed and an illustration implementing it. The latter possibly little if anything to say about the first two.
Empty file added docs-gen/.hugo_build.lock
Empty file.
22 changes: 22 additions & 0 deletions docs-gen/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
baseURL = "https://covesa.github.io/cdsp/"
languageCode = "en-us"
title = "Central Data Service Playground"
theme = "learn"
publishDir = "../docs"
[params]
# Change default color scheme with a variant one. Can be "red", "blue", "green".
themeVariant = "blue"
disableInlineCopyToClipBoard = true
editURL = "https://github.com/covesa/cdsp/edit/master/docs/docs-gen/content/"
disableLandingPageButton = true


[[menu.shortcuts]]
name = "<i class='fab fa-github'></i> Github repo"
identifier = "ds"
url = "https://github.com/covesa/cdsp"
weight = 10

# Generation of JSON index to allow search
[outputs]
home = [ "HTML", "RSS", "JSON"]
16 changes: 16 additions & 0 deletions docs-gen/content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Central Data Service Playground"
---
# Central Data Service Playground

Intro to CDSP...

To insert a figure:
![Figure text](/cdsp/images/cdsp.png?width=50pc)

To insert a link to[the sub chapter in the subchapter](/cdsp/cdsp_sub_chapter/sub-chapter)

To insert a link to [COVESA/VSS-Tools](https://github.com/COVESA/vss-tools).

## Another section
Some CDSP detail....
9 changes: 9 additions & 0 deletions docs-gen/content/cdsp_sub_chapter/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Sub-chapter
weight: 20
chapter: true
---

# Sub-chapter

CDSP SwC explained maybe...
6 changes: 6 additions & 0 deletions docs-gen/content/cdsp_sub_chapter/sub-chapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Sub-chapter"
weight: 5
---

That does not contain other sub chapters.
226 changes: 226 additions & 0 deletions docs-gen/data/units.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
# This file defines units supported in the VSS standard catalog
units:
mm:
label: millimeter
description: Distance measured in millimeters
domain: distance
cm:
label: centimeter
description: Distance measured in centimeters
domain: distance
m:
label: meter
description: Distance measured in meters
domain: distance
km:
label: kilometer
description: Distance measured in kilometers
domain: distance
inch:
label: inch
description: Distance measured in inches
domain: distance
km/h:
label: kilometer per hour
description: Speed measured in kilometers per hours
domain: speed
m/s:
label: meters per second
description: Speed measured in meters per second
domain: speed
m/s^2:
label: meters per second squared
description: Acceleration measured in meters per second squared
domain: acceleration
cm/s^2:
label: centimeters per second squared
description: Acceleration measured in centimeters per second squared
domain: acceleration
ml:
label: milliliter
description: Volume measured in milliliters
domain: volume
l:
label: liter
description: Volume measured in liters
domain: volume
cm^3:
label: cubic centimeters
description: Volume measured in cubic centimeters
domain: volume
celsius:
label: degree celsius
description: Temperature measured in degree celsius
domain: temperature
degrees:
label: degree
description: Angle measured in degrees
domain: angle
degrees/s:
label: degree per second
description: Angular speed measured in degrees per second
domain: angular speed
W:
label: watt
description: Power measured in watts
domain: power
kW:
label: kilowatt
description: Power measured in kilowatts
domain: power
PS:
label: horsepower
description: Power measured in horsepower
domain: power
kWh:
label: kilowatt hours
description: Energy consumption measured in kilowatt hours
domain: energy consumption
g:
label: gram
description: Mass measured in grams
domain: mass
kg:
label: kilogram
description: Mass measured in kilograms
domain: mass
lbs:
label: pound
description: Mass measured in pounds
domain: mass
V:
label: volt
description: Electric potential measured in volts
domain: electric potential
A:
label: ampere
description: Electric current measured in amperes
domain: electric current
Ah:
label: ampere hours
description: Electric charge measured in ampere hours
domain: electric charge
ms:
label: millisecond
description: Time measured in milliseconds
domain: time
s:
label: second
description: Time measured in seconds
domain: time
min:
label: minute
description: Time measured in minutes
domain: time
h:
label: hour
description: Time measured in hours
domain: time
day:
label: days
description: Time measured in days
domain: time
weeks:
label: weeks
description: Time measured in weeks
domain: time
months:
label: months
description: Time measured in months
domain: time
years:
label: years
description: Time measured in years
domain: time
UNIX Timestamp:
label: UNIX Timestamp
description: Unix time is a system for describing a point in time. It is the number of seconds that have elapsed since the Unix epoch, excluding leap seconds.
domain: point in time
mbar:
label: millibar
description: Pressure measured in millibars
domain: pressure
Pa:
label: pascal
description: Pressure measured in pascal
domain: pressure
kPa:
label: kilopascal
description: Pressure measured in kilopascal
domain: pressure
stars:
label: stars
description: Rating measured in stars
domain: rating
g/s:
label: grams per second
description: Mass per time measured in grams per second
domain: mass per time
g/km:
label: grams per kilometer
description: Mass per distance measured in grams per kilometers
domain: mass per distance
kWh/100km:
label: kilowatt hours per 100 kilometers
description: Energy consumption per distance measured in kilowatt hours per 100 kilometers
domain: energy consumption per distance
ml/100km:
label: milliliter per 100 kilometers
description: Volume per distance measured in milliliters per 100 kilometers
domain: volume per distance
l/100km:
label: liter per 100 kilometers
description: Volume per distance measured in liters per 100 kilometers
domain: volume per distance
l/h:
label: liter per hour
description: Flow measured in liters per hour
domain: flow
mpg:
label: miles per gallon
description: Distance per volume measured in miles per gallon
domain: distance per volume
N:
label: newton
description: Force measured in newton
domain: force
Nm:
label: newton meter
description: Torque measured in newton meters
domain: torque
rpm:
label: revolutions per minute
description: Rotational speed measured in revolutions per minute
domain: rotational speed
Hz:
label: frequency
description: Frequency measured in hertz
domain: frequency
ratio:
label: ratio
description: Relation measured as ratio
domain: relation
percent:
label: percent
description: Relation measured in percent
domain: relation
nm/km:
label: nano meter per kilometer
description: nm/km
domain: nm/km
dBm:
label: decibel milliwatt
description: Power level expressed in decibels with reference to one milliwatt
domain: relation
kN:
label: kilo newton
description: Force measured in kilo newton
domain: force
cpm:
label: cycles per minute
description: Number of cycles per minute
domain: frequency
bpm:
label: beats per minute
description: Number of human heart beats per minute
domain: frequency
1 change: 1 addition & 0 deletions docs-gen/layouts/partials/favicon.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="shortcut icon" href="/hierarchical_information_model/images/fav.png" type="image/x-icon" />
3 changes: 3 additions & 0 deletions docs-gen/layouts/partials/logo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<a id="logo" href="{{ .Site.BaseURL }}">
<img src="/cdsp/images/cdsp.png">
</a>
Binary file added docs-gen/static/images/cdsp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-gen/static/images/fav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions docs-gen/themes/learn/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
trim_trailing_whitespace = true

[*.js]
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions docs-gen/themes/learn/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
public/
exampleSite/public
25 changes: 25 additions & 0 deletions docs-gen/themes/learn/.grenrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
dataSource: "prs"
prefix: "v"
onlyMilestones: false
changelogFilename: "CHANGELOG.md"
includeMessages: "all"
ignoreIssuesWith:
- "support"
ignoreLabels:
- "duplicate"
- "invalid"
- "wontfix"
groupBy:
New features:
- "feature"
Bug Fixes:
- "bug"
Enhancements:
- "enhancement"
Internationalisation:
- "i18n"
Theme Meta:
- "meta"
Uncategorised:
- "closed"
Loading

0 comments on commit e4b2b3f

Please sign in to comment.