question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extend docz-default-theme Page component

See original GitHub issue

Is it possible to extend docz-default-theme Page component in an easy way?

For example, some of the documentation pages might have some meta data

PackageA.mdx:

---
name: Textfield
menu: Core
route: /core/textfield
version: 1.1.0
author: Hu Chen
packageName: textfield
link: http://google.com
---

Some content

For these pages, I would like to display a custom React component with these data (a custom Table component) before the content in mdx file as they repeat over and over again.

Can we add support for something like this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

5reactions
weslleyaraujocommented, Feb 1, 2019

exposing the components from docz-default-theme gonna be awesome! 😍

1reaction
huchenmecommented, Oct 2, 2019

@rakannimer what is the reason this issue get closed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change a theme and make it the default in Word or Excel
On the Page Layout tab in Excel or the Design tab in Word, click Colors, and then click Customize Colors. Click the button...
Read more >
How to Create a Custom Theme - Color & Font Template in ...
This Microsoft Word 2016 tutorial shows you how to create a custom themes using custom theme fonts, colors, and effects.
Read more >
Custom Formats - Quarto
Quarto format extensions enable you to add new formats to the built-in formats (e.g. html , pdf , docx ) already available. Custom...
Read more >
Understanding Themes in Microsoft Office (At Last!) - InformIT
Create a new Word document. Type a few line of text in it, and save it in the default Word format (.docx). In...
Read more >
Page Size and Orientation in Word Guide - Windward Studios
Once that is done, be sure again that the size you want is not already set as the default. Step 1. With your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found