Skip to content

Commit

Permalink
Update index
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Jun 19, 2022
1 parent c36b905 commit bc96be3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 41 deletions.
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ source "https://rubygems.org"
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.1.0"
gem "jekyll", "~> 4.1"

# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "jekyll-theme-isotc211"
Expand All @@ -39,3 +39,6 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?

gem "webrick"

51 changes: 11 additions & 40 deletions source/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,25 @@ extra_scripts:
---
:page-liquid:


[.section]
== link:/schemas[Browse all schemas]

[.section.locator]
== Locate a specific schema
== Schemas

The URL of each part of each standard has the following format:
* (current) UnitsML 1.0 (link:unitsml/unitsml-v1.0.xsd[XSD] link:docs/unitsml/unitsml-v1.0[annotated schema])
* (deprecated) UnitsML Lite 0.9.18 (link:unitsmllite/unitsmllite-v0.9.18[XSD] link:docs/unitsmllite/unitsmllite-v0.9.18[annotated schema])

For UnitsML 1.0, please use the following value for `schemaLocation`:

[source]
--
https://schema.unitsml.org/SchemaName/SchemaWithVersion.xsd
https://schema.unitsml.org/unitsml/unitsml-v1.0.xsd
--

For example:

* link:unitsml/[]
* link:unitsmllite/[]
The following URL pattern is used for schemas:

The UnitsML 1.0 schema is documented link:docs/unitsml/unitsml-v1.0[here].
[source]
--
https://schema.unitsml.org/{SchemaName}/{SchemaWithVersion}.xsd
--


[.section]
Expand All @@ -40,31 +39,3 @@ For more information, please visit
https://www.unitsml.org[UnitsML].

This site is managed by the UnitsML group.

////
++++
<template id="schemaLocator">
<form>
<div class="input">
<label for="schemaStandardNumber">Standard number</label>
<input id="schemaStandardNumber" type="text" placeholder="For example, 19115" name="standardNumber">
</div>
<div class="input">
<label for="schemaPartNumber">Part number</label>
<input id="schemaPartNumber" type="text" placeholder="3" name="partNumber">
</div>
<div class="input">
<label for="schemaNsPrefix">Namespace prefix</label>
<input id="schemaNsPrefix" type="text" placeholder="cit" name="nsPrefix">
</div>
<div class="input">
<label for="schemaVersion">Version</label>
<input id="schemaVersion" type="text" placeholder="1.0" name="version">
</div>
<div class="actions">
<button type="button" name="locate">Locate schema</button>
</div>
</form>
</template>
++++
////

0 comments on commit bc96be3

Please sign in to comment.