Comments (8)
One other alternative might be to allow multiple NgDocApi definitions, each with its own set of scopes. Then we could choose which ones are grouped together.
from ng-doc.
I was thinking about displaying scopes as pages, inside the API category, and that's why I didn't do it:
A user who is not familiar with the scopes of your project will most likely prefer to see a list of all entities and search among the entire list by name or by type, and if there are matches in several scopes, he will choose the entity that is necessary based on the context.
So I think to make this logic work better I need to add a filter for scopes, as you suggested, and of course, fix the order
property. Correct me if I missed something.
from ng-doc.
That makes sense. Separate pages are only useful if the API scopes have some meaning to the user, and that probably depends on how the project is organized. I think you're right that searching across all scopes is probably the more common use case.
from ng-doc.
That's a good proposal, to be honest, I don't remember exactly why I banned the creation of multiple NgDocApi
configurations, but it would be a good compromise!
from ng-doc.
🎉 This issue has been resolved in version 15.6.0 🎉
The release is available on:
v15.6.0
- GitHub release
Your semantic-release bot 📦🚀
from ng-doc.
🎉 This issue has been resolved in version 15.0.0-beta.34 🎉
The release is available on:
v15.0.0-beta.34
- GitHub release
Your semantic-release bot 📦🚀
from ng-doc.
@semicolin Hey, I've released 15.11.0
version now you can create multiple NgDocApi definitions if you still need them :)
from ng-doc.
Thanks, I'll check it out
from ng-doc.
Related Issues (20)
- [Bug] Import of prettier plugin HOT 6
- [Feature] Better automatic recognition of input signals for playground HOT 4
- [Bug] Playground 'recreate' doesn't seem to be working HOT 4
- [Docs] Language bug and information about input signals HOT 1
- [Feature] Preview for SCSS if it is defined via styleUrl property HOT 2
- [Feature] Category and Page combined HOT 5
- [Feature] Display method overloads HOT 1
- [Bug] Playground Feature Not Working HOT 2
- Amazing Work HOT 1
- [Feature] Use Relative Import Path in Generated Code HOT 3
- [Bug] `@ng-doc/builder:dev-server` Schema Validation Error When the `ngDoc` Propertiy is Provided HOT 15
- [Feature] Support `.js` Version of Ng Doc Configuration File HOT 4
- [Feature] Use Dark Theme by Default HOT 7
- [Docs] Update ng-doc path in docs HOT 2
- [Feature] Remove Google Fonts HOT 4
- [Bug] ng-doc.routing.ts incorrect generated import HOT 5
- [Bug] input aliasing decorator selector not rendered correctly HOT 4
- [Feature] Support template variables for inputs HOT 11
- [Bug] hidden: true in NgDocPage-Config does not avoid displaying a component in the navigation. HOT 7
- [Bug] Table of contents link does not work properly with basehref HOT 4
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.