mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 00:27:21 +02:00
fix(v2): fix warning and improve styling inline TOC (#4163)
This commit is contained in:
parent
3f6e04380f
commit
d25e0f4d0f
2 changed files with 5 additions and 5 deletions
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
.tableOfContentsInline ul {
|
.tableOfContentsInline ul {
|
||||||
list-style-type: disc;
|
list-style-type: disc;
|
||||||
}
|
font-size: initial;
|
||||||
|
padding-top: 0;
|
||||||
.table-of-contents__link--inline {
|
|
||||||
color: var(--ifm-toc-link-color);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,9 @@ You should not have to write your `docusaurus.config.js` from scratch even if yo
|
||||||
|
|
||||||
However, it can be helpful if you have a high-level understanding of how the configurations are designed and implemented.
|
However, it can be helpful if you have a high-level understanding of how the configurations are designed and implemented.
|
||||||
|
|
||||||
The high-level overview of Docusaurus configuration can be categorized into: <TOCInline toc={toc[0].children} />
|
The high-level overview of Docusaurus configuration can be categorized into:
|
||||||
|
|
||||||
|
<TOCInline toc={toc[0].children} />
|
||||||
|
|
||||||
For exact reference to each of the configurable fields, you may refer to [**`docusaurus.config.js` API reference**](api/docusaurus.config.js.md).
|
For exact reference to each of the configurable fields, you may refer to [**`docusaurus.config.js` API reference**](api/docusaurus.config.js.md).
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue