Code Monkey home page Code Monkey logo

Comments (11)

milesj avatar milesj commented on May 18, 2024 1

@Brendonovich I tried lot's of settings but nothing worked, so I went ahead and did this: 88b29b5

This worked on your repo. Just update the dep and use tsconfig.json instead of tsconfig.docs.json.

from docusaurus-plugin-typedoc-api.

milesj avatar milesj commented on May 18, 2024

@Brendonovich I'm like 90% positive that you'll need to use TS project references for this to work correctly for monorepos/multiple packages.

But I'll clone it out and take a look.

from docusaurus-plugin-typedoc-api.

Brendonovich avatar Brendonovich commented on May 18, 2024

@milesj Oh interesting, can't say I'm familiar with TS project references but I'll check it out. Thanks for the heads up!

from docusaurus-plugin-typedoc-api.

Brendonovich avatar Brendonovich commented on May 18, 2024

I've spent some time integrating beemo and packemon & using TS project references like in boost, but it's still not working. Not sure what's going on.

from docusaurus-plugin-typedoc-api.

milesj avatar milesj commented on May 18, 2024

@Brendonovich
Well Beemo/Packemon aren't necessary for this. However, looking at your commit, the code is still not correct, since tsconfig.docs.json isnt setup to use project refs, and thats what docusaurus is referencing.

from docusaurus-plugin-typedoc-api.

Brendonovich avatar Brendonovich commented on May 18, 2024

I considered switching to Beemo before since GiraphQL uses it, but only did it now since I'm trying to make my repo similar to Boost's. I'm not quite sure how I would make tsconfig.docs.json use project refs, since its essentially identical to Boost's one, with the packages included rather than referenced. Adding the two packages to tsconfg.docs.json as references also doesn't fix it. I'm probably missing something crucial, but this seems quite weird

from docusaurus-plugin-typedoc-api.

milesj avatar milesj commented on May 18, 2024

@Brendonovich Can the tsconfigName point to tsconfig.json now? Since that has the refs in it.

from docusaurus-plugin-typedoc-api.

Brendonovich avatar Brendonovich commented on May 18, 2024

Same issue, works when I specify one package but not both

from docusaurus-plugin-typedoc-api.

milesj avatar milesj commented on May 18, 2024

Ok I know why it's not working, but I'm not sure of the cause. The problem is the "sources" path is different for your builds compared to mine. For example, mine includes "packages":

Screen Shot 2021-11-05 at 1 17 31 PM

While yours does not, which is causing the comparisons to fail:

Screen Shot 2021-11-05 at 1 17 38 PM

Let me dig further, but this seems to be on the TypeDoc side.

from docusaurus-plugin-typedoc-api.

Brendonovich avatar Brendonovich commented on May 18, 2024

Works great now, thanks for all the work you've done to make this plugin!

from docusaurus-plugin-typedoc-api.

milesj avatar milesj commented on May 18, 2024

No problem!

from docusaurus-plugin-typedoc-api.

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.