Commit Graph

2061 Commits

Author SHA1 Message Date
Cell a228cce083 fix: remove paginate setting and update mainSections comment in hugo.toml 2025-09-16 10:42:17 +08:00
Cell 5d03f558dd fix: support KaTeX and MathJax in home scope 2025-09-15 23:13:32 +08:00
Cell 4abf68bd38 test: add KaTex and MathJax test files for rendering examples 2025-09-15 21:32:40 +08:00
Cell 8cc38f6ca3 fix: update MathJax options to disable menu when explicitly set to false 2025-09-15 21:02:07 +08:00
Cell 81c333ca63 chore(deps-dev): bump auto-changelog-plus from 1.0.0 to 1.1.0 2025-09-13 04:23:36 +08:00
Cell c430a012c0 chore(release): 0.4.0-alpha.1 v0.4.0-alpha.1 2025-09-13 01:55:49 +08:00
Cell 944295052b chore: update release workflow and changelog generation command 2025-09-13 01:53:47 +08:00
Cell 56836eb077 feat: add tabs and tab shortcodes support (#634)
* feat: add tabs and tab shortcodes support

Powered by https://github.com/github/tab-container-element

* fix: adjust tab-container styles for improved layout and responsiveness

- [x] Underline Style (Default)
- [x] Pill Style
- [x] Card Style
- [x] Segment Style

* test: add tabs comprehensive test cases

* style: code optimization

* fix: add tabs support in home scope

* docs: add `<tab-container>` element reference to README files

* feat: enhance tab-container with loading mixin and simplify code

* refactor: update variable references to use root prefix in styles

* docs: add tabs shortcode support to README files

* fix: ensure shortcode is enclosed within a tabs block

* feat: add responsive design for tab-container on smaller screens

* test: remove unnecessary placement attribute for segment tabs

* refactor: remove unused vertical attribute from tabs shortcode

* fix: set default tab type to 'underline' for consistency

* refactor: update tab-button and tab-panel selectors for improved specificity
2025-09-11 22:59:33 +08:00
Cell 210a43eaff docs: reorder description section in pull request template for clarity 2025-09-10 22:38:07 +08:00
Cell da7569b1e7 fix: update mermaid script options to use correct template and production minification 2025-09-08 16:56:34 +08:00
Cell fde7e1cf38 fix: Params configurations case insensitive for mathjax and watermark (#633)
* refactor: set watermark config in template, change the default content to author name or site title

* fix: case insensitive for mathjax options param

* chore: fix typo
2025-09-08 16:28:08 +08:00
Cell f5fb989ad1 docs: use present for copyright range
Add onlyBuiltDependencies to pnpm workspace by the way
2025-09-06 14:42:46 +08:00
Cell f5dd25858d test: add comprehensive tests for Alerts Markdown syntax and Admonition shortcode 2025-09-06 01:21:14 +08:00
Cell f3053330bf chore(deps-dev): replace fixit-releaser with auto-changelog-plus (#631) 2025-09-05 15:47:01 +08:00
dependabot[bot] 1c1ec7e2ed chore(deps): bump actions/checkout from 4 to 5 (#630)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-31 15:11:32 +08:00
Cell d8624386c7 chore: structure refactor, linting, and monorepo setup (#629)
* chore: use monorepo to manage demo, test and other applications and internal packages

* style: add eslint support and lint code

* chore: refactor project structure and add versioning package replace of fixit-releaser

* chore(deps-dev): replace husky with simple-git-hooks

* Potential fix for code scanning alert no. 13: Shell command built from environment values

* chore(deps-dev): update the final fixit-releaser version

* docs: update contributing guidelines for new structure and commands

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-31 15:07:00 +08:00
Cell c923116b9b chore: standardize GitHub templates and add copilot instructions
- Refactor issue templates to English-only format for better international accessibility
- Simplify bug report and feature request templates with clearer structure
- Add standardized pull request template with contribution guidelines
- Disable blank issues and update documentation links in issue config
- Add comprehensive copilot instructions with coding standards and best practices
2025-08-27 15:16:11 +08:00
Cell 0cc7882d22 ci: standardize commit message format for component list updates 2025-08-27 10:54:03 +08:00
Cell 64cc597d17 chore: update homepage URL in package.json 2025-08-25 17:59:45 +08:00
Cell e9366b5ab2 feat: add height transitions for detail content and code block content (#628)
- [interpolate-size](https://developer.mozilla.org/en-US/docs/Web/CSS/interpolate-size)
- [calc-size()](https://developer.mozilla.org/en-US/docs/Web/CSS/calc-size)
2025-08-24 16:08:06 +08:00
Cell c174646bb2 chore(deps): update @hugo-fixit/fixit-releaser to v1.3.2 2025-08-23 16:46:42 +08:00
Cell 0f68046afa docs: update contributing guidelines to follow Conventional Commits 2025-08-23 04:19:55 +08:00
Cell a3d9e474ea 📝 Docs: add build status badges and Gitee stars to README files 2025-08-21 16:27:30 +08:00
Cell afde1ce578 🔒 Fix: resolve on-headers security vulnerability
- Add pnpm overrides to force on-headers >= 1.1.0
- Fix HTTP response header manipulation vulnerability (GHSA-76c9-3jph-rj3q)
- Upgrade on-headers from 1.0.2 to 1.1.0 in dependency chain
2025-08-21 16:11:25 +08:00
Cell 2d581efbc2 Feat: add layout loaders and layout configuration for Mermaid diagrams (#627) 2025-08-21 16:01:27 +08:00
Cell 841eb3d20f 🐛 Fix: add Mermaid support in home scope 2025-08-20 11:37:10 +08:00
Cell d4305d9bb2 Test: add Mermaid diagram test cases and fix configuration missing 2025-08-20 11:01:20 +08:00
Cell 93acf8ea79 🚀 Chore(ci/cd): improve the joint construction and deployment of Demo and Test content
- Demo: https://demo.fixit.lruihao.cn/
- Test: https://demo.fixit.lruihao.cn/test/
2025-08-19 17:40:25 +08:00
Cell cc2ef7bf70 Feat: add enableTranslationMerge parameter for merging missing translations from other languages (#626)
- Add enableTranslationMerge parameter to control translation merging
- Default to false for better performance, especially for single-language sites
- Update comments to reflect the new default behavior
- Implement conditional translation merging in global.html"

- Add enableTranslationMerge parameter to control translation merging
- Default to false for better performance, especially for single-language sites
- Update comments to reflect the new default behavior
- Implement conditional translation merging in global.html"

> [!NOTE]
> This won't create new pages, if you need empty placeholder pages, you might need [shortcode-missing-translation](https://github.com/hugo-fixit/shortcode-missing-translation).
2025-08-19 12:27:14 +08:00
Cell 9c294816bb 📝 Docs: update the security policy document
// ignore-for-release
2025-08-18 18:10:46 +08:00
Cell a459d2dfb8 📝 Docs: fix typo 2025-08-18 15:50:48 +08:00
Cell 57d920244b 🔧 Chore: update CodeQL configuration, add Hugo test build workflow (#625) 2025-08-18 12:51:47 +08:00
Cell c6e31682c3 📝 Docs: update contribution guide, add prerequisites, development workflow and pull request guide 2025-08-18 11:07:52 +08:00
Cell 6297849227 Test: add test cases site 2025-08-18 11:05:47 +08:00
Cell c890f61359 🎉 Feat: add color preview models support (#624)
http://fixit.lruihao.cn/documentation/content-management/markdown-syntax/extended/#color-preview
2025-08-17 18:45:13 +08:00
Cell 014e1fa67c Feat: add page param decreaseH1 to decrease the H1 heading level in content 2025-08-17 15:13:14 +08:00
Cell 77fcd7fa93 ♻️ Refactor: Mermaid theme switching again (#623) 2025-08-17 14:32:51 +08:00
Cell 3c3f6084cc 🐛 Fix: dirty hack for Mermaid loading 2025-08-14 21:29:12 +08:00
Cell e04bb611dc Feat: enhance Mermaid configuration and fix initialization bug (#617)
* 🐛 Fix: Mermaid initialization conflict error

*  Feat: enhance Mermaid configuration with security level, look, and font family options
2025-08-14 15:29:23 +08:00
Cell ba6cc4ed8e 🚚 Feat(i): rename load-mathjax.js to mathjax.js 2025-08-14 09:53:09 +08:00
Cell 08d3c62b31 🐛 Fix: ZenUML intersection height error 2025-08-13 17:53:55 +08:00
Cell 7b9c3e62c7 Feat: add diagram copy button support for Mermaid and ECharts (#616) 2025-08-13 17:14:52 +08:00
Cell 590b8f47b2 💄 Style: add lazy loading background for images 2025-08-13 15:15:32 +08:00
Cell 311501ad6e 💄 Style: add Mermaid loading style 2025-08-13 14:06:47 +08:00
Cell 59bea1e518 ♻️ Refactor: update CSS variable prefixes to use rootPrefix for consistency 2025-08-13 12:58:59 +08:00
Cell fe034a2a40 🔧 Chore(i): Mermaid ZenUML is not enabled by default 2025-08-13 10:20:23 +08:00
Cell bf3fe68378 ♻️ Refactor: improve Mermaid initialize (#615) 2025-08-12 18:06:02 +08:00
Cell b27a3098ac Perf: enhance forEach method in Util class to handle asynchronous handlers 2025-08-12 17:48:52 +08:00
Cell 45f101a456 ♻️ Refactor: update layout and media styles to use fi-container class, improve Mermaid script handling (#614)
docs: https://fixit.lruihao.cn/documentation/content-management/diagrams-support/mermaid/#cdn
2025-08-12 12:04:15 +08:00
Cell a37eeecd79 💄 Style: add bold style in admonition title 2025-08-12 11:20:12 +08:00