Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Overview of the issue

There are no Components / Directives / Pipes in the main menu, right below the Modules menu item.
If I open Modules, there are all the Modules and within every module, there is a menu item with Components and Directives and Pipes.
Is this normal behaviour? I would like to see all Components and Directives and Pipes independently of the Module they belong to.

image

The project is a library, with multiple modules, entry points, and uses ng-packgr

I was expecting this (notice Components and Directives menus)

image

Operating System, Node.js, npm, compodoc version(s)

Win10, nodejs 14, compodoc 1.1.11

Angular configuration, a package.json file in the root folder

package.json is standard angular 10.x package.json generated by angular-cli

Compodoc installed globally or locally ?

Locally

If possible sourcecode of the file where it breaks

No break

If possible your terminal logs before the error

No errors, and this info is OK. It's more of a displaying issue I guess.

image

Motivation for or Use Case

I cannot see a comprehensive list of all Components, Directives, Pipes of the library.
I have to go through "Modules", which is visually a mess.
I would prefer not to see any Components / Directives submenus on Modules.

Reproduce the error
Related issues
Suggest a Fix
You must be logged in to vote

Replies: 2 comments

Comment options

Any updates regarding this? I have the same problem in a ecosystem of Angular11, nodejs 12.13 and compodoc installed globaly

You must be logged in to vote
0 replies
Comment options

Hi @jllodra
the default behavior of compodoc is to display components inside their parent module. I convert this issue in a new discussion, and if there is many votes, i will try to add a flag for disabling this default behavior.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1028 on April 18, 2021 16:27.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.