1
0
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:
Akshay 2021-07-13 11:24:05 +02:00 committed by GitHub
commit 604b1bb0ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 6 deletions

8
.codeclimate.yml Normal file
View File

@ -0,0 +1,8 @@
version: '2' # required to adjust maintainability checks
checks:
method-complexity:
config:
threshold: 7
method-lines:
config:
threshold: 100

View File

@ -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(