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

Generate an outline in the specification #125

Open
gallandarakhneorg opened this issue Jun 14, 2014 · 0 comments
Open

Generate an outline in the specification #125

gallandarakhneorg opened this issue Jun 14, 2014 · 0 comments

Comments

@gallandarakhneorg
Copy link

Consider a long specification with plenty of elements inside:

/* Documentation
 */
describe "something" {
    describe "element_1" {
        ...
    }
    ...
    describe "element_25" {
        ...
    }
}

I suggest to introduce a tag in the documentation that permits to create a kind of outline which is the list of the elements in the spec.

For example, I will be able to write my documentation as:

/* Introductive text.
 *
 * @outline(1)
 *
 * Rest of the documentation.
 */
describe "something" {
   ...
}

The tag "@outline" is generating an HTML list that contains links to the elements of depth 1 (the parameter's value) such as:

  • element_1
  • ...
  • element_25
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

1 participant