Home

Awesome

Gradle Mkdocs plugin

License CI Appveyor build status codecov

DOCUMENTATION https://xvik.github.io/gradle-mkdocs-plugin/

About

Generates project documentation with Mkdocs python tool.

Ideal for open source projects:

Summary

NOTE: plugin is based on use-python plugin see python-specific tasks there.

Setup

Maven Central Gradle Plugin Portal

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'ru.vyarus:gradle-mkdocs-plugin:4.0.1'
    }
}
apply plugin: 'ru.vyarus.mkdocs'

OR

plugins {
    id 'ru.vyarus.mkdocs' version '4.0.1'
}

Lightweight setup

There is also a lightweight plugin version without publication tasks:

plugins {
    id 'ru.vyarus.mkdocs-build' version '4.0.1'
}

Lightweight plugin is suitable if you don't need git publication and don't want extra tasks to appear.

Compatibility

Plugin compiled for java 8, compatible with java 11.

GradleVersion
7.04.0.1
5.33.0.0
5-5.22.3.0
4.x1.1.0

Requires installed python 3.8 and above with pip.

Check and install python if required.

Snapshots

<details> <summary>Snapshots may be used through JitPack</summary> </details>

Usage

Read documentation

Might also like


gradle plugin generator