Skip to content

Commit

Permalink
fix doc gray matter
Browse files Browse the repository at this point in the history
  • Loading branch information
anshgoyalevil committed Oct 19, 2024
1 parent 2fcb7f9 commit 4cd9cfa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions markdown/docs/migration/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Overview"
weight: 1
---
Migration to a new major version is always difficult, and AsyncAPI is no exception, but we want to provide as smooth a transition as possible.

Expand Down
1 change: 1 addition & 0 deletions markdown/docs/migration/migrating-to-v3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Migrating to v3"
weight: 2
---


Expand Down
5 changes: 5 additions & 0 deletions scripts/markdown/check-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ function checkMarkdownFiles(folderPath, validateFunction, relativePath = '') {
const filePath = path.join(folderPath, file);
const relativeFilePath = path.join(relativePath, file);

// Skip the folder 'docs/reference/specification'
if (relativeFilePath.includes('reference/specification')) {
return;
}

fs.stat(filePath, (err, stats) => {
if (err) {
console.error('Error reading file stats:', err);
Expand Down

0 comments on commit 4cd9cfa

Please sign in to comment.