FLUID-5697: There should be an easy way for Table of Contents to ignore certain content

Metadata

Source
FLUID-5697
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Jonathan Hung
Created
2015-06-24T10:33:18.690-0400
Updated
2016-07-08T08:47:13.390-0400
Versions
  1. 1.5
Fixed Versions
  1. 1.9
Component
  1. UI Options

Description

There should be an easy way to ignore elements in the markup to prevent it from appearing in the Table of Contents. For example, add a "flc-toc-tocContainer-ignore" class to elements and any headers contained within will be excluded.

Conversely, we may want to consider a way to explicitly include an element if its parent is excluded.

Comments

  • Justin Obara commented 2015-06-24T13:52:27.539-0400

    Submitted a pull request:
    https://github.com/fluid-project/infusion/pull/614

  • Justin Obara commented 2015-06-24T13:56:14.223-0400

    The explicit include has been filed under FLUID-5699

  • Justin Obara commented 2015-07-06T15:23:32.093-0400

    I've updated the documentation on the wiki. I don't think it's been ported to the infusion-docs space yet.
    https://wiki.fluidproject.org/display/docs/Table+of+Contents+API

  • Antranig Basman commented 2015-07-13T11:52:27.360-0400

    Merged into project trunk at revision 5e9413cf34caa5d25bdbaf33c5d9e9581391b6e0 - we should try to move our existing component documentation out of the wiki as soon as we can