Comments (6)
Thank you very much, it looks like it's working!
Also thanks for the explanation, I was wondering what does the ngdoc need prettier for. When I wasn't able to do anything about the error, I was wondering if it was possible to force ngdoc to ignore prettier or use another config file where I could just omit the problematic plugin. But I couldn't manage to do either, so I finally asked for help here.
As for the versions, as I wrote earlier, we're working on a brand new project, so we're using the latest versions of basically everything. Because of this, I also ran into some complications with ngdoc regarding InputSignals. I'll probably create a new ticket for that. 🙂
from ng-doc.
Hi, thanks for the ticket, could you also provide a prettier version? I'll check it
from ng-doc.
Sure, it is 3.2.5. I suppose the others won't help you, but here's a list of everything prettier related from our package.json:
"prettier": "^3.2.5",
"prettier-plugin-brace-style": "^0.5.0",
"prettier-eslint": "^16.1.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
from ng-doc.
Thanks, it's probably the version of prettier, ngdoc uses 2.x.x, and I think that's the problem, I'll fix it tomorrow, thanks again!
Just FYI: prettier is the dependency of ngdoc, because ngdoc uses prettier under the hood to format all code examples based on your prettier config.
from ng-doc.
should be fixed now, pls let me know if you still have this problem
from ng-doc.
🎉 This issue has been resolved in version 17.5.3 🎉
The release is available on:
v17.5.3
- GitHub release
Your semantic-release bot 📦🚀
from ng-doc.
Related Issues (20)
- [Feature] Add possibility to provide custom properties for custom sidebar HOT 10
- [Query] What is ```twig fence code and what all the markdown fence code supported in Ng Docs? HOT 3
- [Feature] Add tabs for common macros and Angular components to display their usage variations along with previews
- Demo/Demo Pane Crash with "Unexpected end of JSON input" [Bug] HOT 5
- [Bug] Build / serve crash when using Angular 18.1 HOT 9
- [Bug] Anchor seems not working with french accents HOT 3
- [Bug] "Octal escape sequences are not allowed" validation error using generated demo-assets code HOT 1
- [Bug] 17.6.15 Build failed HOT 6
- [Bug] Unable to support anchor href mailto: link
- [Feature] Support for configuring EnvironmentProviders for NgDocCategory
- [Docs] historical documentation HOT 2
- [Bug] Component's '@Input set <property>' is not showed in Playground and is showed in the 'Accessors', not in the 'Properties' of Component's API page HOT 1
- [Bug] JIT compilation failed for injectable [class PlatformNavigation] HOT 2
- [Bug] Missing entries in Sidebar HOT 6
- [Bug] Can't render APIs after upgrade to 18.x HOT 2
- [Bug] Not building with lots of "Could not resolve" errors HOT 7
- `leftContent` input no longer required HOT 2
- [Bug] Two different categories with the same folder name in different folders were incorrectly merged HOT 5
- [Bug] Change Detection Interference in a Page HOT 1
- [Bug] html-minifier vulnerability 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 ng-doc.