diff --git a/docs/assets/custom.css b/docs/assets/custom.css new file mode 100644 index 00000000..a8643b5f --- /dev/null +++ b/docs/assets/custom.css @@ -0,0 +1,15 @@ +/* Ensure tables fit within the viewport without scrolling */ +table { + width: 100%; + table-layout: fixed; /* Forces the table to take up the full width */ + overflow-x: auto; /* Enable horizontal scrolling only when necessary */ + border-collapse: collapse; /* Ensures no spaces between table cells */ + margin-bottom: 20px; /* Optional: Adds space below the table */ +} + +th, td { + word-break: break-word; /* Allows long words to break and wrap */ + padding: 8px; /* Adjust padding as needed */ + text-align: left; /* Adjust text alignment as needed */ + border: 1px solid #ddd; /* Optional: Adds borders to cells */ +} \ No newline at end of file diff --git a/docs/home.md b/docs/index.md similarity index 100% rename from docs/home.md rename to docs/index.md diff --git a/mkdocs.yml b/mkdocs.yml index 09fe9ac7..bbbcfbb9 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,13 +2,14 @@ site_name: "HTAN Data Model Dictionary" site_description: > Versioned history of the HTAN data model. + # Repository repo_url: https://github.com/ncihtan/data-models repo_name: data-models # Navigation nav: - - Home: home.md + - Home: index.md - Dictionary: - Dictionary: dictionary.md @@ -43,6 +44,11 @@ theme: - search.suggest - toc.follow +# Custom CSS +extra_css: + - assets/custom.css + +# Plugins plugins: - search - table-reader: @@ -50,9 +56,11 @@ plugins: select_readers: - read_csv +# Markdown Extensions markdown_extensions: - admonition - pymdownx.details - pymdownx.superfences - toc: - permalink: true \ No newline at end of file + permalink: true + diff --git a/site/404.html b/site/404.html new file mode 100644 index 00000000..0af0105c --- /dev/null +++ b/site/404.html @@ -0,0 +1,463 @@ + + + +
+ + + + + + + + + + + + + + + + +{"use strict";/*!
+ * escape-html
+ * Copyright(c) 2012-2013 TJ Holowaychuk
+ * Copyright(c) 2015 Andreas Lubbe
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
+ * MIT Licensed
+ */var Va=/["'&<>]/;qn.exports=za;function za(e){var t=""+e,r=Va.exec(t);if(!r)return t;var o,n="",i=0,a=0;for(i=r.index;i