Giter Site home page Giter Site logo

Comments (5)

alerosmile avatar alerosmile commented on July 4, 2024 1

@scordio You are right. Many other projects do not follow the convention, but none of them has broken my build so far.

In other projects, the Maven plugin detects the 'invalid' links and doesn't forward them to the javadoc tool. Maybe the Maven plugin should interpret the # character the same way the javadoc plugin does.

Currently, my workaround seems to be the way to go.

from assertj.

alerosmile avatar alerosmile commented on July 4, 2024 1

You have to use <dependencyLinks> if <detectLinks> is enabled.

The <links> option just adds additional links.

from assertj.

scordio avatar scordio commented on July 4, 2024

Maybe the project URL of assertj-core should be https://www.javadoc.io/doc/org.assertj/assertj-core/${assertj.version} instead of https://assertj.github.io/doc/#assertj-core. But then the javadoc must be located under https://www.javadoc.io/doc/org.assertj/assertj-core/${assertj.version}/apidocs.

I wouldn't point the project URL to javadoc.io. However, I see the problem.

We might deploy the Javadoc following the {project.url}/apidocs convention, where project.url would still belong to assertj.github.io.

However, I checked how some other projects behave and none of them seems to follow the Maven convention:

from assertj.

scordio avatar scordio commented on July 4, 2024

We will rework our docs to support v3 and v4 in parallel (and maybe relocate them somewhere else in our GitHub org) so I'm leaving this open for further thoughts.

from assertj.

scordio avatar scordio commented on July 4, 2024

Just FYI, we use a slightly shorter config in assertj-guava:

<links>
<link>https://javadoc.io/doc/com.google.guava/guava/${guava.version}</link>
<link>https://javadoc.io/doc/org.assertj/assertj-core/${project.version}</link>
</links>

And I just realized we have a cosmetic bug 🙂 (#3478)

from assertj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.