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

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
andrybak
일일 설치수
0
총 설치수
6
평점
0 0 0
버전
3
생성
2023-05-11
갱신
2023-09-09
라이선스
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. Please consider leaving feedback if the userscript works or doesn't work for you.

If you like this userscript, you might also like userstyle "docs.gradle.org: More readable class descriptions". This script uses userscript libraries.


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'