Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] NamespaceLayout behavior change #10424

Open
CypherPotato opened this issue Nov 25, 2024 · 1 comment
Open

[Bug] NamespaceLayout behavior change #10424

CypherPotato opened this issue Nov 25, 2024 · 1 comment
Labels
bug A bug to fix

Comments

@CypherPotato
Copy link

CypherPotato commented Nov 25, 2024

Describe the bug
Apparently the compiler no longer respects the namespaceLayout property after version 2.78.1. After upgrading from version 2.76.0 -> 2.78.1, the API TOC generation changed its layout. No changes were made to docfx.json.

Expected behavior
It was expected to remain the same as before.

Old layout (0.76.0):

Image

New layout (0.78.1):

Image

Context (please complete the following information):

  • OS: Windows
  • Docfx version: 0.78.1

Used docfx.json: https://github.com/sisk-http/docs/blob/master/docfx.json

@CypherPotato CypherPotato added the bug A bug to fix label Nov 25, 2024
@filzrev
Copy link
Contributor

filzrev commented Nov 27, 2024

It seems TOC structure for mref output format is changed by #10090.

This PR add type attribute to TOC view model.
And docfx template grouping toc nodes based on type categories. (Insert Namespaces/ Classes node)
(It's transformed only when "memberLayout": "separatePages" option is used.)

Currently there is no option to control these behaviors.
It might be better to add options to change behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug to fix
Projects
None yet
Development

No branches or pull requests

2 participants