Issue providing multiple custom sections
addshore opened this issue · comments
addshore commented
Up until now I have used a single custom-section
slot.
I just tried the following to add a second custom nav entry and custom slot
<div slot="nav-section" className = {styles.customSectionBar}>Rate limits</div>
<div slot="custom-section" className = {styles.customSection}>
<OApiRateLimits/>
</div>
<div slot="nav-section" className = {styles.customSectionBar}>Filtering</div>
<div slot="custom-section" className = {styles.customSection}>
<OApiFiltering/>
</div>
However this only generates a single new page with the content of both sections combined.
It does however generate two sidebar entries.
I figure my expectation would either be:
- This is how multiple parts of extra content appear, however this is inconsistent with the "Authentication" appearance alongside other custom content on another page. I'd also then expect the sidebar links to take you to the correct place in the content
- Multiple custom sections appear on multiple separate pages.
Warren Parad commented
Fixed in 2.1.624