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

[Question] How to categorize display of types such as class interface enum in the sidebar #9674

Closed
Ccccraz opened this issue Feb 1, 2024 · 2 comments

Comments

@Ccccraz
Copy link

Ccccraz commented Feb 1, 2024

Hi I use docfx on window and try to use it to generate documentation for my Unity project.

  • docfx: v2.75.2

I want to add the same effect to my api document as in the docfx website example.

image

You can see a nice categorization of class enum here. I want to set the same effect for my documents, how should I do it?

I didn't find the settings in the tutorial, am I missing something?

@filzrev
Copy link
Contributor

filzrev commented Feb 1, 2024

These HTML elements are rendered when using "outputFormat": "apiPage" settings.
(NOTE: It's requires .NET 7 or later)

https:/dotnet/docfx/blob/main/docs/docfx.json#L14

@Ccccraz
Copy link
Author

Ccccraz commented Feb 1, 2024

Thanks for your reply!! It did work after adding "outputFormat": "apiPage", which solved my problem perfectly.

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

No branches or pull requests

2 participants