From d25e0f4d0f8cb164620e2c98a9867794df2d763c Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 3 Feb 2021 14:11:42 +0300 Subject: [PATCH] fix(v2): fix warning and improve styling inline TOC (#4163) --- .../src/theme/TOCInline/styles.module.css | 6 ++---- website/docs/configuration.md | 4 +++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/TOCInline/styles.module.css b/packages/docusaurus-theme-classic/src/theme/TOCInline/styles.module.css index edb23f5e5a..cc9bc7485e 100644 --- a/packages/docusaurus-theme-classic/src/theme/TOCInline/styles.module.css +++ b/packages/docusaurus-theme-classic/src/theme/TOCInline/styles.module.css @@ -7,8 +7,6 @@ .tableOfContentsInline ul { list-style-type: disc; -} - -.table-of-contents__link--inline { - color: var(--ifm-toc-link-color); + font-size: initial; + padding-top: 0; } diff --git a/website/docs/configuration.md b/website/docs/configuration.md index 6118b876ef..d59769af18 100644 --- a/website/docs/configuration.md +++ b/website/docs/configuration.md @@ -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. -The high-level overview of Docusaurus configuration can be categorized into: +The high-level overview of Docusaurus configuration can be categorized into: + + For exact reference to each of the configurable fields, you may refer to [**`docusaurus.config.js` API reference**](api/docusaurus.config.js.md).