package io.github.jakriz.derrick.example;

import io.github.jakriz.derrick.annotation.DerrickInterface;
import io.github.jakriz.derrick.annotation.SourceFrom;

@DerrickInterface(baseUrl = "https://github.com/jakriz/derrick", imports = {"io.github.jakriz.derrick.example.*"})
public interface DocsMethods {

    @SourceFrom(selector = "#user-content-sample-math-wizard-add", addReturn = true)
    int add(MathWizard mathWizard);

}

package io.github.jakriz.derrick.example;

import io.github.jakriz.derrick.annotation.DerrickInterface;
import io.github.jakriz.derrick.annotation.SourceFrom;

@DerrickInterface(baseUrl = "https://github.com/jakriz/derrick", imports = {"io.github.jakriz.derrick.example.*"})
public interface DocsMethods {

    @SourceFrom(selector = "#sample-math-wizard-add", addReturn = true)
    int add(MathWizard mathWizard);

}

--- 
+++ 
@@ -6,7 +6,7 @@
 @DerrickInterface(baseUrl = "https://github.com/jakriz/derrick", imports = {"io.github.jakriz.derrick.example.*"})
 public interface DocsMethods {
 
-    @SourceFrom(selector = "#sample-math-wizard-add", addReturn = true)
+    @SourceFrom(selector = "#user-content-sample-math-wizard-add", addReturn = true)
     int add(MathWizard mathWizard);
 
 }
Change example id to fit github's naming
