{{ page.title }}
{{ content }}
@@ -41,7 +42,9 @@ {{ table.name }}
{%- for col in table.columns %}
- {{ col.name }}
+
+ {{ col.name }}
+
{{ col.datatype }}
{{ col['ivoa:unit'] | default: col['fits:tunit'] }}
@@ -53,10 +56,7 @@ {{ table.name }}
{%- endfor %}
-
+ {% include _footer.html %}
diff --git a/browser/_layouts/schema_index.html b/browser/_layouts/schema_index.html
index b0d3e623..c23ecfa0 100644
--- a/browser/_layouts/schema_index.html
+++ b/browser/_layouts/schema_index.html
@@ -1,37 +1,28 @@
-
-
-{% seo %}
-
-
-
+ {% include _header.html %}
+
+
{{ page.title }}
{{ content }}
-
+ {% include _footer.html %}
diff --git a/browser/assets/css/style2.scss b/browser/_sass/style2.scss
similarity index 91%
rename from browser/assets/css/style2.scss
rename to browser/_sass/style2.scss
index c8b689e2..d5ef6b21 100644
--- a/browser/assets/css/style2.scss
+++ b/browser/_sass/style2.scss
@@ -1,7 +1,3 @@
----
-permalink: /assets/css/style2.css
----
-
@import 'jekyll-theme-cayman';
html {
@@ -18,6 +14,7 @@ a {
}
#container {
+ display: flex;
height: 100%;
}
@@ -40,7 +37,7 @@ a {
#sidebar ul {
list-style-type: none;
margin-left: 1rem;
- padding: 0;
+ padding: 0;
}
#sidebar ul ul ul {
@@ -74,5 +71,5 @@ a {
}
.main-content .schema-table .column-name {
- font-family: monospace;
+ font-family: monospace;
}
diff --git a/browser/apdb.md b/browser/apdb.md
index 9a549726..66f2ee97 100644
--- a/browser/apdb.md
+++ b/browser/apdb.md
@@ -1,6 +1,6 @@
---
layout: schema
-title: Alert Production Database schema
+title: Alert Production Database
schema: apdb
sort-index: 15
---
diff --git a/browser/assets/css/main.scss b/browser/assets/css/main.scss
new file mode 100644
index 00000000..ffdc9242
--- /dev/null
+++ b/browser/assets/css/main.scss
@@ -0,0 +1,3 @@
+---
+---
+@import "style2";
diff --git a/browser/dp01.md b/browser/dp01.md
index b45213a5..4143d3ae 100644
--- a/browser/dp01.md
+++ b/browser/dp01.md
@@ -1,6 +1,6 @@
---
layout: schema
-title: Data Preview 0.1 Schema
+title: Data Preview 0.1
schema: dp01_dc2
sort-index: 10
---
diff --git a/browser/dp02.md b/browser/dp02.md
index 601a84f9..6f7ae30c 100644
--- a/browser/dp02.md
+++ b/browser/dp02.md
@@ -1,6 +1,6 @@
---
layout: schema
-title: Data Preview 0.2 Schema
+title: Data Preview 0.2
schema: dp02_dc2
sort-index: 9
---
diff --git a/browser/favicon.ico b/browser/favicon.ico
new file mode 100644
index 00000000..b76aa026
Binary files /dev/null and b/browser/favicon.ico differ
diff --git a/browser/hsc.md b/browser/hsc.md
index 3fa96007..3005b505 100644
--- a/browser/hsc.md
+++ b/browser/hsc.md
@@ -1,8 +1,10 @@
---
layout: schema
-title: HSC Schema
+title: HyperSuprimeCam
schema: hsc
sort-index: 20
---
-The HSC Schema describes the outputs of the latest data release production pipelines for HyperSuprimeCam. This schema is used by [ci_hsc](https://github.com/lsst/ci_hsc), which
-verifies the schema of the pipeline output files.
+The HyperSuprimeCam (HSC) Schema describes the outputs of the latest data release production pipelines for
+HyperSuprimeCam.
+This schema is used by [ci_hsc](https://github.com/lsst/ci_hsc), which verifies the schema of the pipeline
+output files.
diff --git a/browser/imsim.md b/browser/imsim.md
index 58e8dabd..4957dee5 100644
--- a/browser/imsim.md
+++ b/browser/imsim.md
@@ -1,6 +1,6 @@
---
layout: schema
-title: LSSTCam-imSim Schema
+title: LSSTCam ImSim
schema: imsim
sort-index: 30
---
diff --git a/browser/index.md b/browser/index.md
index 661e5e38..4aa32f40 100644
--- a/browser/index.md
+++ b/browser/index.md
@@ -5,15 +5,8 @@ title: Science Data Model Schemas
This schema browser provides a view on a curated subset of the Rubin Observatory's database schemas for
user-facing data products (the Science Data Model, or SDM). These pages are rendered directly from the latest
revisions of schema definition YAML files maintained in the [sdm_schemas](https://github.com/lsst/sdm_schemas)
-github repository.
+GitHub repository.
Schemas available here for browsing include:
-
- {%- assign schemas = site.pages | where: 'dir','/browser/' | sort: 'sort-index' %}
- {%- for schema in schemas %}
- {%- if schema.name != 'index.md' %}
- {{ schema.title }} {{ schema.content }}
- {%- endif %}
- {%- endfor %}
-
+{% include _schema_list.html include_description=true %}
diff --git a/browser/yml b/browser/yml
new file mode 120000
index 00000000..114cd3f0
--- /dev/null
+++ b/browser/yml
@@ -0,0 +1 @@
+../yml/
\ No newline at end of file