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

Verzia zo dňa 28.07.2023. Pozri najnovšiu verziu.

Autor
andrybak
Hodnotenie
0 0 0
Verzia
2
Vytvorené
11.05.2023
Aktualizované
28.07.2023
Veľkosť
4,2 KB
Licencia
MIT
Spustiť na

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"

长期地址
遇到问题?请前往 GitHub 提 Issues。