Comments (11)
@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.
@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.
@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.
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.
@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.
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.
@Brendonovich Can the tsconfigName
point to tsconfig.json
now? Since that has the refs in it.
from docusaurus-plugin-typedoc-api.
Same issue, works when I specify one package but not both
from docusaurus-plugin-typedoc-api.
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":
While yours does not, which is causing the comparisons to fail:
Let me dig further, but this seems to be on the TypeDoc side.
from docusaurus-plugin-typedoc-api.
Works great now, thanks for all the work you've done to make this plugin!
from docusaurus-plugin-typedoc-api.
No problem!
from docusaurus-plugin-typedoc-api.
Related Issues (20)
- No files are generated HOT 21
- Update Typedoc or make it a peer dependency? HOT 9
- Monorepo with a single package is broken after update to v3.0.1 HOT 4
- Next version of the docs is not rendered with v3.0.1 HOT 3
- Symbols are not rendered as links in versioned API docs in v3.0.1 HOT 1
- Support for Docusaurus v3 HOT 2
- Docusaurus build (production) fails because of ParseError HOT 3
- Weird issue with rendering categories (using `@category` tag) HOT 3
- `VersionBanner` "cannot read properties of undefined"
- Link to latest stable version is broken when there is only one package HOT 3
- Allow ordering entry points within a package HOT 2
- Rendering readmes breaks with Docusaurus 2.2.0 HOT 7
- Polyrepo mode fails when `readmes` or `changelogs` are enabled
- setup for `monorepo` but only one package API HOT 1
- Integration with `typedoc-plugin-missing-exports` HOT 1
- External symbols, `@inheritDoc` and class extension HOT 2
- [WARNING] {"moduleIdentifier":.....} imported as mdx was not found in @mdx-js/react HOT 1
- Latest versions of the plugin report several `Entry point already defined` errors
- Can't auto-generate docs using the package HOT 6
- Support for TypeScript 5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docusaurus-plugin-typedoc-api.