docs.gradle.org: permalink to actual version

Adds a permalink for Gradle documentation pages (including /current/) to the exact version to help create better links to docs.gradle.org

目前為 2023-09-09 提交的版本,檢視 最新版本

作者
andrybak
評價
0 0 0
版本
3
建立日期
2023-05-11
更新日期
2023-09-09
尺寸
3.7 KB
授權條款
MIT
腳本執行於

Search engines often link to https://docs.gradle.org/current/. Such links can easily become outdated if documentation files or sections are renamed.

This user script adds a convenient permanent link at the top of the page to an exact version of Gradle docs to help create better links to https://docs.gradle.org that won't become outdated.

The script works on userguide pages:

Screenshot of the user script in action on userguide page "Command Line Interface"

on DSL reference pages:

Screenshot of the user script in action on DSL reference page "org.gradle.api.invocation.Gradle.html"

and on Javadoc pages:

Screenshot of the user script in action on Javadoc page about interface "org.gradle.api.invocation.Gradle"