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

Multiple Content Files #659

Closed
gandhiamarnadh opened this issue Oct 31, 2017 · 3 comments
Closed

Multiple Content Files #659

gandhiamarnadh opened this issue Oct 31, 2017 · 3 comments

Comments

@gandhiamarnadh
Copy link

We want to show an additional custom view (that gives the stat of selected lib component usage) along with our library components. The information for this custom view is from another service.

So, before changing all the component read.md files to include this custom view, I want to check is it possible to add second content file path for components in config or any other way to achieve this?

@sapegin
Copy link
Member

sapegin commented Nov 6, 2017

If I understand you correctly you want to have multiple “readme” files for each component?

It’s not possible now but maybe a good idea for a pull request: add a way to return a content of the documentation instead of a file path. Have a look at #621 too.

@gandhiamarnadh
Copy link
Author

gandhiamarnadh commented Nov 6, 2017

I've addressed my problem with editing all readme.md files now..
It would be great to add a new generic wrapper (over readme.md content with custom props dependent on component name ) like StyleGuideRenderer and Wrapper (over example react components).

@sapegin
Copy link
Member

sapegin commented Nov 7, 2017

Cool, feel free to help with #621 anyway ;-)

@sapegin sapegin closed this as completed Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants