Jjagg / MonoGame-docfx

Documentation of MonoGame ported to docfx. Built from https://github.com/Jjagg/MonoGame/tree/docs-fresh
https://jjagg.github.io/MonoGame-docfx/manual/index.html
0 stars 0 forks source link

Collapsible sections in API reference #3

Open Jjagg opened 6 years ago

Jjagg commented 6 years ago

From @Jjagg on December 11, 2017 16:4

All sections in the API reference should be collapsible.

Copied from original issue: Jjagg/MonoGame#3

Jjagg commented 6 years ago

This is easy to do using Bootstrap's collapse class. However, the position of the buttons is usually were the anchors are currently. We could move the anchors to the right side of the headers, similar to how it is in the MSDN docs: image

Jjagg commented 6 years ago

I don't actually think this is necessary because of the links in the affix.

Jjagg commented 6 years ago

Done for namespaces in Jjagg/MonoGame@8463efa535b3f3cf98a2759fd3fa87423cf32323 Should be easy to do for everything else now :)

EDIT:

I don't actually think this is necessary because of the links in the affix.

I removed the detailed affix links and opted for collapsible sections instead.