Skip to content

Integrate PR #400: Documentation Updates by @angrycuban13 #401

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

Merged
merged 34 commits into from
May 16, 2025

Conversation

jgeron-suhsd
Copy link
Collaborator

This pull request incorporates the significant documentation enhancements originally submitted in #400 by @angrycuban13.

This new PR was created to ensure all repository CI checks (Build Module, Test Module) run correctly against the proposed changes, as there were difficulties triggering these checks on the original PR from the contributor's fork.

Key changes from original PR #400 include:

  • New Screenshots: Added throughout the documentation for better visual guidance.
  • File Reorganization: Documentation files have been restructured for improved navigation and clarity.
  • Dark/Light Mode Toggle: Implemented a theme toggle for user preference.
  • Plugin Integration:
    • mkdocs-awesome-pages (via awesome-nav in mkdocs.yml) for better navigation control.
    • pymdownx.highlight for enhanced code block styling.
    • mkdocs-glightbox for lightbox image viewing.
    • mkdocs-open-in-new-tab to open external links in new tabs.
    • mkdocs-social-plugin for social media cards.

Note on the social plugin:

During local testing on a Windows environment, issues were encountered with the social plugin due to CairoSVG dependencies (no library called "cairo-2" was found). The plugin was temporarily disabled to allow local serving of the documentation and then re-enabled. While the documentation built successfully with the plugin re-enabled, its full functionality (especially image generation for social cards) should be monitored closely on the live site after this merge. Further investigation or platform-specific instructions for CairoSVG might be needed if issues arise.

All credit for the documentation improvements goes to @angrycuban13.

Resolves #400

…ion\module_installation.md` and `pages\initial_configuration\initial_configuration.md`
- use `@media (prefers-color-scheme)` to apply different styles for light and dark modes.
- adjusts background and text colors for better readability in both light and dark modes.
…ganization

- added support for external navigation structure with `.nav.yml`
- added dynamic dark/light mode support using `palette` with `prefers-color-scheme`.
- introduced new plugins:
  - `awesome-nav` for enhanced navigation customization.
  - `glightbox` for advanced image handling with zoom and captions.
  - `open-in-new-tab` to ensure external links open in a new tab.
- expanded Markdown extensions:
  - Added `pymdownx.highlight` with `auto_title` for better code block titles.
- improved organization:
  - grouped sections logically (theme, plugins, extensions, extras).
  - alphabetized plugins and extensions for better readability.
- removed deprecated configurations like `google_analytics`.
- renamed `multiple_configurations.md` to `multi_use_configurations.md`
- split `initial_configuration.md` into individual files for a better configuration flow
- add screenshots for documentation
- all files have been compressed using compresspng.com
- updated documentation links for configuration and installation
- changed directory name from `getting_started` to `configuration`
- added `user_management.md`
- added `license_management.md`
- added `custom_schemas_management.md`
- `README.md` now closely mirrors `index.md`
@jgeron-suhsd jgeron-suhsd requested a review from scrthq as a code owner May 16, 2025 20:39
Copy link

Test Results - ubuntu-latest

    1 files  ±0    260 suites  ±0   7s ⏱️ ±0s
3 036 tests ±0  3 036 ✅ ±0  0 💤 ±0  0 ❌ ±0 
3 037 runs  ±0  3 037 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit eef3c71. ± Comparison against base commit dca468e.

Copy link

Test Results - macos-latest

    1 files  ±0    260 suites  ±0   5s ⏱️ ±0s
3 036 tests ±0  3 036 ✅ ±0  0 💤 ±0  0 ❌ ±0 
3 037 runs  ±0  3 037 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit eef3c71. ± Comparison against base commit dca468e.

Copy link

Test Results - windows-latest

    1 files  ±0    260 suites  ±0   5s ⏱️ ±0s
3 036 tests ±0  3 036 ✅ ±0  0 💤 ±0  0 ❌ ±0 
3 037 runs  ±0  3 037 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit eef3c71. ± Comparison against base commit dca468e.

Copy link
Member

@scrthq scrthq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @angrycuban13 and @jgeron-suhsd !

@jgeron-suhsd jgeron-suhsd merged commit e4bcc72 into main May 16, 2025
8 checks passed
@jgeron-suhsd jgeron-suhsd deleted the feature/pr-400-docs-update branch May 16, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants