-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from modelica/feature/add-ls-bus-guide
Add initial empty LS-BUS guide
- Loading branch information
Showing
10 changed files
with
765 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
The FMI LS Bus Implementers' Guide is a free resource intended to give non-normative recommendations and guidance to implementers of the Functional Mock-up Interface layered standard Network Communication (FMI-LS-BUS). | ||
This document is continually revised based on implementer and user feedback and input. | ||
All of the content is to be considered non-normative and shall not be considered to supplant any normative statement in the FMI 3.0 standard, the FMI-LS-BUS layered standard, or any other standard or layered standard. | ||
https://github.com/modelica/fmi-guides/releases[Releases] and https://github.com/modelica/fmi-guides/issues[issues] can be found on https://github.com/modelica/fmi-guides[github.com/modelica/fmi-guides]. | ||
|
||
{empty} + | ||
{empty} | ||
|
||
Copyright (C) 2021-2023 The Modelica Association Project FMI. | ||
|
||
This document is licensed under the Attribution-ShareAlike 4.0 International license. | ||
The code is released under the 2-Clause BSD License. | ||
The licenses text can be found in the https://raw.githubusercontent.com/modelica/fmi-guides/main/LICENSE.txt[LICENSE.txt] file that accompanies this distribution. | ||
|
||
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. | ||
Modelica Association shall not be held responsible for identifying such patent rights. | ||
|
||
{empty} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
== Introduction | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[bibliography] | ||
== References | ||
|
||
- [[[RFC2119]]] Bradner, S.: **Key words for use in RFCs to Indicate Requirement Levels**. RFC 2119, March 1997. https://www.ietf.org/rfc/rfc2119.txt | ||
|
||
- [[[SEMVER200]]] Preston-Werner, T.: **Semantic Versioning 2.0.0**. https://semver.org/spec/v2.0.0.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# FMI LS BUS Implementers' Guide | ||
|
||
[![Build Specification](https://github.com/modelica/fmi-guides/actions/workflows/build-guides.yml/badge.svg)](https://github.com/modelica/fmi-guides/actions/workflows/build-guides.yml) | ||
|
||
This directory contains the current prototype draft Implementers' | ||
Guide for the upcoming [FMI-LS-BUS][FMI-LS-BUS] layered standard for | ||
the exchange of simulation models employing bus communication. Note | ||
that this draft is being worked on actively, and thus subject to change | ||
without notice. | ||
|
||
It is not normative, nor is it to be considered officially endorsed | ||
by the Modelica Association prior to official adoption. | ||
|
||
The [guide][] is currently maintained on [GitHub][github] and is | ||
published [here][guide]. It is based on the [FMI-LS-BUS][] layered | ||
standard. | ||
|
||
[FMI-LS-BUS]: https://github.com/modelica/fmi-ls-bus/ | ||
[github]: index.adoc | ||
[guide]: https://modelica.github.io/fmi-guides/main/ls-bus-guide/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<script> | ||
// hide / show the Table of Contents (TOC) | ||
function toggleTOC() { | ||
var toc = document.getElementById("toc"); | ||
var body = document.getElementsByTagName("body")[0]; | ||
|
||
if (toc.style.display === "none") { | ||
toc.style.display = "block"; | ||
body.classList.remove("toc-hidden"); | ||
} else { | ||
toc.style.display = "none"; | ||
body.classList.add("toc-hidden"); | ||
} | ||
} | ||
|
||
// toggle the TOC when "t" key is pressed | ||
document.addEventListener('keydown', (event) => { | ||
if (event.key == 't') { | ||
toggleTOC(); | ||
} | ||
}); | ||
</script> | ||
|
||
<!-- Generate a nice TOC --> | ||
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> | ||
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/javascripts/jquery.tocify.min.js"></script> | ||
<!-- We do not need the tocify CSS because the asciidoc CSS already provides most of what we neeed --> | ||
|
||
<style> | ||
.tocify-header { | ||
font-style: italic; | ||
} | ||
|
||
.tocify-subheader { | ||
font-style: normal; | ||
font-size: 90%; | ||
} | ||
|
||
.tocify ul { | ||
margin: 0; | ||
} | ||
|
||
.tocify-focus { | ||
color: #7a2518; | ||
background-color: rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.tocify-focus > a { | ||
color: #7a2518; | ||
} | ||
</style> | ||
|
||
<script type="text/javascript"> | ||
$(function () { | ||
// Add a new container for the tocify toc into the existing toc so we can re-use its | ||
// styling | ||
$("#toc").append("<div id='generated-toc'></div>"); | ||
$("#generated-toc").tocify({ | ||
extendPage: true, | ||
context: "#content", | ||
highlightOnScroll: true, | ||
// don't hide the sections in the TOC | ||
showAndHide: false, | ||
hideEffect: "slideUp", | ||
// Use the IDs that asciidoc already provides so that TOC links and intra-document | ||
// links are the same. Anything else might confuse users when they create bookmarks. | ||
hashGenerator: function(text, element) { | ||
return $(element).attr("id"); | ||
}, | ||
// Smooth scrolling doesn't work properly if we use the asciidoc IDs | ||
smoothScroll: false, | ||
// Set to 'none' to use the tocify classes | ||
theme: "none", | ||
// Handle book (may contain h1) and article (only h2 deeper) | ||
selectors: $( "#content" ).has( "h1" ).size() > 0 ? "h1,h2,h3" : "h2,h3,h4", | ||
ignoreSelector: ".discrete" | ||
}); | ||
|
||
// Switch between static asciidoc toc and dynamic tocify toc based on browser size | ||
// This is set to match the media selectors in the asciidoc CSS | ||
// Without this, we keep the dynamic toc even if it is moved from the side to preamble | ||
// position which will cause odd scrolling behavior | ||
var handleTocOnResize = function() { | ||
if ($(document).width() < 768) { | ||
$("#generated-toc").hide(); | ||
$(".sectlevel0").show(); | ||
$(".sectlevel1").show(); | ||
} | ||
else { | ||
$("#generated-toc").show(); | ||
$(".sectlevel0").hide(); | ||
$(".sectlevel1").hide(); | ||
} | ||
} | ||
|
||
$(window).resize(handleTocOnResize); | ||
handleTocOnResize(); | ||
}); | ||
</script> | ||
|
||
<img style="display: block; margin: 2em auto; width: 30em;" src="images/FMI_logo_horizontal.svg" alt="FMI logo"> |
Oops, something went wrong.