-
Notifications
You must be signed in to change notification settings - Fork 16
Grids, Tabs, and Macros #1104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Grids, Tabs, and Macros #1104
Conversation
| - account/index.md | ||
| - Research Computing System (RCS): | ||
| - account/rcs/index.md | ||
| - Create: account/rcs/create.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that clicking “Create” hides the menu, but the “Status” menu works correctly. Is this the intended behavior?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested and can reprodudce. I have no explanation for why that happens, and we won't be getting any support to fix it as the mkdocs-material theme repository is in maintenance mode awaiting the release of Zensical.
This does NOT happen for the very next nav heading for Code.rc. My first guess is it's related to the fact that there are two lines on my browser. Or it could be a CSS-related issue, somehow.
For now we're going to have to live with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tested other nav headings to see if they behave this way, and I found that the "Create" heading behaves like this because the account/rcs/create.md is referenced twice in the nav under mkdocs.yml.
Pull Request
Intent
A demonstration of what grids and grid cards, content tabs, and macros are capable of. The goal of this set of changes is to simplify our documentation's presentation and reduce the cognitive load of readers, while important making content easier to discover.
Proposed Changes
index.mdres/announcements.ymlhelp/support.mdaccount_managementsection of the documentationaccountfor shorter URLsmkdocs-macrospluginmkdocs-table-reader-pluginfor compatibility withmkdocs-macrosbuild_env.ymlfor compatibility fixes/docs/_macro/(using jinja2)/macros/(grid card engine using YAML data)_templatedirectories with jinja2 templates supporting the documentation in the same directoryresto_resfor better visibilityimagesto_imgfor better visibility{% raw %}blocks where necessary to avoid unexpected jinja2 template interpretationres/grid_cards.ymlChanges to Section Headers
There are many, we will need to carefully review the changes.
Changes to Page URLs
There are many, we will need to carefully review the changes.
Related or Fixed Issues
Related to #858, #1094, #1095,
Accessibility Checklist
I have ensured all of the following for new or changed content:
Style Checklist
I have done all of the following:
mkdocs.ymlfor any moved headers or pages.