Skip to content

Releases: jaywhj/mkdocs-document-dates

v3.7.0

03 Mar 05:58

Choose a tag to compare

en

  • Starting from version 3.7.0:
    • Removed automatic installation of Git hooks and changed to optional manual installation by users
    • Changed the Git hooks installation path from global to the local repository. For details, see Cache Creation Date
    • Provided wheel distribution packages
  • Fixed compatibility issues with the date cache hook, allowing it to work perfectly on any client that supports Git hooks
  • Updated the template variable names for date access. For details, see Template Variables

zh

  • 3.7.0 版本起:
    • 移除了 Git hooks 的自动安装方式,调整为用户手动选配安装
    • Git hooks 安装路径由全局调整为局部仓库,相关说明见 缓存创建日期
    • 提供了 wheel 格式安装包
  • 修复了日期缓存钩子的兼容性,可在任意支持 Git hooks 的客户端中完美使用
  • 更新了日期访问的模板变量名,具体见 使用模板变量

v3.6.1

12 Feb 15:09

Choose a tag to compare

en

  • File exclusion pattern support unix shell-style wildcards, such as * , ? , [] etc
  • Add hover effects for cover
  • Optimize the style of recently updated list

zh

  • 文件排除模式支持 unix shell 风格的通配符,如 * , ? , []
  • 为封面添加悬停效果
  • 优化最近更新列表的样式

v3.6.0

24 Jan 15:48

Choose a tag to compare

en

  • New: The article list supports the summary mode and automatically extracts article summaries
  • New: Support for customizing article cover in Front Matter
  • New: Reconstructed the UI layout of the recently updated document list; added multiple view modes including list, detail and grid, which support dynamic switching

For more details, see doc: https://jaywhj.github.io/mkdocs-materialx/setup/adding-recent-updates-module/

zh

  • 新增:文章列表支持摘要模式,自动提取文章摘要
  • 新增:支持在 Front Matter 中自定义文章封面
  • 新增:重构最近更新的文档列表 UI 布局,新增列表、详情、网格等多种视图模式,可动态切换

recently-updated-en

v3.5.2

26 Dec 06:50

Choose a tag to compare

en

  • New: The plugin’s display structure can be freely configured in the front matter. See Configuration Structure and Style
  • New: Added adaptive dynamic layout for the author list, which displays an optimal layout in real time to enhance user experience
  • New: Enabled horizontal scrolling via mouse wheel for the author list to enhance user experience
  • New: Implemented multi-source dynamic loading for author avatars, which can automatically match users’ network avatars
  • Fixed: Optimized the loading sequence of plugin components to improve performance

zh

  • 新增:可在 front matter 中自由配置插件的显示结构,具体见:配置结构与样式
  • 新增:为作者列表添加自适应动态布局,实时显示合理布局,优化体验
  • 新增:为作者列表启用滚轮横向滚动,优化体验
  • 新增:作者头像采用多源动态加载,能自动匹配用户网络头像
  • 修复:优化插件组件的加载顺序,优化性能

v3.5.1

18 Dec 10:27

Choose a tag to compare

en

  • Redesigned the UI presentation and hierarchical structure of the plugin for better compatibility, rationality, and user-friendliness
  • Redesigned the Git avatar loading mechanism, which automatically fetches user avatars from Gravatar or WeAvatar
  • Updated all sample templates for plugin rendering that can be used to customize the plugin rendering method. See source-file.html
  • Added samples for tooltip z-index control
  • Updated the sample template for loading the recently updated module in the sidebar. See nav.html

zh

  • 重新设计插件的 UI 呈现方式和层级结构,更兼容,更合理,更人性化
  • 重新设计 Git 头像的加载方式,自动从 gravatar 或 weavatar 加载用户头像
  • 更新插件渲染的全部示例模板,可用来定制插件渲染方式,参考 source-file.html
  • 补充 tooltip 层级控制的示例
  • 更新在侧边栏加载最近更新模块的示例模板,参考 nav.html

v3.5

04 Dec 09:28

Choose a tag to compare

en

  • Add configuration items show_created and show_updated to control whether to show dates
  • Add compatibility for recently updated modules, compatible with all kinds of navigation plug-ins, will automatically load the correct title of the document
  • Field update:
    Old field: New field:
    document_dates_modified document_dates_updated
    doc_modified doc_updated
    modified_time updated_time
    modified_field_names updated_field_names

zh

  • 添加配置项 show_createdshow_updated,以控制是否显示日期
  • 为最近更新的模块添加兼容性,兼容各种导航插件,会自动加载正确的文档标题
  • 字段更新:
    旧字段: 新字段:
    document_dates_modified document_dates_updated
    doc_modified doc_updated
    modified_time updated_time
    modified_field_names updated_field_names

v3.4.9

15 Nov 06:49

Choose a tag to compare

en

  • Optimize avatar path configuration to support local file paths
  • Optimize the timing of obtaining values for template variables

zh

  • 优化头像路径配置以支持本地文件路径
  • 优化模板变量的取值时机

v3.4.7

08 Nov 06:23

Choose a tag to compare

en

  • Enhanced author configuration, now you can configure full information for all types of authors to enrich the user experience, such as name, link, avatar, email, etc. See Enhanced-author-configuration for details

zh

  • 增强作者配置,现在你可为所有类型的作者配置完整信息,丰富用户体验,比如姓名、链接、头像、邮箱等。详情见文档 增强作者配置

v3.4.6

01 Nov 06:50

Choose a tag to compare

en

  • Optimize user experience, when the URL avatar fails to load (no network/wrong URL/loading error), it will automatically switch to the character avatar

zh

  • 优化用户体验,URL头像加载失败时(无网/URL错误/加载错误),会自动切换到字符头像

v3.4.5

10 Oct 14:18

Choose a tag to compare

en

  • New: Add the recently updated module anywhere in any md document using a line of code, see the documentation for details
  • New: Git author support aggregation, i.e. different email accounts of the same person can be shown as the same author, see the documentation for details
  • Improved compatibility in Docker containers
  • Optimize the selection logic for the last update time, see the documentation for process (this tweak ensures that the correct timestamp is read even if the file has been rebuilt via git checkout, git clone, etc.)

zh

  • 新增:在任意文档的任意位置使用一行代码添加最近更新模块,详情见文档
  • 新增:Git 作者支持聚合,即同一个人的不同邮箱账户可显示为同一作者,详情见文档
  • 改进在 Docker 容器中的兼容性
  • 优化了最后更新时间的择取逻辑,流程见文档(这一调整可确保即使文件在通过 git checkout、git clone 等方式重建后,仍能读取正确的时间戳)