Skip to content

Commit

Permalink
Merge pull request #427 from ncihtan/htan-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjtaylor authored Jun 14, 2024
2 parents 248850c + 7a61fbc commit 9c1b8cb
Show file tree
Hide file tree
Showing 54 changed files with 15,380 additions and 2 deletions.
15 changes: 15 additions & 0 deletions docs/assets/custom.css
Original file line number Diff line number Diff line change
@@ -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 */
}
File renamed without changes.
12 changes: 10 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -43,16 +44,23 @@ theme:
- search.suggest
- toc.follow

# Custom CSS
extra_css:
- assets/custom.css

# Plugins
plugins:
- search
- table-reader:
data_path: "modules"
select_readers:
- read_csv

# Markdown Extensions
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- toc:
permalink: true
permalink: true

Loading

0 comments on commit 9c1b8cb

Please sign in to comment.