Skip to content

Proposal: Allow :include in sidebar #1323

Closed as duplicate
docsifyjs/docsify-cli
#130

Description

@nsainaney

Feature request

We are using TypeDoc to generate documentation for our library. We have created a custom TypeDoc theme that can generate sidebar elements (e.g. list of all the Classes, Interfaces etc. in our library)

We have tried butting the following:

- [My Library](lib/index.md)
    - [toc](lib/toc.md ':include')

But it does not work in the sidebar. Include works in page content

What problem does this feature solve?

Will enable generated content to be rendered in the sidebar

How should this be implemented in your opinion?

Re-use the same code that handles ':include' in page content in the sidebar content

Are you willing to work on this yourself?

Need direction on where the sidebar and page content renderer code is

Activity

  1. sy-records commented on Aug 1, 2020

    @sy-records
    Member

    Maybe auto generate would be better? #1290

  2. trusktr commented on Jan 26, 2022

    @trusktr
    Member

    We have too much difference between sidebar/nav markdown processing, and main processing. I think some features make sense to have in both places (it would be intuitive). We will be cleaning up some code to consolidate markdown processing code paths into one cohesive path. I think at this point we may allow some shared features.

  3. trusktr commented on Feb 2, 2022

    @trusktr
    Member

    @nsainaney keeping open to track it. Please unsubscribe if you'd like to not receive updates.

  4. reopened this on Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions