mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Merge pull request #673 from oceanprotocol/feature/read-the-docs
Improvement: Fix alignment in read-the-docs section
This commit is contained in:
commit
604b1bb0ac
8
.codeclimate.yml
Normal file
8
.codeclimate.yml
Normal file
@ -0,0 +1,8 @@
|
||||
version: '2' # required to adjust maintainability checks
|
||||
checks:
|
||||
method-complexity:
|
||||
config:
|
||||
threshold: 7
|
||||
method-lines:
|
||||
config:
|
||||
threshold: 100
|
@ -59,12 +59,12 @@ export default function MarkdownList({ data, location, pageContext }) {
|
||||
|
||||
const keys = Object.keys(nestedModules).sort()
|
||||
const children = []
|
||||
|
||||
children.push(
|
||||
<li key={title}>
|
||||
<b>{title}</b>
|
||||
</li>
|
||||
)
|
||||
if (title)
|
||||
children.push(
|
||||
<li key={title}>
|
||||
<b style={{ paddingLeft: '1rem', fontSize: '12.75px' }}>{title}</b>
|
||||
</li>
|
||||
)
|
||||
|
||||
keys.forEach((element) => {
|
||||
children.push(
|
||||
|
Loading…
Reference in New Issue
Block a user