Skip to content

Commit

Permalink
fix: Python version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
barjin committed Nov 19, 2024
1 parent 05dcb2c commit c21456f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export default function typedocApiPlugin(
}

actions.setGlobalData({
isPython: !!(options.python || options.pythonOptions),
isPython: !!(options.python || Object.keys(options.pythonOptions).length > 0),
} as GlobalData);

const docs: PropVersionDocs = {};
Expand Down

0 comments on commit c21456f

Please sign in to comment.