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

Implementation of additional MD files #2365

Closed
Voo2 opened this issue Aug 16, 2023 · 4 comments
Closed

Implementation of additional MD files #2365

Voo2 opened this issue Aug 16, 2023 · 4 comments
Labels
duplicate This duplicates another issue enhancement Improved functionality

Comments

@Voo2
Copy link

Voo2 commented Aug 16, 2023

Search Terms

Markdown, additional documentation, include

Problem

I would like to see TypeDoc offers the possibility to include additional MarkDown documents.

Suggested Solution

I find the way Compodoc solves it ideal. There, the files that have the same name as the component, but with the md file extension, are simply included as a separate tab.

Here is an example in an Angular project:

--example.component.ts
--example.component.scss
--example.component.html
--example.component.md

In this example, typedoc would recognise that an md file exists for this component, which should be included. In order to access this document, typedoc then creates a tab on the doc page for the component, with which one can switch to this additional documentation.

Of course, this can also be done in another way, e.g. by simply adding a section to the doc page of the component where the additional page is located.

@Voo2 Voo2 added the enhancement Improved functionality label Aug 16, 2023
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Aug 16, 2023

Duplicate of #247, something I want to do at some point when I have a couple weeks to work on typedoc again

@Gerrit0 Gerrit0 added the duplicate This duplicates another issue label Aug 16, 2023
@Gerrit0 Gerrit0 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2023
@Dayday10
Copy link

Dayday10 commented Aug 19, 2023 via email

@Voo2
Copy link
Author

Voo2 commented Aug 19, 2023

Good question. In #247 it is not apparent to me. Does that mean you no longer want to do this?

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Aug 19, 2023

Inclusion of markdown support documents as a feature in general is tracked by 247, I don't feel the need to track it in multiple issues. The design I have in mind will support both the "here's a folder of docs" and "here's supplemental docs" use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This duplicates another issue enhancement Improved functionality
Projects
None yet
Development

No branches or pull requests

3 participants