Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement MkDocs Plugin #78

Merged
merged 8 commits into from
Feb 7, 2022
Merged

Implement MkDocs Plugin #78

merged 8 commits into from
Feb 7, 2022

Conversation

larsgrefer
Copy link
Member

No description provided.

@larsgrefer larsgrefer self-assigned this Aug 12, 2019
@codecov
Copy link

codecov bot commented Aug 12, 2019

Codecov Report

Merging #78 (a0a700e) into master (7df074f) will decrease coverage by 1.43%.
The diff coverage is 5.79%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #78      +/-   ##
============================================
- Coverage     35.17%   33.74%   -1.44%     
- Complexity      181      183       +2     
============================================
  Files            84       90       +6     
  Lines          2206     2344     +138     
  Branches        208      226      +18     
============================================
+ Hits            776      791      +15     
- Misses         1363     1483     +120     
- Partials         67       70       +3     
Impacted Files Coverage Δ
...o/freefair/gradle/plugins/mkdocs/tasks/MkDocs.java 0.00% <0.00%> (ø)
...efair/gradle/plugins/mkdocs/tasks/MkDocsBuild.java 0.00% <0.00%> (ø)
...ir/gradle/plugins/mkdocs/tasks/MkDocsGhDeploy.java 0.00% <0.00%> (ø)
...reefair/gradle/plugins/mkdocs/tasks/MkDocsNew.java 0.00% <0.00%> (ø)
...efair/gradle/plugins/mkdocs/tasks/MkDocsServe.java 0.00% <0.00%> (ø)
...o/freefair/gradle/plugins/mkdocs/MkDocsPlugin.java 29.62% <29.62%> (ø)
.../freefair/gradle/plugins/git/GitVersionPlugin.java 30.00% <0.00%> (+10.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7df074f...a0a700e. Read the comment docs.


public class MkDocsPlugin implements Plugin<Project> {

@SneakyThrows
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SameNameButDifferent: The name @SneakyThrows refers to [java.lang.Throwable, lombok.Lombok] within this file. It may be confusing to have the same name refer to multiple types. Consider qualifying them for clarity. (details)
(at-me in a reply with help or ignore)

@Override
public void apply(Project project) {

TaskProvider<MkDocsBuild> docsBuildTaskProvider = project.getTasks().register("mkdocs", MkDocsBuild.class, mkDocs -> {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UnusedVariable: The local variable 'docsBuildTaskProvider' is never read. (details)
(at-me in a reply with help or ignore)

@larsgrefer larsgrefer merged commit b0d10df into master Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant