-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
customizationdocumentationImprovements or additions to documentationImprovements or additions to documentationgoogle-tag-managerminorui/ux
Description
π¨ Customization Overview
We need to customize the MkDocs theme to match the existing website's look and feel, including the integration of Google Tag Manager (GTM) through a theme structure override.
β¨ Goals
- Align Styles: Match the typography, colors, and spacing of the current site (https://httpdss.github.io/struct/).
- Theme Override: Use MkDocs's customization capabilities to apply advanced styling and feature configurations.
- GTM Integration: Include Google Tag Manager code in the theme to manage tracking and analytics.
π― Customization Tasks
-
Colors and Typography
- Align MkDocs colors with the website's custom CSS properties defined in
site/css/main.css - Use the same typography, including fonts and font sizes
- Adhere to overall styling, including backgrounds, borders, and spacings
- Dark mode should be the default mode
- Align MkDocs colors with the website's custom CSS properties defined in
-
Layout Adjustments
- Ensure consistency in layout structure and navigation bar styling
- Implement hero sections, feature grids, and other UI elements
-
Feature Enhancements
- Include sticky navigation, search enhancements, and responsive design improvements
-
Google Tag Manager Inclusion
- Add GTM script tag with ID
GTM-M4X52F2Dto MkDocs HTML using theme override - Ensure no-script method is included for users with JavaScript disabled
- Add GTM script tag with ID
π Expected Outcomes
- The MkDocs-generated documentation should visually match the existing site
- Integrated GTM provides tracking capabilities across the documentation
- Enhanced user experience through consistent styling and layout
- Maintain responsiveness and accessibility across devices
π οΈ Instructions
- Utilize the MkDocs Material themeβs [customization options] (e.g., overriding theme.css)
- Explore MkDocs hooks and plugin configurations for GTM integration
π Resource and Reference
This task provides an opportunity to improve the cohesiveness of the STRUCT project site and its associated documents.
Please prioritize this issue to ensure our documentation is visually coherent with our main site branding and CTAs.
Metadata
Metadata
Assignees
Labels
customizationdocumentationImprovements or additions to documentationImprovements or additions to documentationgoogle-tag-managerminorui/ux