Skip to content

Commit

Permalink
add FAQ to static site
Browse files Browse the repository at this point in the history
  • Loading branch information
aschey-forpeople committed Sep 12, 2024
1 parent b66031d commit 683b8e0
Show file tree
Hide file tree
Showing 7 changed files with 255 additions and 19 deletions.
221 changes: 221 additions & 0 deletions static-site/FAQ.md

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions static-site/_includes/dd-table.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,19 @@
max-height: calc(100% - 320px);
}
body {
height: 100vh;
max-height: 100vh;
}
/* override parent properties to properly contain the grid */
.page-content .wrapper {
max-width: 100%;
height: 100%;
max-height: 100%;
}
table {
display: grid;
border-collapse: collapse;
Expand Down
3 changes: 3 additions & 0 deletions static-site/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@
<script src="assets/swagger-ui-bundle.js"></script>
<script src="assets/swagger-ui-standalone-preset.js"></script>
{% endif %}
{% if page.url == "/faq.html" %}
<link rel="stylesheet" href="assets/faq.css" />
{% endif %}
</head>
7 changes: 7 additions & 0 deletions static-site/assets/faq.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
---

h3, h4 {
border-bottom: 1px solid lightgray;
font-weight: bold;
}
15 changes: 0 additions & 15 deletions static-site/assets/main.scss

This file was deleted.

7 changes: 6 additions & 1 deletion static-site/assets/swagger-overrides.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
---
// all of this is needed to prevent the base theme CSS from interfering with Swagger's CSS
/* all of this is needed to prevent the base theme CSS from interfering with Swagger's CSS */

/* override parent width to allow swagger doc to expand */
.page-content .wrapper {
max-width: 1200px;
}

.swagger-ui {
.try-out {
Expand Down
8 changes: 5 additions & 3 deletions static-site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
layout: home
---

[V1 Data Dictionary](/data-dictionary-v1.html)
[FAQ](/faq)

[V2 Data Dictionary](/data-dictionary-v2.html)
[V1 Data Dictionary](/data-dictionary-v1)

[Swagger](/swagger.html)
[V2 Data Dictionary](/data-dictionary-v2)

[Swagger](/swagger)

[Download Release Assets](https://github.com/CMSgov/beneficiary-fhir-data/releases/latest)

0 comments on commit 683b8e0

Please sign in to comment.