Giter VIP home page Giter VIP logo

Comments (5)

olafurpg avatar olafurpg commented on August 27, 2024

I just checked which files are used to build the site and it seems the test sources are not there

metadoc.cli.MetadocCli.getSymbols:73 db.documents.map(_.input.syntax): List(
  "paiges/core/src/main/scala/org/typelevel/paiges/Chunk.scala",
  "paiges/core/src/main/scala/org/typelevel/paiges/Doc.scala",
  "paiges/core/src/main/scala/org/typelevel/paiges/Document.scala",
  "paiges/core/src/main/scala/org/typelevel/paiges/package.scala",
  "paiges/core/src/test/scala/org/typelevel/paiges/DocumentTests.scala",
  "paiges/core/src/test/scala/org/typelevel/paiges/Generators.scala",
  "paiges/core/src/test/scala/org/typelevel/paiges/JsonTest.scala",
  "paiges/core/src/test/scala/org/typelevel/paiges/PaigesTest.scala"
)

I'm gonna refactor the cli to

  • improve testing #60
  • improve performance #52
    I can try to fix this along the way.

from metabrowse.

jonas avatar jonas commented on August 27, 2024

Great. I hope we can also figure out a way to use the sbt plugin code to replace or implement the metadoc-site command.

from metabrowse.

olafurpg avatar olafurpg commented on August 27, 2024

It seems the symbol is resolved but to a 404, I suspect that the resolved symbol is the case class apply which is not present in the source file. Should be fixable.

from metabrowse.

olafurpg avatar olafurpg commented on August 27, 2024

No wait, it seems the problem is cause by the fact that JArray(...) references the synthetic companion object/term and case class JArray references the JArray type. This are two different symbols, we can fallback to a "normalized" match if the exact match doesn't work like I sometimes do in scalafix, that should solve it.

from metabrowse.

olafurpg avatar olafurpg commented on August 27, 2024

Fixed in #75

from metabrowse.

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.