Skip to content

Commit d841ad1

Browse files
committed
🐛 fix wrong path
1 parent 292f4a9 commit d841ad1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

blog/basic/2025-06-17-python-code-formatting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ This guide shows you how to automatically format your Python code using **Black*
1212
* **Black**: An opinionated Python code formatter that auto-formats your code to follow PEP 8 style (so you can stop arguing about whitespace with your teammates).
1313
* **isort**: Automatically sorts and organizes your imports into neat, logical sections.
1414

15+
<!-- truncate -->
16+
1517
> ⚠️ **Heads up**: Black and isort can sometimes fight over formatting. To avoid this, always configure isort to use Black’s style.
1618
1719
## Installing Black and isort

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const config = {
9797
// position: 'left',
9898
// label: 'Tutorial',
9999
// },
100-
{ to: '/blog', label: 'Blog', position: 'left' },
100+
{ to: '/', label: 'Blog', position: 'left' },
101101
{
102102
href: 'https://github.com/basiclab',
103103
label: 'GitHub',
@@ -113,7 +113,7 @@ const config = {
113113
items: [
114114
{
115115
label: 'Blog',
116-
to: '/blog',
116+
to: '/',
117117
},
118118
],
119119
},

0 commit comments

Comments
 (0)